|DocTheEbook: LrfFormat ...|
A LRF file consists of a header, a number of objects and an object index. All values are in Intel (LSB first) order.
Next two fields are only present if version>=800.
Immediately follows the compressed XML metainfo, of size XMLCompSize. First dword of it is the size of uncompressed data, the rest is zlib compressed unicode XML.
If version>=800, the gif thumbnail follows, of size Gif Size?.
Each index entry has the following layout:
See LrfObject for details.
Structure of a simple BBeB book:
Root Object ID? field in the LRF header points to a Book Atr? object, which sets some common properties for the book, and in turn points to a Page Tree? object. Page Tree? has a list of Pages in the book, in the reading order. A Page can contains some Blocks and Canvases. Each Block can be positioned on the page indepentently. A Block can contain a single passage of Text, Simple Text?, Image, Button (and some others, I think). Text and Simple Text? contain a stream of text with possibly some embedded tags. An Image points to an Image Stream? object, which contains the binary stream of the image. (Several Images can point to a common Image Stream?, each representing a portion of the whole bitmap.) Button can be used as a hyperlink – to jump to another portion of the book.
Файлов нет. [Показать файлы/форму]
||Powered by WackoWiki R4.2|