LibreOffice Module sc (master) 1
|
Base class for chart record groups. More...
#include <xichart.hxx>
Public Member Functions | |
XclImpChGroupBase ()=default | |
XclImpChGroupBase (XclImpChGroupBase const &)=default | |
XclImpChGroupBase (XclImpChGroupBase &&)=default | |
XclImpChGroupBase & | operator= (XclImpChGroupBase const &)=default |
XclImpChGroupBase & | operator= (XclImpChGroupBase &&)=default |
virtual | ~XclImpChGroupBase () |
void | ReadRecordGroup (XclImpStream &rStrm) |
Reads the entire record group. More... | |
virtual void | ReadHeaderRecord (XclImpStream &rStrm)=0 |
Derived classes implement to read the group header record. More... | |
virtual void | ReadSubRecord (XclImpStream &rStrm)=0 |
Derived classes implement to read a record from the group. More... | |
Static Public Member Functions | |
static void | SkipBlock (XclImpStream &rStrm) |
Helper to skip a CHBEGIN/CHEND block, includes nested blocks. More... | |
Base class for chart record groups.
Provides helper functions to read sub records.
A chart record group consists of a header record, followed by a CHBEGIN record, followed by group sub records, and finished with a CHEND record.
Definition at line 178 of file xichart.hxx.
|
default |
|
default |
|
default |
|
virtual |
Definition at line 390 of file xichart.cxx.
|
default |
|
default |
|
pure virtual |
Derived classes implement to read the group header record.
Implemented in XclImpChEscherFormat, XclImpChFrame, XclImpChText, XclImpChDataFormat, XclImpChSeries, XclImpChLegend, XclImpChDropBar, XclImpChTypeGroup, XclImpChAxis, XclImpChAxesSet, and XclImpChChart.
Referenced by ReadRecordGroup().
void XclImpChGroupBase::ReadRecordGroup | ( | XclImpStream & | rStrm | ) |
Reads the entire record group.
@descr First calls ReadHeaderRecord() to read the contents of the header record. Then tries to read the sub records. If next record is a CHBEGIN record, ReadSubRecord() is called for each following record until a CHEND record is found.
Definition at line 394 of file xichart.cxx.
References EXC_ID_CHBEGIN, EXC_ID_CHEND, ReadHeaderRecord(), ReadSubRecord(), rStrm, and SkipBlock().
|
pure virtual |
Derived classes implement to read a record from the group.
Implemented in XclImpChEscherFormat, XclImpChFrameBase, XclImpChText, XclImpChDataFormat, XclImpChSeries, XclImpChLegend, XclImpChTypeGroup, XclImpChAxis, XclImpChAxesSet, and XclImpChChart.
Referenced by ReadRecordGroup().
|
static |
Helper to skip a CHBEGIN/CHEND block, includes nested blocks.
Definition at line 424 of file xichart.cxx.
References EXC_ID_CHBEGIN, EXC_ID_CHEND, rStrm, and SkipBlock().
Referenced by ReadRecordGroup(), and SkipBlock().