StarObjectSpreadsheetInternal::ScMultiRecord Struct Reference

Internal: a structure use to read ScMultiRecord zone of a StarObjectSpreadsheet. More...

Public Member Functions

 ScMultiRecord (StarZone &zone)
 constructor More...
 
 ~ScMultiRecord ()
 destructor More...
 
bool open ()
 try to open a zone More...
 
void close (std::string const &wh)
 try to close a zone More...
 
bool isContentOpened () const
 returns true if a content is opened More...
 
bool openContent (std::string const &wh)
 try to go to the new content positon More...
 
bool closeContent (std::string const &wh)
 try to go to the new content positon More...
 
long getContentLastPosition () const
 returns the last content position More...
 

Protected Attributes

StarZonem_zone
 the main zone More...
 
bool m_zoneOpened
 true if a SfxRecord has been opened More...
 
uint32_t m_actualRecord
 the actual record More...
 
uint32_t m_numRecord
 the number of record More...
 
long m_startPos
 the start of data position More...
 
long m_endPos
 the end of data position More...
 
long m_endContentPos
 the end of the content position More...
 
long m_endRecordPos
 the end of the record position More...
 
std::vector< uint32_t > m_offsetList
 the list of offset More...
 
std::string m_extra
 extra data More...
 

Private Member Functions

 ScMultiRecord (ScMultiRecord const &orig)
 
ScMultiRecordoperator= (ScMultiRecord const &orig)
 

Friends

std::ostream & operator<< (std::ostream &o, ScMultiRecord const &r)
 basic operator<< ; print header data More...
 

Detailed Description

Internal: a structure use to read ScMultiRecord zone of a StarObjectSpreadsheet.

Constructor & Destructor Documentation

◆ ScMultiRecord() [1/2]

StarObjectSpreadsheetInternal::ScMultiRecord::ScMultiRecord ( StarZone zone)
inlineexplicit

constructor

◆ ~ScMultiRecord()

StarObjectSpreadsheetInternal::ScMultiRecord::~ScMultiRecord ( )
inline

destructor

◆ ScMultiRecord() [2/2]

StarObjectSpreadsheetInternal::ScMultiRecord::ScMultiRecord ( ScMultiRecord const &  orig)
private

Member Function Documentation

◆ close()

void StarObjectSpreadsheetInternal::ScMultiRecord::close ( std::string const &  wh)
inline

◆ closeContent()

bool StarObjectSpreadsheetInternal::ScMultiRecord::closeContent ( std::string const &  wh)
inline

◆ getContentLastPosition()

long StarObjectSpreadsheetInternal::ScMultiRecord::getContentLastPosition ( ) const
inline

◆ isContentOpened()

bool StarObjectSpreadsheetInternal::ScMultiRecord::isContentOpened ( ) const
inline

returns true if a content is opened

Referenced by StarObjectSpreadsheet::readCalcDocument().

◆ open()

◆ openContent()

bool StarObjectSpreadsheetInternal::ScMultiRecord::openContent ( std::string const &  wh)
inline

◆ operator=()

ScMultiRecord& StarObjectSpreadsheetInternal::ScMultiRecord::operator= ( ScMultiRecord const &  orig)
private

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  o,
ScMultiRecord const &  r 
)
friend

basic operator<< ; print header data

Member Data Documentation

◆ m_actualRecord

uint32_t StarObjectSpreadsheetInternal::ScMultiRecord::m_actualRecord
protected

the actual record

Referenced by open(), and openContent().

◆ m_endContentPos

long StarObjectSpreadsheetInternal::ScMultiRecord::m_endContentPos
protected

the end of the content position

Referenced by close(), closeContent(), getContentLastPosition(), isContentOpened(), open(), and openContent().

◆ m_endPos

long StarObjectSpreadsheetInternal::ScMultiRecord::m_endPos
protected

the end of data position

Referenced by close(), getContentLastPosition(), open(), and openContent().

◆ m_endRecordPos

long StarObjectSpreadsheetInternal::ScMultiRecord::m_endRecordPos
protected

the end of the record position

Referenced by close(), and open().

◆ m_extra

std::string StarObjectSpreadsheetInternal::ScMultiRecord::m_extra
protected

extra data

Referenced by open().

◆ m_numRecord

uint32_t StarObjectSpreadsheetInternal::ScMultiRecord::m_numRecord
protected

the number of record

Referenced by open(), and openContent().

◆ m_offsetList

std::vector<uint32_t> StarObjectSpreadsheetInternal::ScMultiRecord::m_offsetList
protected

the list of offset

Referenced by open(), and openContent().

◆ m_startPos

long StarObjectSpreadsheetInternal::ScMultiRecord::m_startPos
protected

the start of data position

Referenced by open().

◆ m_zone

StarZone& StarObjectSpreadsheetInternal::ScMultiRecord::m_zone
protected

the main zone

Referenced by close(), closeContent(), open(), and openContent().

◆ m_zoneOpened

bool StarObjectSpreadsheetInternal::ScMultiRecord::m_zoneOpened
protected

true if a SfxRecord has been opened

Referenced by close(), open(), and ~ScMultiRecord().


The documentation for this struct was generated from the following file:

Generated on Sun Mar 24 2019 23:33:16 for libstaroffice by doxygen 1.8.15