LibreOffice Module sc (master) 1
|
Base class for record groups containing frame formatting. More...
#include <xichart.hxx>
Public Member Functions | |
XclImpChFrameBase () | |
Creates a new frame object without internal formatting objects. More... | |
XclImpChFrameBase (const XclChFormatInfo &rFmtInfo) | |
Creates a new frame object with specific default formatting. More... | |
virtual void | ReadSubRecord (XclImpStream &rStrm) override |
Reads a frame formatting record (called by base class). More... | |
bool | IsAutoLine () const |
Returns true, if the line format is set to automatic. More... | |
bool | HasLine () const |
Returns true, if the line style is set to something visible. More... | |
sal_Int16 | GetLineWeight () const |
Returns the line weight used for this frame. More... | |
bool | IsAutoArea () const |
Returns true, if the area format is set to automatic. More... | |
Public Member Functions inherited from XclImpChGroupBase | |
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... | |
Protected Member Functions | |
void | ConvertLineBase (const XclImpChRoot &rRoot, ScfPropertySet &rPropSet, XclChObjectType eObjType, sal_uInt16 nFormatIdx=EXC_CHDATAFORMAT_UNKNOWN) const |
Converts and writes the contained line formatting to the passed property set. More... | |
void | ConvertAreaBase (const XclImpChRoot &rRoot, ScfPropertySet &rPropSet, XclChObjectType eObjType, sal_uInt16 nFormatIdx=EXC_CHDATAFORMAT_UNKNOWN, bool bUsePicFmt=false) const |
Converts and writes the contained area formatting to the passed property set. More... | |
void | ConvertFrameBase (const XclImpChRoot &rRoot, ScfPropertySet &rPropSet, XclChObjectType eObjType, sal_uInt16 nFormatIdx=EXC_CHDATAFORMAT_UNKNOWN, bool bUsePicFmt=false) const |
Converts and writes the contained data to the passed property set. More... | |
Protected Attributes | |
XclImpChLineFormatRef | mxLineFmt |
XclImpChAreaFormatRef | mxAreaFmt |
Line format (CHLINEFORMAT record). More... | |
XclImpChEscherFormatRef | mxEscherFmt |
Area format (CHAREAFORMAT record). More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from XclImpChGroupBase | |
static void | SkipBlock (XclImpStream &rStrm) |
Helper to skip a CHBEGIN/CHEND block, includes nested blocks. More... | |
Base class for record groups containing frame formatting.
Frame formatting can be part of several record groups, e.g. CHFRAME, CHDATAFORMAT, CHDROPBAR. It consists of CHLINEFORMAT, CHAREAFORMAT, and CHESCHERFORMAT group.
Definition at line 321 of file xichart.hxx.
|
inlineexplicit |
Creates a new frame object without internal formatting objects.
Definition at line 325 of file xichart.hxx.
|
explicit |
Creates a new frame object with specific default formatting.
Definition at line 560 of file xichart.cxx.
References EXC_CHAREAFORMAT_AUTO, EXC_CHFRAMETYPE_AUTO, EXC_CHFRAMETYPE_INVISIBLE, EXC_CHLINEFORMAT_AUTO, EXC_CHLINEFORMAT_NONE, EXC_PATT_NONE, XclChFormatInfo::mbCreateDefFrame, XclChFormatInfo::mbIsFrame, XclChFormatInfo::meDefFrameType, XclChLineFormat::mnFlags, XclChAreaFormat::mnFlags, XclChLineFormat::mnPattern, XclChAreaFormat::mnPattern, mxAreaFmt, mxLineFmt, and set_flag().
|
protected |
Converts and writes the contained area formatting to the passed property set.
Definition at line 618 of file xichart.cxx.
References XclImpChRoot::GetFormatInfo(), XclChFormatInfo::mbIsFrame, mxAreaFmt, and mxEscherFmt.
Referenced by XclImpChDataFormat::ConvertArea(), and ConvertFrameBase().
|
protected |
Converts and writes the contained data to the passed property set.
Definition at line 631 of file xichart.cxx.
References ConvertAreaBase(), and ConvertLineBase().
Referenced by XclImpChDropBar::Convert(), XclImpChFrame::Convert(), and XclImpChDataFormat::Convert().
|
protected |
Converts and writes the contained line formatting to the passed property set.
Definition at line 611 of file xichart.cxx.
References mxLineFmt.
Referenced by ConvertFrameBase(), and XclImpChDataFormat::ConvertLine().
|
inline |
Returns the line weight used for this frame.
Definition at line 337 of file xichart.hxx.
References EXC_CHLINEFORMAT_SINGLE, and mxLineFmt.
Referenced by XclImpChDataFormat::Convert().
|
inline |
Returns true, if the line style is set to something visible.
Definition at line 335 of file xichart.hxx.
References IsAutoLine(), and mxLineFmt.
Referenced by XclImpChDataFormat::Convert().
|
inline |
Returns true, if the area format is set to automatic.
Definition at line 340 of file xichart.hxx.
References mxAreaFmt, and mxEscherFmt.
Referenced by XclImpChDataFormat::UpdatePointFormat().
|
inline |
Returns true, if the line format is set to automatic.
Definition at line 333 of file xichart.hxx.
References mxLineFmt.
Referenced by HasLine(), and XclImpChDataFormat::UpdatePointFormat().
|
overridevirtual |
Reads a frame formatting record (called by base class).
Implements XclImpChGroupBase.
Reimplemented in XclImpChDataFormat.
Definition at line 592 of file xichart.cxx.
References EXC_ID_CHAREAFORMAT, EXC_ID_CHESCHERFORMAT, EXC_ID_CHLINEFORMAT, mxAreaFmt, mxEscherFmt, mxLineFmt, and rStrm.
Referenced by XclImpChDataFormat::ReadSubRecord().
|
protected |
Line format (CHLINEFORMAT record).
Definition at line 358 of file xichart.hxx.
Referenced by ConvertAreaBase(), IsAutoArea(), ReadSubRecord(), XclImpChFrame::UpdateObjFrame(), XclImpChDataFormat::UpdatePointFormat(), XclImpChDataFormat::UpdateSeriesFormat(), XclImpChDataFormat::UpdateTrendLineFormat(), and XclImpChFrameBase().
|
protected |
Area format (CHAREAFORMAT record).
Definition at line 359 of file xichart.hxx.
Referenced by ConvertAreaBase(), IsAutoArea(), ReadSubRecord(), XclImpChFrame::UpdateObjFrame(), XclImpChDataFormat::UpdateSeriesFormat(), and XclImpChDataFormat::UpdateTrendLineFormat().
|
protected |
Definition at line 357 of file xichart.hxx.
Referenced by XclImpChDataFormat::Convert(), ConvertLineBase(), GetLineWeight(), HasLine(), IsAutoLine(), ReadSubRecord(), XclImpChFrame::UpdateObjFrame(), XclImpChDataFormat::UpdatePointFormat(), XclImpChDataFormat::UpdateSeriesFormat(), XclImpChDataFormat::UpdateTrendLineFormat(), and XclImpChFrameBase().