LibreOffice Module sc (master)  1
Public Member Functions | Static Public Member Functions | List of all members
XclImpChGroupBase Class Referenceabstract

Base class for chart record groups. More...

#include <xichart.hxx>

Inheritance diagram for XclImpChGroupBase:

Public Member Functions

 XclImpChGroupBase ()=default
 XclImpChGroupBase (XclImpChGroupBase const &)=default
 XclImpChGroupBase (XclImpChGroupBase &&)=default
XclImpChGroupBaseoperator= (XclImpChGroupBase const &)=default
XclImpChGroupBaseoperator= (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...

Detailed Description

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.

Constructor & Destructor Documentation

XclImpChGroupBase::XclImpChGroupBase ( )
XclImpChGroupBase::XclImpChGroupBase ( XclImpChGroupBase const &  )
XclImpChGroupBase::XclImpChGroupBase ( XclImpChGroupBase &&  )
XclImpChGroupBase::~XclImpChGroupBase ( )

Definition at line 390 of file xichart.cxx.

Member Function Documentation

XclImpChGroupBase& XclImpChGroupBase::operator= ( XclImpChGroupBase const &  )
XclImpChGroupBase& XclImpChGroupBase::operator= ( XclImpChGroupBase &&  )
virtual void XclImpChGroupBase::ReadHeaderRecord ( XclImpStream rStrm)
pure virtual
void XclImpChGroupBase::ReadRecordGroup ( XclImpStream rStrm)

Reads the entire record group.

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, XclImpStream::GetNextRecId(), XclImpStream::GetRecId(), ReadHeaderRecord(), ReadSubRecord(), SkipBlock(), and XclImpStream::StartNextRecord().

virtual void XclImpChGroupBase::ReadSubRecord ( XclImpStream rStrm)
pure virtual

Derived classes implement to read a record from the group.

Implemented in XclImpChChart, XclImpChAxesSet, XclImpChAxis, XclImpChTypeGroup, XclImpChLegend, XclImpChSeries, XclImpChDataFormat, XclImpChText, XclImpChFrameBase, and XclImpChEscherFormat.

Referenced by ReadRecordGroup().

void XclImpChGroupBase::SkipBlock ( XclImpStream rStrm)

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, XclImpStream::GetRecId(), and XclImpStream::StartNextRecord().

Referenced by ReadRecordGroup().

The documentation for this class was generated from the following files: