structure to parse a layout in a text zone (very incomplete) More...
#include <StarLayout.hxx>
Public Member Functions | |
| StarLayout () | |
| constructor | |
| bool | read (StarZone &zone, StarObject &object) |
| try to read a layout: 'U' | |
Protected Member Functions | |
| bool | readC1 (StarZone &zone, StarObject &object) |
| try to read a sub zone: 'c1' or 'cc', 'cd' | |
| bool | readC2 (StarZone &zone, StarObject &object) |
| try to read a sub zone: 'c2', 'c3', 'c6', 'c8', 'c9', 'ce', 'd2', 'd3', 'd7', 'e3' or 'f2' | |
| bool | readC4 (StarZone &zone, StarObject &object) |
| try to read a sub zone: 'c4' or 'c7' | |
| bool | readD0 (StarZone &zone, StarObject &object) |
| try to read a sub zone: 'd0' | |
| bool | readD8 (StarZone &zone, StarObject &object) |
| try to read a sub zone: 'd8' | |
| bool | readChild (StarZone &zone, StarObject &object) |
| try to read a child of a zone | |
| bool | readHeader (StarZone &zone, libstoff::DebugStream &f, int &type, int valueMode=1) const |
| try to read a block header | |
| bool | readDataBlock (StarZone &zone, libstoff::DebugStream &f) const |
| try to read a small data block | |
| int | readNumber (STOFFInputStreamPtr input, int vers) const |
| try to read a positive number of 1|2 bytes depending on the version: | |
Protected Attributes | |
| uint16_t | m_version |
| the version | |
structure to parse a layout in a text zone (very incomplete)
| StarLayout::StarLayout | ( | ) | [inline] |
constructor
| bool StarLayout::read | ( | StarZone & | zone, |
| StarObject & | object | ||
| ) |
try to read a layout: 'U'
Referenced by StarObjectText::readWriterDocument().
| bool StarLayout::readC1 | ( | StarZone & | zone, |
| StarObject & | object | ||
| ) | [protected] |
try to read a sub zone: 'c1' or 'cc', 'cd'
Referenced by readChild().
| bool StarLayout::readC2 | ( | StarZone & | zone, |
| StarObject & | object | ||
| ) | [protected] |
try to read a sub zone: 'c2', 'c3', 'c6', 'c8', 'c9', 'ce', 'd2', 'd3', 'd7', 'e3' or 'f2'
Referenced by readChild().
| bool StarLayout::readC4 | ( | StarZone & | zone, |
| StarObject & | object | ||
| ) | [protected] |
try to read a sub zone: 'c4' or 'c7'
Referenced by readChild().
| bool StarLayout::readChild | ( | StarZone & | zone, |
| StarObject & | object | ||
| ) | [protected] |
| bool StarLayout::readD0 | ( | StarZone & | zone, |
| StarObject & | object | ||
| ) | [protected] |
try to read a sub zone: 'd0'
Referenced by readChild().
| bool StarLayout::readD8 | ( | StarZone & | zone, |
| StarObject & | object | ||
| ) | [protected] |
try to read a sub zone: 'd8'
Referenced by readChild().
| bool StarLayout::readDataBlock | ( | StarZone & | zone, |
| libstoff::DebugStream & | f | ||
| ) | const [protected] |
try to read a small data block
Referenced by readC1(), and readHeader().
| bool StarLayout::readHeader | ( | StarZone & | zone, |
| libstoff::DebugStream & | f, | ||
| int & | type, | ||
| int | valueMode = 1 |
||
| ) | const [protected] |
| int StarLayout::readNumber | ( | STOFFInputStreamPtr | input, |
| int | vers | ||
| ) | const [protected] |
uint16_t StarLayout::m_version [protected] |
the version
Referenced by read(), readC1(), readC2(), readD0(), readD8(), readHeader(), and readNumber().