Crate fb2

Source

Structs§

Annotation
A cut-down version of section used in annotations
AnonymousAuthorDetails
Binary
Any binary data that is required for the presentation of this book in base64 format. Currently only images are used.
Body
Main content of the book, multiple bodies are used for additional information, like footnotes, that do not appear in the main book flow (extended from this class). The first body is presented to the reader by default, and content in the other bodies should be accessible by hyperlinks.
Cite
A citation with an optional citation author at the end
Covers
CustomInfo
Any other information about the book/document that didnt fit in the above groups
Date
A human readable date, maybe not exact, with an optional computer readable variant
Description
DocumentInfo
Epigraph
An epigraph
FictionBook
Root element
GenreWithMatch
Genre of this book, with the optional match percentage
Image
An empty element with an image name as an attribute
InlineImage
Link
Generic hyperlinks. Cannot be nested. Footnotes should be implemented by links referring to additional bodies in the same document
LocalizedText
NamedStyle
OutputDocumentClass
Selector for output documents. Defines, which rule to apply to any specific output documents
Paragraph
A basic paragraph, may include simple formatting inside
PartShareInstruction
Pointer to specific document section, explaining how to deal with it
Poem
PublishInfo
Section
A basic block of a book, can contain more child sections or textual content
SectionContent
Sequence
Book sequences
ShareInstruction
In-document instruction for generating output free and payed documents
Stanza
Each poem should have at least one stanza. Stanzas are usually separated with empty lines by user agents.
Style
Stylesheet
Table
Basic html-like tables
TableCell
TableRow
Title
A title, used in sections, poems and body elements
TitleInfo
Book (as a book opposite a document) description
VerboseAuthorDetails

Enums§

AnnotationElement
Author
Information about a single author
CiteElement
DocGenerationInstruction
List of instructions to process sections (allow|deny|require)
EpigraphElement
Genre
HorizontalAlign
Align for table cells
PoemStanza
SectionPart
ShareInstructionElement
ShareMode
Modes for document sharing (free|paid for now)
StyleElement
Markup
StyleLinkElement
Markup
TableCellElement
TitleElement
VerticalAlign
Align for table cells