a zone in a StarOffice file More...
#include <StarZone.hxx>
Public Member Functions | |
StarZone (STOFFInputStreamPtr const &input, std::string const &ascName, std::string const &zoneName, char const *password) | |
constructor More... | |
virtual | ~StarZone () |
destructor More... | |
bool | readSWHeader () |
read the zone header present in a SW file More... | |
bool | checkEncryption (uint32_t date, uint32_t time, std::vector< uint8_t > const &passwd) |
check encryption More... | |
bool | openSDRHeader (std::string &magic) |
open a zone header present in a SDR file More... | |
bool | closeSDRHeader (std::string const &debugName) |
close a zone header More... | |
bool | openSCHHeader () |
open a zone header present in a SCH file More... | |
bool | closeSCHHeader (std::string const &debugName) |
close a zone header More... | |
bool | openVersionCompatHeader () |
open a version compat header (version+size) More... | |
bool | closeVersionCompatHeader (std::string const &debugName) |
close a zone header More... | |
int | getVersion () const |
returns the StarOffice version: 3-5 More... | |
int | getDocumentVersion () const |
returns the StarOffice document version More... | |
int | getHeaderVersion () const |
returns the StarOffice header version (if set) More... | |
int | isCompatibleWith (int vers) const |
checks if the document is compatible with vers More... | |
int | isCompatibleWith (int vers1, int vers2) const |
checks if the document is compatible with vers1 and not vers2 More... | |
int | isCompatibleWith (int vers1, int vers2, int vers3) const |
checks if the document is compatible with vers1 and not vers2 or vers3 More... | |
int | isCompatibleWith (int vers1, int vers2, int vers3, int vers4) const |
checks if the document is compatible with vers1 and not vers2 or vers3 and not vers4 More... | |
StarEncoding::Encoding | getEncoding () const |
returns the zone encoding More... | |
void | setEncoding (StarEncoding::Encoding encod) |
sets the zone encoding More... | |
int | getGuiType () const |
returns the zone GUI type More... | |
void | setGuiType (int type) |
sets the zone GUI type More... | |
bool | openRecord () |
try to open a classic record: size (32 bytes) + size-4 bytes More... | |
bool | closeRecord (std::string const &debugName) |
try to close a record More... | |
bool | openDummyRecord () |
open a dummy record More... | |
bool | closeDummyRecord () |
close a dummy record More... | |
bool | openSCRecord () |
try to open a SC record: size (32 bytes) + size bytes More... | |
bool | closeSCRecord (std::string const &debugName) |
try to close a record More... | |
bool | openSWRecord (char &type) |
try to open a SW record: type + size (24 bytes) More... | |
bool | closeSWRecord (char type, std::string const &debugName) |
try to close a record More... | |
bool | openSfxRecord (char &type) |
try to open a Sfx record: type + size (24 bytes) More... | |
bool | closeSfxRecord (char type, std::string const &debugName) |
try to close a record More... | |
int | getRecordLevel () const |
returns the record level More... | |
long | getRecordLastPosition () const |
returns the actual record last position More... | |
unsigned char | openFlagZone () |
try to open a cflag zone More... | |
void | closeFlagZone () |
close the cflag zone More... | |
long | getFlagLastPosition () const |
returns the flag last position More... | |
bool | readString (std::vector< uint32_t > &string, int encoding=-1) const |
try to read an unicode string More... | |
bool | readString (std::vector< uint32_t > &string, std::vector< size_t > &srcPositions, int encoding=-1, bool checkEncryption=false) const |
try to read an unicode string More... | |
bool | readStringsPool () |
try to read a pool of strings More... | |
int | getNumPoolNames () const |
return the number of pool name More... | |
bool | getPoolName (int poolId, librevenge::RVNGString &res) const |
try to return a pool name More... | |
STOFFInputStreamPtr | input () |
return the zone input More... | |
void | setInput (STOFFInputStreamPtr input) |
reset the current input More... | |
libstoff::DebugFile & | ascii () |
returns the ascii file More... | |
const std::string & | name () const |
return the zone name More... | |
Protected Member Functions | |
bool | readRecordSizes (long pos) |
try to read the record sizes More... | |
bool | closeRecord (char type, std::string const &debugName) |
try to close a record More... | |
Protected Attributes | |
STOFFInputStreamPtr | m_input |
the input stream More... | |
libstoff::DebugFile | m_ascii |
the ascii zone More... | |
int | m_version |
the zone version More... | |
int | m_documentVersion |
the document version More... | |
std::stack< int > | m_headerVersionStack |
the header version (for SDR zone) More... | |
StarEncoding::Encoding | m_encoding |
the zone encoding More... | |
int | m_guiType |
the zone GUI type More... | |
std::shared_ptr< StarEncryption > | m_encryption |
the encryption More... | |
std::string | m_asciiName |
the file ascii name More... | |
std::string | m_zoneName |
the zone name More... | |
std::stack< char > | m_typeStack |
the type stack More... | |
std::stack< long > | m_positionStack |
the position stack More... | |
std::map< long, long > | m_beginToEndMap |
other position to end position zone More... | |
long | m_flagEndZone |
end of a cflags zone More... | |
std::vector< librevenge::RVNGString > | m_poolList |
the pool name list More... | |
a zone in a StarOffice file
StarZone::StarZone | ( | STOFFInputStreamPtr const & | input, |
std::string const & | ascName, | ||
std::string const & | zoneName, | ||
char const * | password | ||
) |
constructor
|
virtual |
destructor
|
inline |
returns the ascii file
Referenced by StarObjectSpreadsheetInternal::ScMultiRecord::close(), StarFileManagerInternal::SfxMultiRecord::close(), StarItemPoolInternal::SfxMultiRecord::close(), StarObjectSpreadsheetInternal::ScMultiRecord::closeContent(), SDGParser::createZones(), StarFileManagerInternal::SfxMultiRecord::getNewContent(), StarItemPoolInternal::SfxMultiRecord::getNewContent(), StarObject::parse(), StarLayout::read(), StarObjectSmallText::read(), StarObjectPageStyle::read(), StarObjectModel::read(), StarWriterStruct::Attribute::read(), StarTableInternal::TableBox::read(), StarObjectPageStyleInternal::NoteDesc::read(), StarObjectNumericRuler::read(), StarWriterStruct::Bookmark::read(), StarTableInternal::TableLine::read(), StarGraphicStruct::StarGraphic::read(), StarGraphicAttribute::StarGAttributeFraction::read(), StarWriterStruct::DatabaseName::read(), StarTableInternal::Table::read(), StarObjectPageStyleInternal::PageDesc::read(), StarWriterStruct::Dictionary::read(), StarWriterStruct::DocStats::read(), StarWriterStruct::Macro::read(), StarFrameAttribute::StarFAttributeAnchor::read(), StarWriterStruct::Mark::read(), StarWriterStruct::NodeRedline::read(), StarParagraphAttribute::StarPAttributeAdjust::read(), StarFrameAttribute::StarFAttributeBorder::read(), StarWriterStruct::NoteInfo::read(), StarCellAttribute::StarCAttributeMargins::read(), StarParagraphAttribute::StarPAttributeBulletNumeric::read(), StarWriterStruct::PrintData::read(), StarFrameAttribute::StarFAttributeBrush::read(), StarCellAttribute::StarCAttributeMerge::read(), StarWriterStruct::Redline::read(), StarFrameAttribute::StarFAttributeFrameSize::read(), StarParagraphAttribute::StarPAttributeDrop::read(), StarWriterStruct::TOX::read(), StarFrameAttribute::StarFAttributeLineNumbering::read(), StarCharAttribute::StarCAttributeEscapement::read(), StarCellAttribute::StarCAttributeProtection::read(), StarParagraphAttribute::StarPAttributeHyphen::read(), StarFrameAttribute::StarFAttributeLRSpace::read(), StarPageAttribute::StarPAttributeColumns::read(), StarCharAttribute::StarCAttributeFont::read(), StarWriterStruct::TOX51::read(), StarParagraphAttribute::StarPAttributeLineSpacing::read(), StarFrameAttribute::StarFAttributeOrientation::read(), StarGraphicAttribute::StarGAttributeBoxInfo::read(), StarPageAttribute::StarPAttributeFrameHF::read(), StarParagraphAttribute::StarPAttributeNumericRuler::read(), StarCharAttribute::StarCAttributeFontSize::read(), StarFrameAttribute::StarFAttributeShadow::read(), StarGraphicAttribute::StarGAttributeCrop::read(), StarPageAttribute::StarPAttributePage::read(), StarFrameAttribute::StarFAttributeSurround::read(), StarCharAttribute::StarCAttributeCharFormat::read(), StarParagraphAttribute::StarPAttributeTabStop::read(), StarPageAttribute::StarPAttributePageDesc::read(), StarGraphicAttribute::StarGAttributeNamedArrow::read(), StarCharAttribute::StarCAttributeContent::read(), StarFrameAttribute::StarFAttributeULSpace::read(), StarGraphicAttribute::StarGAttributeNamedBitmap::read(), StarPageAttribute::StarPAttributePageHF::read(), StarCharAttribute::StarCAttributeField::read(), StarPageAttribute::StarPAttributePrint::read(), StarCharAttribute::StarCAttributeFlyCnt::read(), StarGraphicAttribute::StarGAttributeNamedColor::read(), StarPageAttribute::StarPAttributeRangeItem::read(), StarCharAttribute::StarCAttributeFootnote::read(), StarGraphicAttribute::StarGAttributeNamedDash::read(), StarCharAttribute::StarCAttributeHardBlank::read(), StarGraphicAttribute::StarGAttributeNamedGradient::read(), StarCharAttribute::StarCAttributeINetFmt::read(), StarAttributeBool::read(), StarGraphicAttribute::StarGAttributeNamedHatch::read(), StarAttributeColor::read(), StarCharAttribute::StarCAttributeRefMark::read(), StarAttributeDouble::read(), StarAttributeInt::read(), StarAttributeUInt::read(), StarAttributeVec2i::read(), StarAttributeItemSet::read(), StarAttributeVoid::read(), StarItemPool::readAttribute(), StarAttributeManager::readAttribute(), StarObjectNumericRuler::readAttributeLevel(), StarBitmap::readBitmap(), SDGParser::readBitmap(), StarBitmap::readBitmapInformation(), StarLayout::readC1(), StarLayout::readC2(), StarLayout::readC4(), StarObjectSpreadsheet::readCalcDocument(), StarObjectChart::readChartDocument(), StarLayout::readChild(), StarLayout::readD0(), StarLayout::readD8(), StarObjectDraw::readDrawDocument(), StarObjectText::readDrawingLayer(), StarFileManager::readEmbeddedPicture(), SWFieldManager::readField(), StarObjectSmallGraphic::readFmFormObject(), StarFileManager::readFont(), StarLayout::readHeader(), StarItemPool::readItem(), StarObject::readItemSet(), StarFileManager::readJobSetUp(), StarObjectNumericRuler::readLevel(), StarObjectNumericRuler::readList(), StarWriterStruct::Attribute::readList(), StarWriterStruct::Bookmark::readList(), StarWriterStruct::Macro::readList(), StarWriterStruct::Redline::readList(), StarWriterStruct::TOX::readList(), StarWriterStruct::TOX51::readList(), StarWriterStruct::Redline::readListList(), StarObjectMath::readMathDocument(), StarFormatManager::readNumberFormat(), StarFormatManager::readNumberFormatter(), StarObject::readPersistData(), StarObject::readPersistElements(), SWFieldManager::readPersistField(), StarObjectDraw::readPresentationData(), StarObjectSpreadsheet::readSCChangeTrack(), StarObjectSpreadsheet::readSCColumn(), StarObjectSpreadsheet::readSCData(), StarObjectSpreadsheet::readSCDBData(), StarObjectSpreadsheet::readSCDBPivot(), StarCellFormula::readSCFormula(), StarCellFormula::readSCFormula3(), StarObjectChart::readSCHAttributes(), StarObjectChart::readSCHMemChart(), StarObjectSmallGraphic::readSCHUObject(), StarObjectSpreadsheet::readSCMatrix(), StarObjectSpreadsheet::readSCOutlineArray(), StarObjectSpreadsheet::readSCQueryParam(), StarObjectSpreadsheet::readSCTable(), StarObjectDraw::readSdrCustomShow(), StarObjectDraw::readSdrFrameView(), StarObjectSmallGraphic::readSDRGluePoint(), StarObjectSmallGraphic::readSDRGluePointList(), StarObjectDraw::readSdrHelpLine(), StarObjectDraw::readSdrHelpLineSet(), StarObjectModel::readSdrLayer(), StarObjectModel::readSdrLayerSet(), StarObjectModel::readSdrMPageDesc(), StarObjectModel::readSdrMPageDescList(), StarObjectSmallGraphic::readSdrObject(), StarObjectSmallGraphic::readSDRObjectConnection(), StarObjectSmallGraphic::readSDRObjectSurrogate(), StarObjectSmallGraphic::readSDROutlinerParaObject(), StarObjectModel::readSdrPage(), StarObjectModel::readSdrPageUnknownZone1(), StarObjectSmallGraphic::readSDRUserData(), StarObjectSmallGraphic::readSDRUserDataList(), StarObjectDraw::readSdrView(), StarObjectSmallGraphic::readSDUDObject(), StarObject::readSfxDocumentInformation(), StarObject::readSfxPreview(), StarObjectChart::readSfxStyleSheets(), StarObjectDraw::readSfxStyleSheets(), StarObjectSpreadsheet::readSfxStyleSheets(), StarObject::readSfxStyleSheets(), StarObjectText::readSfxStyleSheets(), SDGParser::readSGA3(), StarItemPool::readStyles(), StarObjectSmallGraphic::readSVDRObject(), StarObjectSmallGraphic::readSVDRObjectAttrib(), StarObjectSmallGraphic::readSVDRObjectCaption(), StarObjectSmallGraphic::readSVDRObjectCircle(), StarObjectSmallGraphic::readSVDRObjectEdge(), StarObjectSmallGraphic::readSVDRObjectGraph(), StarObjectSmallGraphic::readSVDRObjectGroup(), StarObjectSmallGraphic::readSVDRObjectHeader(), StarObjectSmallGraphic::readSVDRObjectMeasure(), StarObjectSmallGraphic::readSVDRObjectOLE(), StarObjectSmallGraphic::readSVDRObjectPath(), StarObjectSmallGraphic::readSVDRObjectRect(), StarObjectSmallGraphic::readSVDRObjectText(), StarFileManager::readSVGDI(), StarObjectText::readSWContent(), StarFormatManager::readSWFlyFrameList(), StarFormatManager::readSWFormatDef(), StarObjectText::readSWGraphNode(), StarObjectText::readSWImageMap(), StarObjectText::readSWJobSetUp(), StarFormatManager::readSWNumberFormatterList(), StarObjectText::readSWOLENode(), StarFormatManager::readSWPatternLCL(), StarObjectText::readSWSection(), StarObjectText::readSWTextZone(), StarItemPool::readV1(), StarItemPool::readV2(), and StarObjectText::readWriterDocument().
bool StarZone::checkEncryption | ( | uint32_t | date, |
uint32_t | time, | ||
std::vector< uint8_t > const & | passwd | ||
) |
check encryption
Referenced by readSWHeader().
|
inline |
close a dummy record
Referenced by StarItemPool::readAttribute().
void StarZone::closeFlagZone | ( | ) |
close the cflag zone
Referenced by StarLayout::read(), StarObjectPageStyle::read(), StarWriterStruct::Attribute::read(), StarTableInternal::TableBox::read(), StarObjectNumericRuler::read(), StarWriterStruct::Bookmark::read(), StarTableInternal::TableLine::read(), StarTableInternal::Table::read(), StarObjectPageStyleInternal::PageDesc::read(), StarWriterStruct::NodeRedline::read(), StarWriterStruct::NoteInfo::read(), StarWriterStruct::Redline::read(), StarWriterStruct::TOX::read(), SWFieldManager::readField(), StarObjectNumericRuler::readLevel(), StarObjectNumericRuler::readList(), StarWriterStruct::Redline::readList(), readRecordSizes(), StarObjectText::readSWContent(), StarFormatManager::readSWFormatDef(), StarObjectText::readSWGraphNode(), StarObjectText::readSWImageMap(), StarObjectText::readSWJobSetUp(), StarFormatManager::readSWPatternLCL(), StarObjectText::readSWSection(), StarObjectText::readSWTextZone(), and StarObjectText::readWriterDocument().
|
protected |
try to close a record
|
inline |
try to close a record
Referenced by closeDummyRecord(), closeSCHHeader(), closeSCRecord(), closeSDRHeader(), closeSfxRecord(), closeSWRecord(), closeVersionCompatHeader(), StarObjectModel::read(), StarObjectChart::readChartDocument(), StarObjectSmallGraphic::readFmFormObject(), StarObjectSmallGraphic::readSDRGluePoint(), StarObjectSmallGraphic::readSDRGluePointList(), StarObjectModel::readSdrPage(), StarObjectSmallGraphic::readSDRUserData(), StarObjectSmallGraphic::readSDRUserDataList(), StarObjectDraw::readSdrView(), StarObjectSmallGraphic::readSVDRObject(), StarObjectSmallGraphic::readSVDRObjectAttrib(), StarObjectSmallGraphic::readSVDRObjectCaption(), StarObjectSmallGraphic::readSVDRObjectCircle(), StarObjectSmallGraphic::readSVDRObjectEdge(), StarObjectSmallGraphic::readSVDRObjectGraph(), StarObjectSmallGraphic::readSVDRObjectGroup(), StarObjectSmallGraphic::readSVDRObjectHeader(), StarObjectSmallGraphic::readSVDRObjectMeasure(), StarObjectSmallGraphic::readSVDRObjectOLE(), StarObjectSmallGraphic::readSVDRObjectPath(), StarObjectSmallGraphic::readSVDRObjectRect(), and StarObjectSmallGraphic::readSVDRObjectText().
bool StarZone::closeSCHHeader | ( | std::string const & | debugName | ) |
close a zone header
Referenced by StarObjectChart::readChartDocument(), StarObjectDraw::readPresentationData(), StarObjectChart::readSCHAttributes(), StarObjectChart::readSCHMemChart(), StarObjectDraw::readSdrCustomShow(), StarObjectDraw::readSdrFrameView(), and StarObjectSmallGraphic::readSDUDObject().
|
inline |
try to close a record
Referenced by StarObjectSpreadsheetInternal::ScMultiRecord::close(), StarObjectSpreadsheet::readCalcDocument(), StarObject::readPersistData(), SWFieldManager::readPersistField(), StarObjectSpreadsheet::readSCChangeTrack(), StarObjectSpreadsheet::readSCColumn(), StarObjectSpreadsheet::readSCQueryParam(), StarObjectSpreadsheet::readSCTable(), and StarObjectSpreadsheet::readSfxStyleSheets().
bool StarZone::closeSDRHeader | ( | std::string const & | debugName | ) |
close a zone header
Referenced by StarObjectModel::read(), StarObjectDraw::readSdrHelpLine(), StarObjectDraw::readSdrHelpLineSet(), StarObjectModel::readSdrLayer(), StarObjectModel::readSdrLayerSet(), StarObjectModel::readSdrMPageDesc(), StarObjectModel::readSdrMPageDescList(), StarObjectSmallGraphic::readSdrObject(), StarObjectSmallGraphic::readSDRObjectConnection(), StarObjectModel::readSdrPage(), StarObjectDraw::readSdrView(), and StarObjectSmallGraphic::readSVDRObjectGroup().
|
inline |
try to close a record
Referenced by StarFileManagerInternal::SfxMultiRecord::close(), StarItemPoolInternal::SfxMultiRecord::close(), StarItemPool::readStyles(), and StarItemPool::readV2().
|
inline |
try to close a record
Referenced by StarLayout::read(), StarObjectPageStyle::read(), StarWriterStruct::Attribute::read(), StarTableInternal::TableBox::read(), StarObjectPageStyleInternal::NoteDesc::read(), StarObjectNumericRuler::read(), StarWriterStruct::Bookmark::read(), StarTableInternal::TableLine::read(), StarWriterStruct::DatabaseName::read(), StarTableInternal::Table::read(), StarObjectPageStyleInternal::PageDesc::read(), StarWriterStruct::Dictionary::read(), StarWriterStruct::DocStats::read(), StarWriterStruct::Macro::read(), StarWriterStruct::Mark::read(), StarWriterStruct::NodeRedline::read(), StarWriterStruct::NoteInfo::read(), StarWriterStruct::PrintData::read(), StarWriterStruct::Redline::read(), StarWriterStruct::TOX::read(), StarWriterStruct::TOX51::read(), StarLayout::readC1(), StarLayout::readC2(), StarLayout::readC4(), StarLayout::readChild(), StarLayout::readD0(), StarLayout::readD8(), SWFieldManager::readField(), StarObjectNumericRuler::readLevel(), StarObjectNumericRuler::readList(), StarWriterStruct::Attribute::readList(), StarWriterStruct::Bookmark::readList(), StarWriterStruct::Macro::readList(), StarWriterStruct::Redline::readList(), StarWriterStruct::TOX::readList(), StarWriterStruct::TOX51::readList(), StarWriterStruct::Redline::readListList(), readRecordSizes(), readStringsPool(), StarObjectText::readSWContent(), StarFormatManager::readSWFlyFrameList(), StarFormatManager::readSWFormatDef(), StarObjectText::readSWGraphNode(), StarObjectText::readSWImageMap(), StarObjectText::readSWJobSetUp(), StarFormatManager::readSWNumberFormatterList(), StarObjectText::readSWOLENode(), StarFormatManager::readSWPatternLCL(), StarObjectText::readSWSection(), StarObjectText::readSWTextZone(), and StarObjectText::readWriterDocument().
bool StarZone::closeVersionCompatHeader | ( | std::string const & | debugName | ) |
close a zone header
Referenced by StarGraphicStruct::StarGraphic::read(), StarFileManager::readEmbeddedPicture(), StarFileManager::readFont(), and StarFileManager::readSVGDI().
|
inline |
returns the StarOffice document version
Referenced by StarWriterStruct::Attribute::read().
|
inline |
returns the zone encoding
Referenced by StarCellFormula::readSCToken(), and StarObjectSpreadsheet::readSfxStyleSheets().
|
inline |
returns the flag last position
Referenced by StarLayout::read(), and StarObjectText::readSWTextZone().
|
inline |
returns the zone GUI type
|
inline |
returns the StarOffice header version (if set)
Referenced by StarObjectModel::read(), StarObjectChart::readChartDocument(), StarFileManager::readFont(), StarObjectDraw::readPresentationData(), StarObjectChart::readSCHAttributes(), StarObjectChart::readSCHMemChart(), StarObjectDraw::readSdrCustomShow(), StarObjectDraw::readSdrFrameView(), StarObjectDraw::readSdrHelpLine(), StarObjectDraw::readSdrHelpLineSet(), StarObjectModel::readSdrLayer(), StarObjectModel::readSdrLayerSet(), StarObjectModel::readSdrMPageDesc(), StarObjectModel::readSdrMPageDescList(), StarObjectSmallGraphic::readSdrObject(), StarObjectSmallGraphic::readSDRObjectConnection(), StarObjectModel::readSdrPage(), StarObjectDraw::readSdrView(), StarObjectSmallGraphic::readSDUDObject(), StarObjectSmallGraphic::readSVDRObjectAttrib(), StarObjectSmallGraphic::readSVDRObjectEdge(), StarObjectSmallGraphic::readSVDRObjectGraph(), StarObjectSmallGraphic::readSVDRObjectGroup(), StarObjectSmallGraphic::readSVDRObjectHeader(), StarObjectSmallGraphic::readSVDRObjectPath(), StarObjectSmallGraphic::readSVDRObjectRect(), and StarObjectSmallGraphic::readSVDRObjectText().
|
inline |
return the number of pool name
Referenced by StarObjectText::readSWContent().
|
inline |
try to return a pool name
Referenced by StarTableInternal::TableBox::read(), StarTableInternal::TableLine::read(), StarObjectPageStyleInternal::PageDesc::read(), StarWriterStruct::TOX::read(), StarWriterStruct::TOX51::read(), StarCharAttribute::StarCAttributeCharFormat::read(), StarPageAttribute::StarPAttributePageDesc::read(), StarAttributeManager::readAttribute(), SWFieldManager::readField(), StarObjectNumericRuler::readList(), StarObjectText::readSWContent(), StarFormatManager::readSWFormatDef(), and StarObjectText::readSWTextZone().
|
inline |
returns the actual record last position
Referenced by StarObjectSpreadsheetInternal::ScMultiRecord::close(), StarFileManagerInternal::SfxMultiRecord::close(), StarItemPoolInternal::SfxMultiRecord::close(), StarFileManagerInternal::SfxMultiRecord::open(), StarItemPoolInternal::SfxMultiRecord::open(), StarObjectSpreadsheetInternal::ScMultiRecord::open(), StarLayout::read(), StarObjectModel::read(), StarWriterStruct::Attribute::read(), StarTableInternal::TableBox::read(), StarObjectNumericRuler::read(), StarItemPool::read(), StarWriterStruct::Bookmark::read(), StarTableInternal::TableLine::read(), StarGraphicStruct::StarGraphic::read(), StarWriterStruct::DatabaseName::read(), StarTableInternal::Table::read(), StarObjectPageStyleInternal::PageDesc::read(), StarWriterStruct::Dictionary::read(), StarWriterStruct::TOX::read(), StarLayout::readC1(), StarLayout::readC2(), StarLayout::readC4(), StarObjectSpreadsheet::readCalcDocument(), StarObjectChart::readChartDocument(), StarLayout::readChild(), StarLayout::readD0(), StarLayout::readD8(), StarLayout::readDataBlock(), SWFieldManager::readField(), StarObjectSmallGraphic::readFmFormObject(), StarFileManager::readFont(), StarLayout::readHeader(), StarFileManager::readJobSetUp(), StarObjectNumericRuler::readLevel(), StarObjectNumericRuler::readList(), StarWriterStruct::Attribute::readList(), StarWriterStruct::Bookmark::readList(), StarWriterStruct::Macro::readList(), StarWriterStruct::TOX::readList(), StarWriterStruct::TOX51::readList(), StarWriterStruct::Redline::readListList(), StarFormatManager::readNumberFormatter(), StarObject::readPersistData(), SWFieldManager::readPersistField(), StarObjectDraw::readPresentationData(), readRecordSizes(), StarObjectSpreadsheet::readSCChangeTrack(), StarObjectSpreadsheet::readSCColumn(), StarObjectSpreadsheet::readSCData(), StarObjectChart::readSCHAttributes(), StarObjectChart::readSCHMemChart(), StarObjectSpreadsheet::readSCOutlineArray(), StarObjectSpreadsheet::readSCTable(), StarObjectDraw::readSdrCustomShow(), StarObjectDraw::readSdrFrameView(), StarObjectSmallGraphic::readSDRGluePointList(), StarObjectDraw::readSdrHelpLine(), StarObjectDraw::readSdrHelpLineSet(), StarObjectModel::readSdrMPageDescList(), StarObjectSmallGraphic::readSdrObject(), StarObjectSmallGraphic::readSDRObjectConnection(), StarObjectSmallGraphic::readSDRObjectSurrogate(), StarObjectSmallGraphic::readSDROutlinerParaObject(), StarObjectModel::readSdrPage(), StarObjectSmallGraphic::readSDRUserData(), StarObjectSmallGraphic::readSDRUserDataList(), StarObjectDraw::readSdrView(), StarObjectSmallGraphic::readSDUDObject(), StarObjectSpreadsheet::readSfxStyleSheets(), readStringsPool(), StarItemPool::readStyles(), StarObjectSmallGraphic::readSVDRObject(), StarObjectSmallGraphic::readSVDRObjectAttrib(), StarObjectSmallGraphic::readSVDRObjectCaption(), StarObjectSmallGraphic::readSVDRObjectCircle(), StarObjectSmallGraphic::readSVDRObjectEdge(), StarObjectSmallGraphic::readSVDRObjectGraph(), StarObjectSmallGraphic::readSVDRObjectGroup(), StarObjectSmallGraphic::readSVDRObjectHeader(), StarObjectSmallGraphic::readSVDRObjectMeasure(), StarObjectSmallGraphic::readSVDRObjectOLE(), StarObjectSmallGraphic::readSVDRObjectPath(), StarObjectSmallGraphic::readSVDRObjectText(), StarFileManager::readSVGDI(), StarObjectText::readSWContent(), StarFormatManager::readSWFlyFrameList(), StarFormatManager::readSWFormatDef(), StarObjectText::readSWGraphNode(), StarObjectText::readSWImageMap(), StarObjectText::readSWJobSetUp(), StarFormatManager::readSWNumberFormatterList(), StarFormatManager::readSWPatternLCL(), StarObjectText::readSWSection(), StarObjectText::readSWTextZone(), StarItemPool::readV1(), StarItemPool::readV2(), and StarObjectText::readWriterDocument().
|
inline |
returns the record level
Referenced by StarObjectSpreadsheetInternal::ScMultiRecord::open(), StarLayout::read(), StarObjectModel::read(), StarWriterStruct::Attribute::read(), StarTableInternal::TableBox::read(), StarObjectPageStyleInternal::NoteDesc::read(), StarItemPool::read(), StarWriterStruct::Bookmark::read(), StarTableInternal::TableLine::read(), StarGraphicStruct::StarGraphic::read(), StarGraphicAttribute::StarGAttributeFraction::read(), StarWriterStruct::DatabaseName::read(), StarTableInternal::Table::read(), StarObjectPageStyleInternal::PageDesc::read(), StarWriterStruct::Dictionary::read(), StarWriterStruct::DocStats::read(), StarWriterStruct::Macro::read(), StarFrameAttribute::StarFAttributeAnchor::read(), StarWriterStruct::Mark::read(), StarWriterStruct::NodeRedline::read(), StarParagraphAttribute::StarPAttributeAdjust::read(), StarFrameAttribute::StarFAttributeBorder::read(), StarCellAttribute::StarCAttributeMargins::read(), StarWriterStruct::NoteInfo::read(), StarParagraphAttribute::StarPAttributeBulletNumeric::read(), StarWriterStruct::PrintData::read(), StarFrameAttribute::StarFAttributeBrush::read(), StarCellAttribute::StarCAttributeMerge::read(), StarWriterStruct::Redline::read(), StarFrameAttribute::StarFAttributeFrameSize::read(), StarParagraphAttribute::StarPAttributeDrop::read(), StarWriterStruct::TOX::read(), StarFrameAttribute::StarFAttributeLineNumbering::read(), StarCharAttribute::StarCAttributeEscapement::read(), StarCellAttribute::StarCAttributeProtection::read(), StarParagraphAttribute::StarPAttributeHyphen::read(), StarFrameAttribute::StarFAttributeLRSpace::read(), StarPageAttribute::StarPAttributeColumns::read(), StarCharAttribute::StarCAttributeFont::read(), StarWriterStruct::TOX51::read(), StarParagraphAttribute::StarPAttributeLineSpacing::read(), StarFrameAttribute::StarFAttributeOrientation::read(), StarGraphicAttribute::StarGAttributeBoxInfo::read(), StarPageAttribute::StarPAttributeFrameHF::read(), StarParagraphAttribute::StarPAttributeNumericRuler::read(), StarCharAttribute::StarCAttributeFontSize::read(), StarFrameAttribute::StarFAttributeShadow::read(), StarGraphicAttribute::StarGAttributeCrop::read(), StarPageAttribute::StarPAttributePage::read(), StarFrameAttribute::StarFAttributeSurround::read(), StarCharAttribute::StarCAttributeCharFormat::read(), StarParagraphAttribute::StarPAttributeTabStop::read(), StarPageAttribute::StarPAttributePageDesc::read(), StarGraphicAttribute::StarGAttributeNamedArrow::read(), StarCharAttribute::StarCAttributeContent::read(), StarFrameAttribute::StarFAttributeULSpace::read(), StarGraphicAttribute::StarGAttributeNamedBitmap::read(), StarPageAttribute::StarPAttributePageHF::read(), StarCharAttribute::StarCAttributeField::read(), StarPageAttribute::StarPAttributePrint::read(), StarCharAttribute::StarCAttributeFlyCnt::read(), StarGraphicAttribute::StarGAttributeNamedColor::read(), StarPageAttribute::StarPAttributeRangeItem::read(), StarCharAttribute::StarCAttributeFootnote::read(), StarGraphicAttribute::StarGAttributeNamedDash::read(), StarCharAttribute::StarCAttributeHardBlank::read(), StarGraphicAttribute::StarGAttributeNamedGradient::read(), StarCharAttribute::StarCAttributeINetFmt::read(), StarAttributeBool::read(), StarGraphicAttribute::StarGAttributeNamedHatch::read(), StarAttributeColor::read(), StarCharAttribute::StarCAttributeRefMark::read(), StarAttributeDouble::read(), StarAttributeInt::read(), StarAttributeUInt::read(), StarAttributeVec2i::read(), StarAttributeItemSet::read(), StarAttributeVoid::read(), StarItemPool::readAttribute(), StarAttributeManager::readAttribute(), StarObjectNumericRuler::readAttributeLevel(), StarBitmap::readBitmap(), StarBitmap::readBitmapInformation(), StarLayout::readC1(), StarLayout::readC2(), StarLayout::readC4(), StarLayout::readChild(), StarLayout::readD0(), StarLayout::readD8(), SWFieldManager::readField(), StarFileManager::readFont(), StarItemPool::readItem(), StarFileManager::readJobSetUp(), StarObjectNumericRuler::readLevel(), StarObjectNumericRuler::readList(), StarWriterStruct::Attribute::readList(), StarWriterStruct::Bookmark::readList(), StarWriterStruct::Macro::readList(), StarWriterStruct::Redline::readList(), StarWriterStruct::TOX::readList(), StarWriterStruct::TOX51::readList(), StarWriterStruct::Redline::readListList(), StarFormatManager::readNumberFormat(), StarFormatManager::readNumberFormatter(), StarObject::readPersistData(), SWFieldManager::readPersistField(), StarObjectSpreadsheet::readSCChangeTrack(), StarObjectSpreadsheet::readSCColumn(), StarObjectSpreadsheet::readSCData(), StarObjectSpreadsheet::readSCDBData(), StarObjectSpreadsheet::readSCDBPivot(), StarCellFormula::readSCFormula(), StarCellFormula::readSCFormula3(), StarObjectChart::readSCHAttributes(), StarObjectChart::readSCHMemChart(), StarObjectSpreadsheet::readSCMatrix(), StarObjectSpreadsheet::readSCOutlineArray(), StarObjectSpreadsheet::readSCQueryParam(), StarObjectSpreadsheet::readSCTable(), StarObjectDraw::readSdrCustomShow(), StarObjectDraw::readSdrFrameView(), StarObjectDraw::readSdrHelpLine(), StarObjectDraw::readSdrHelpLineSet(), StarObjectModel::readSdrLayer(), StarObjectModel::readSdrLayerSet(), StarObjectModel::readSdrMPageDesc(), StarObjectModel::readSdrMPageDescList(), StarObjectSmallGraphic::readSdrObject(), StarObjectSmallGraphic::readSDRObjectConnection(), StarObjectModel::readSdrPage(), StarObjectModel::readSdrPageUnknownZone1(), StarObjectDraw::readSdrView(), readStringsPool(), StarItemPool::readStyles(), StarObjectSmallGraphic::readSVDRObjectAttrib(), StarObjectSmallGraphic::readSVDRObjectCaption(), StarObjectSmallGraphic::readSVDRObjectCircle(), StarObjectSmallGraphic::readSVDRObjectEdge(), StarObjectSmallGraphic::readSVDRObjectGraph(), StarObjectSmallGraphic::readSVDRObjectGroup(), StarObjectSmallGraphic::readSVDRObjectHeader(), StarObjectSmallGraphic::readSVDRObjectMeasure(), StarObjectSmallGraphic::readSVDRObjectOLE(), StarObjectSmallGraphic::readSVDRObjectPath(), StarObjectSmallGraphic::readSVDRObjectRect(), StarObjectSmallGraphic::readSVDRObjectText(), StarFileManager::readSVGDI(), StarObjectText::readSWContent(), StarFormatManager::readSWFlyFrameList(), StarFormatManager::readSWFormatDef(), StarObjectText::readSWGraphNode(), StarObjectText::readSWImageMap(), StarObjectText::readSWJobSetUp(), StarFormatManager::readSWNumberFormatterList(), StarObjectText::readSWOLENode(), StarFormatManager::readSWPatternLCL(), StarObjectText::readSWSection(), StarObjectText::readSWTextZone(), StarItemPool::readV1(), and StarItemPool::readV2().
|
inline |
returns the StarOffice version: 3-5
|
inline |
return the zone input
Referenced by StarObjectSpreadsheetInternal::ScMultiRecord::close(), StarFileManagerInternal::SfxMultiRecord::close(), StarItemPoolInternal::SfxMultiRecord::close(), StarObjectSpreadsheetInternal::ScMultiRecord::closeContent(), StarItemPoolInternal::SfxMultiRecord::getLastContentPosition(), StarFileManagerInternal::SfxMultiRecord::getNewContent(), StarItemPoolInternal::SfxMultiRecord::getNewContent(), StarItemPool::loadSurrogate(), StarFileManagerInternal::SfxMultiRecord::open(), StarItemPoolInternal::SfxMultiRecord::open(), StarObjectSpreadsheetInternal::ScMultiRecord::open(), StarObjectSpreadsheetInternal::ScMultiRecord::openContent(), StarLayout::read(), StarObjectSmallText::read(), StarObjectPageStyle::read(), StarObjectModel::read(), StarWriterStruct::Attribute::read(), StarTableInternal::TableBox::read(), StarObjectPageStyleInternal::NoteDesc::read(), StarObjectNumericRuler::read(), StarGraphicStruct::StarBrush::read(), StarItemPool::read(), StarWriterStruct::Bookmark::read(), StarTableInternal::TableLine::read(), StarGraphicStruct::StarGraphic::read(), StarGraphicAttribute::StarGAttributeFraction::read(), StarWriterStruct::DatabaseName::read(), StarTableInternal::Table::read(), StarObjectPageStyleInternal::PageDesc::read(), StarWriterStruct::Dictionary::read(), StarWriterStruct::DocStats::read(), StarWriterStruct::Macro::read(), StarFrameAttribute::StarFAttributeAnchor::read(), StarWriterStruct::Mark::read(), StarWriterStruct::NodeRedline::read(), StarParagraphAttribute::StarPAttributeAdjust::read(), StarFrameAttribute::StarFAttributeBorder::read(), StarCellAttribute::StarCAttributeMargins::read(), StarWriterStruct::NoteInfo::read(), StarParagraphAttribute::StarPAttributeBulletNumeric::read(), StarWriterStruct::PrintData::read(), StarFrameAttribute::StarFAttributeBrush::read(), StarCellAttribute::StarCAttributeMerge::read(), StarWriterStruct::Redline::read(), StarFrameAttribute::StarFAttributeFrameSize::read(), StarParagraphAttribute::StarPAttributeDrop::read(), StarWriterStruct::TOX::read(), StarFrameAttribute::StarFAttributeLineNumbering::read(), StarCharAttribute::StarCAttributeEscapement::read(), StarCellAttribute::StarCAttributeProtection::read(), StarParagraphAttribute::StarPAttributeHyphen::read(), StarFrameAttribute::StarFAttributeLRSpace::read(), StarPageAttribute::StarPAttributeColumns::read(), StarCharAttribute::StarCAttributeFont::read(), StarWriterStruct::TOX51::read(), StarParagraphAttribute::StarPAttributeLineSpacing::read(), StarFrameAttribute::StarFAttributeOrientation::read(), StarGraphicAttribute::StarGAttributeBoxInfo::read(), StarPageAttribute::StarPAttributeFrameHF::read(), StarParagraphAttribute::StarPAttributeNumericRuler::read(), StarCharAttribute::StarCAttributeFontSize::read(), StarFrameAttribute::StarFAttributeShadow::read(), StarGraphicAttribute::StarGAttributeCrop::read(), StarPageAttribute::StarPAttributePage::read(), StarGraphicAttribute::StarGAttributeNamed::read(), StarFrameAttribute::StarFAttributeSurround::read(), StarCharAttribute::StarCAttributeCharFormat::read(), StarParagraphAttribute::StarPAttributeTabStop::read(), StarPageAttribute::StarPAttributePageDesc::read(), StarGraphicAttribute::StarGAttributeNamedArrow::read(), StarCharAttribute::StarCAttributeContent::read(), StarFrameAttribute::StarFAttributeULSpace::read(), StarGraphicAttribute::StarGAttributeNamedBitmap::read(), StarPageAttribute::StarPAttributePageHF::read(), StarCharAttribute::StarCAttributeField::read(), StarPageAttribute::StarPAttributePrint::read(), StarCharAttribute::StarCAttributeFlyCnt::read(), StarGraphicAttribute::StarGAttributeNamedColor::read(), StarPageAttribute::StarPAttributeRangeItem::read(), StarCharAttribute::StarCAttributeFootnote::read(), StarGraphicAttribute::StarGAttributeNamedDash::read(), StarCharAttribute::StarCAttributeHardBlank::read(), StarGraphicAttribute::StarGAttributeNamedGradient::read(), StarCharAttribute::StarCAttributeINetFmt::read(), StarAttributeBool::read(), StarGraphicAttribute::StarGAttributeNamedHatch::read(), StarAttributeColor::read(), StarCharAttribute::StarCAttributeRefMark::read(), StarAttributeDouble::read(), StarAttributeInt::read(), StarAttributeUInt::read(), StarAttributeVec2i::read(), StarAttributeItemSet::read(), StarAttributeVoid::read(), StarItemPool::readAttribute(), StarAttributeManager::readAttribute(), StarObjectNumericRuler::readAttributeLevel(), StarBitmap::readBitmap(), SDGParser::readBitmap(), StarBitmap::readBitmapInformation(), StarLayout::readC1(), StarLayout::readC2(), StarLayout::readC4(), StarLayout::readChild(), StarLayout::readD0(), StarLayout::readD8(), StarLayout::readDataBlock(), SWFieldManager::readField(), StarObjectSmallGraphic::readFmFormObject(), StarFileManager::readFont(), StarLayout::readHeader(), StarItemPool::readItem(), StarObject::readItemSet(), StarFileManager::readJobSetUp(), StarObjectNumericRuler::readLevel(), StarObjectNumericRuler::readList(), StarWriterStruct::Attribute::readList(), StarWriterStruct::Bookmark::readList(), StarWriterStruct::Macro::readList(), StarWriterStruct::Redline::readList(), StarWriterStruct::TOX::readList(), StarWriterStruct::TOX51::readList(), StarWriterStruct::Redline::readListList(), StarFormatManager::readNumberFormat(), StarFormatManager::readNumberFormatter(), StarObject::readPersistData(), SWFieldManager::readPersistField(), StarObjectDraw::readPresentationData(), StarObjectSpreadsheet::readSCChangeTrack(), StarObjectSpreadsheet::readSCColumn(), StarObjectSpreadsheet::readSCData(), StarObjectSpreadsheet::readSCDBData(), StarObjectSpreadsheet::readSCDBPivot(), StarCellFormula::readSCFormula(), StarCellFormula::readSCFormula3(), StarObjectChart::readSCHAttributes(), StarObjectChart::readSCHMemChart(), StarObjectSmallGraphic::readSCHUObject(), StarObjectSpreadsheet::readSCMatrix(), StarObjectSpreadsheet::readSCOutlineArray(), StarObjectSpreadsheet::readSCQueryParam(), StarObjectSpreadsheet::readSCTable(), StarCellFormula::readSCToken(), StarCellFormula::readSCToken3(), StarObjectDraw::readSdrCustomShow(), StarObjectDraw::readSdrFrameView(), StarObjectSmallGraphic::readSDRGluePoint(), StarObjectSmallGraphic::readSDRGluePointList(), StarObjectDraw::readSdrHelpLine(), StarObjectDraw::readSdrHelpLineSet(), StarObjectModel::readSdrLayer(), StarObjectModel::readSdrLayerSet(), StarObjectModel::readSdrMPageDesc(), StarObjectModel::readSdrMPageDescList(), StarObjectSmallGraphic::readSdrObject(), StarObjectSmallGraphic::readSDRObjectConnection(), StarObjectSmallGraphic::readSDRObjectSurrogate(), StarObjectSmallGraphic::readSDROutlinerParaObject(), StarObjectModel::readSdrPage(), StarObjectModel::readSdrPageUnknownZone1(), StarObjectSmallGraphic::readSDRUserData(), StarObjectSmallGraphic::readSDRUserDataList(), StarObjectDraw::readSdrView(), StarObjectSmallGraphic::readSDUDObject(), SDGParser::readSGA3(), StarItemPool::readStyles(), StarObjectSmallGraphic::readSVDRObject(), StarObjectSmallGraphic::readSVDRObjectAttrib(), StarObjectSmallGraphic::readSVDRObjectCaption(), StarObjectSmallGraphic::readSVDRObjectCircle(), StarObjectSmallGraphic::readSVDRObjectEdge(), StarObjectSmallGraphic::readSVDRObjectGraph(), StarObjectSmallGraphic::readSVDRObjectGroup(), StarObjectSmallGraphic::readSVDRObjectHeader(), StarObjectSmallGraphic::readSVDRObjectMeasure(), StarObjectSmallGraphic::readSVDRObjectOLE(), StarObjectSmallGraphic::readSVDRObjectPath(), StarObjectSmallGraphic::readSVDRObjectRect(), StarObjectSmallGraphic::readSVDRObjectText(), StarFileManager::readSVGDI(), StarObjectText::readSWContent(), StarFormatManager::readSWFlyFrameList(), StarFormatManager::readSWFormatDef(), StarObjectText::readSWGraphNode(), StarObjectText::readSWImageMap(), StarObjectText::readSWJobSetUp(), StarFormatManager::readSWNumberFormatterList(), StarObjectText::readSWOLENode(), StarFormatManager::readSWPatternLCL(), StarObjectText::readSWSection(), StarObjectText::readSWTextZone(), StarItemPool::readV1(), and StarItemPool::readV2().
|
inline |
checks if the document is compatible with vers
Referenced by openSWRecord(), StarTableInternal::TableBox::read(), StarTableInternal::TableLine::read(), StarWriterStruct::DatabaseName::read(), StarTableInternal::Table::read(), StarObjectPageStyleInternal::PageDesc::read(), StarWriterStruct::DocStats::read(), StarWriterStruct::Macro::read(), StarWriterStruct::NoteInfo::read(), StarWriterStruct::TOX::read(), StarWriterStruct::TOX51::read(), SWFieldManager::readField(), StarObjectNumericRuler::readLevel(), StarObjectNumericRuler::readList(), readRecordSizes(), readStringsPool(), StarObjectText::readSWContent(), StarFormatManager::readSWFormatDef(), StarObjectText::readSWGraphNode(), readSWHeader(), StarObjectText::readSWImageMap(), StarObjectText::readSWOLENode(), StarFormatManager::readSWPatternLCL(), StarObjectText::readSWSection(), StarObjectText::readSWTextZone(), and StarObjectText::readWriterDocument().
|
inline |
checks if the document is compatible with vers1 and not vers2
|
inline |
checks if the document is compatible with vers1 and not vers2 or vers3
|
inline |
checks if the document is compatible with vers1 and not vers2 or vers3 and not vers4
|
inline |
return the zone name
bool StarZone::openDummyRecord | ( | ) |
open a dummy record
Referenced by StarItemPool::readAttribute().
unsigned char StarZone::openFlagZone | ( | ) |
try to open a cflag zone
Referenced by StarLayout::read(), StarObjectPageStyle::read(), StarWriterStruct::Attribute::read(), StarTableInternal::TableBox::read(), StarObjectNumericRuler::read(), StarWriterStruct::Bookmark::read(), StarTableInternal::TableLine::read(), StarTableInternal::Table::read(), StarObjectPageStyleInternal::PageDesc::read(), StarWriterStruct::NodeRedline::read(), StarWriterStruct::NoteInfo::read(), StarWriterStruct::Redline::read(), StarWriterStruct::TOX::read(), StarWriterStruct::TOX51::read(), SWFieldManager::readField(), StarObjectNumericRuler::readLevel(), StarObjectNumericRuler::readList(), StarWriterStruct::Redline::readList(), readRecordSizes(), StarObjectText::readSWContent(), StarFormatManager::readSWFormatDef(), StarObjectText::readSWGraphNode(), StarObjectText::readSWImageMap(), StarObjectText::readSWJobSetUp(), StarFormatManager::readSWPatternLCL(), StarObjectText::readSWSection(), StarObjectText::readSWTextZone(), and StarObjectText::readWriterDocument().
bool StarZone::openRecord | ( | ) |
try to open a classic record: size (32 bytes) + size-4 bytes
Referenced by StarObjectModel::read(), StarObjectChart::readChartDocument(), StarObjectSmallGraphic::readFmFormObject(), StarObjectSmallGraphic::readSDRGluePoint(), StarObjectSmallGraphic::readSDRGluePointList(), StarObjectModel::readSdrPage(), StarObjectSmallGraphic::readSDRUserData(), StarObjectSmallGraphic::readSDRUserDataList(), StarObjectDraw::readSdrView(), StarObjectSmallGraphic::readSVDRObject(), StarObjectSmallGraphic::readSVDRObjectAttrib(), StarObjectSmallGraphic::readSVDRObjectCaption(), StarObjectSmallGraphic::readSVDRObjectCircle(), StarObjectSmallGraphic::readSVDRObjectEdge(), StarObjectSmallGraphic::readSVDRObjectGraph(), StarObjectSmallGraphic::readSVDRObjectGroup(), StarObjectSmallGraphic::readSVDRObjectHeader(), StarObjectSmallGraphic::readSVDRObjectMeasure(), StarObjectSmallGraphic::readSVDRObjectOLE(), StarObjectSmallGraphic::readSVDRObjectPath(), StarObjectSmallGraphic::readSVDRObjectRect(), and StarObjectSmallGraphic::readSVDRObjectText().
bool StarZone::openSCHHeader | ( | ) |
open a zone header present in a SCH file
Referenced by StarObjectChart::readChartDocument(), StarObjectDraw::readPresentationData(), StarObjectChart::readSCHAttributes(), StarObjectChart::readSCHMemChart(), StarObjectDraw::readSdrCustomShow(), StarObjectDraw::readSdrFrameView(), and StarObjectSmallGraphic::readSDUDObject().
bool StarZone::openSCRecord | ( | ) |
try to open a SC record: size (32 bytes) + size bytes
Referenced by StarObjectSpreadsheetInternal::ScMultiRecord::open(), StarObjectSpreadsheet::readCalcDocument(), StarObject::readPersistData(), SWFieldManager::readPersistField(), StarObjectSpreadsheet::readSCChangeTrack(), StarObjectSpreadsheet::readSCColumn(), StarObjectSpreadsheet::readSCQueryParam(), StarObjectSpreadsheet::readSCTable(), and StarObjectSpreadsheet::readSfxStyleSheets().
bool StarZone::openSDRHeader | ( | std::string & | magic | ) |
open a zone header present in a SDR file
Referenced by StarObjectModel::read(), StarObjectDraw::readSdrHelpLine(), StarObjectDraw::readSdrHelpLineSet(), StarObjectModel::readSdrLayer(), StarObjectModel::readSdrLayerSet(), StarObjectModel::readSdrMPageDesc(), StarObjectModel::readSdrMPageDescList(), StarObjectSmallGraphic::readSdrObject(), StarObjectSmallGraphic::readSDRObjectConnection(), StarObjectModel::readSdrPage(), StarObjectDraw::readSdrView(), and StarObjectSmallGraphic::readSVDRObjectGroup().
bool StarZone::openSfxRecord | ( | char & | type | ) |
try to open a Sfx record: type + size (24 bytes)
Referenced by StarFileManagerInternal::SfxMultiRecord::open(), StarItemPoolInternal::SfxMultiRecord::open(), StarItemPool::readStyles(), and StarItemPool::readV2().
bool StarZone::openSWRecord | ( | char & | type | ) |
try to open a SW record: type + size (24 bytes)
Referenced by StarLayout::read(), StarObjectPageStyle::read(), StarWriterStruct::Attribute::read(), StarTableInternal::TableBox::read(), StarObjectPageStyleInternal::NoteDesc::read(), StarObjectNumericRuler::read(), StarWriterStruct::Bookmark::read(), StarTableInternal::TableLine::read(), StarWriterStruct::DatabaseName::read(), StarTableInternal::Table::read(), StarObjectPageStyleInternal::PageDesc::read(), StarWriterStruct::Dictionary::read(), StarWriterStruct::DocStats::read(), StarWriterStruct::Macro::read(), StarWriterStruct::Mark::read(), StarWriterStruct::NodeRedline::read(), StarWriterStruct::NoteInfo::read(), StarWriterStruct::PrintData::read(), StarWriterStruct::Redline::read(), StarWriterStruct::TOX::read(), StarWriterStruct::TOX51::read(), StarLayout::readC1(), StarLayout::readC2(), StarLayout::readC4(), StarLayout::readChild(), StarLayout::readD0(), StarLayout::readD8(), SWFieldManager::readField(), StarObjectNumericRuler::readLevel(), StarObjectNumericRuler::readList(), StarWriterStruct::Attribute::readList(), StarWriterStruct::Bookmark::readList(), StarWriterStruct::Macro::readList(), StarWriterStruct::Redline::readList(), StarWriterStruct::TOX::readList(), StarWriterStruct::TOX51::readList(), StarWriterStruct::Redline::readListList(), readRecordSizes(), readStringsPool(), StarObjectText::readSWContent(), StarFormatManager::readSWFlyFrameList(), StarFormatManager::readSWFormatDef(), StarObjectText::readSWGraphNode(), StarObjectText::readSWImageMap(), StarObjectText::readSWJobSetUp(), StarFormatManager::readSWNumberFormatterList(), StarObjectText::readSWOLENode(), StarFormatManager::readSWPatternLCL(), StarObjectText::readSWSection(), StarObjectText::readSWTextZone(), and StarObjectText::readWriterDocument().
bool StarZone::openVersionCompatHeader | ( | ) |
open a version compat header (version+size)
Referenced by StarGraphicStruct::StarGraphic::read(), StarFileManager::readEmbeddedPicture(), StarFileManager::readFont(), and StarFileManager::readSVGDI().
|
protected |
try to read the record sizes
Referenced by readSWHeader().
|
inline |
try to read an unicode string
Referenced by StarObjectSmallText::read(), StarObjectModel::read(), StarGraphicStruct::StarBrush::read(), StarWriterStruct::Bookmark::read(), StarWriterStruct::DatabaseName::read(), StarWriterStruct::Dictionary::read(), StarWriterStruct::Macro::read(), StarWriterStruct::NoteInfo::read(), StarWriterStruct::Redline::read(), StarWriterStruct::TOX::read(), StarCharAttribute::StarCAttributeFont::read(), StarWriterStruct::TOX51::read(), StarParagraphAttribute::StarPAttributeNumericRuler::read(), StarPageAttribute::StarPAttributePage::read(), StarGraphicAttribute::StarGAttributeNamed::read(), StarCharAttribute::StarCAttributeFootnote::read(), StarCharAttribute::StarCAttributeINetFmt::read(), StarCharAttribute::StarCAttributeRefMark::read(), StarAttributeManager::readAttribute(), StarObjectNumericRuler::readAttributeLevel(), SDGParser::readBitmap(), StarObjectSpreadsheet::readCalcDocument(), SWFieldManager::readField(), StarObjectSmallGraphic::readFmFormObject(), StarFileManager::readFont(), StarFileManager::readJobSetUp(), StarObjectNumericRuler::readLevel(), StarObjectMath::readMathDocument(), StarFormatManager::readNumberFormat(), StarFormatManager::readNumberFormatter(), StarObject::readPersistData(), SWFieldManager::readPersistField(), StarObjectDraw::readPresentationData(), StarObjectSpreadsheet::readSCChangeTrack(), StarObjectSpreadsheet::readSCColumn(), StarObjectSpreadsheet::readSCData(), StarObjectSpreadsheet::readSCDBData(), StarObjectSpreadsheet::readSCDBPivot(), StarObjectChart::readSCHAttributes(), StarObjectChart::readSCHMemChart(), StarObjectSpreadsheet::readSCMatrix(), StarObjectSpreadsheet::readSCQueryParam(), StarObjectSpreadsheet::readSCTable(), StarCellFormula::readSCToken3(), StarObjectDraw::readSdrCustomShow(), StarObjectModel::readSdrLayer(), StarObjectModel::readSdrLayerSet(), StarObjectSmallGraphic::readSDROutlinerParaObject(), StarObjectModel::readSdrPageUnknownZone1(), StarObjectSmallGraphic::readSDUDObject(), readStringsPool(), StarItemPool::readStyles(), StarObjectSmallGraphic::readSVDRObject(), StarObjectSmallGraphic::readSVDRObjectAttrib(), StarObjectSmallGraphic::readSVDRObjectGraph(), StarObjectSmallGraphic::readSVDRObjectGroup(), StarObjectSmallGraphic::readSVDRObjectOLE(), StarFileManager::readSVGDI(), StarFormatManager::readSWFormatDef(), StarObjectText::readSWGraphNode(), StarObjectText::readSWImageMap(), StarObjectText::readSWOLENode(), StarFormatManager::readSWPatternLCL(), StarObjectText::readSWSection(), StarObjectText::readSWTextZone(), StarItemPool::readV1(), StarItemPool::readV2(), and StarObjectText::readWriterDocument().
bool StarZone::readString | ( | std::vector< uint32_t > & | string, |
std::vector< size_t > & | srcPositions, | ||
int | encoding = -1 , |
||
bool | checkEncryption = false |
||
) | const |
try to read an unicode string
bool StarZone::readStringsPool | ( | ) |
try to read a pool of strings
Referenced by StarObjectPageStyle::read(), StarObjectNumericRuler::read(), and StarObjectText::readWriterDocument().
bool StarZone::readSWHeader | ( | ) |
read the zone header present in a SW file
Referenced by StarObjectPageStyle::read(), StarObjectNumericRuler::read(), and StarObjectText::readWriterDocument().
|
inline |
sets the zone encoding
Referenced by StarObjectModel::read(), StarObjectSpreadsheet::readCalcDocument(), and StarObjectSpreadsheet::readSfxStyleSheets().
|
inline |
sets the zone GUI type
Referenced by StarObjectSpreadsheet::readCalcDocument(), and StarObjectSpreadsheet::readSfxStyleSheets().
void StarZone::setInput | ( | STOFFInputStreamPtr | input | ) |
reset the current input
Referenced by StarObjectSpreadsheet::readCalcDocument(), and StarObjectDraw::readDrawDocument().
|
protected |
the ascii zone
Referenced by ascii(), closeFlagZone(), closeRecord(), readRecordSizes(), readStringsPool(), readSWHeader(), setInput(), and ~StarZone().
|
protected |
the file ascii name
Referenced by readSWHeader().
|
protected |
other position to end position zone
Referenced by openSWRecord(), and readRecordSizes().
|
protected |
the document version
Referenced by getDocumentVersion(), isCompatibleWith(), and readSWHeader().
|
protected |
the zone encoding
Referenced by getEncoding(), readString(), readStringsPool(), readSWHeader(), and setEncoding().
|
protected |
the encryption
Referenced by checkEncryption(), readString(), readSWHeader(), and StarZone().
|
protected |
end of a cflags zone
Referenced by closeFlagZone(), closeRecord(), getFlagLastPosition(), openFlagZone(), openRecord(), openSCRecord(), openSfxRecord(), and openSWRecord().
|
protected |
the zone GUI type
Referenced by getGuiType(), and setGuiType().
|
protected |
the header version (for SDR zone)
Referenced by closeSCHHeader(), closeSDRHeader(), closeVersionCompatHeader(), getHeaderVersion(), openSCHHeader(), openSDRHeader(), and openVersionCompatHeader().
|
protected |
the input stream
Referenced by closeFlagZone(), closeRecord(), input(), openDummyRecord(), openFlagZone(), openRecord(), openSCHHeader(), openSCRecord(), openSDRHeader(), openSfxRecord(), openSWRecord(), openVersionCompatHeader(), readRecordSizes(), readString(), readStringsPool(), readSWHeader(), and setInput().
|
protected |
the pool name list
Referenced by getNumPoolNames(), getPoolName(), and readStringsPool().
|
protected |
the position stack
Referenced by closeRecord(), getRecordLastPosition(), getRecordLevel(), openDummyRecord(), openRecord(), openSCHHeader(), openSCRecord(), openSDRHeader(), openSfxRecord(), openSWRecord(), and openVersionCompatHeader().
|
protected |
the type stack
Referenced by closeRecord(), openDummyRecord(), openRecord(), openSCHHeader(), openSCRecord(), openSDRHeader(), openSfxRecord(), openSWRecord(), and openVersionCompatHeader().
|
protected |
the zone version
Referenced by getVersion(), and readSWHeader().
|
protected |
the zone name
Referenced by name(), readRecordSizes(), and readSWHeader().