LibreOffice Module sc (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
XclExpChFrameBase Class Reference

Base class for record groups containing frame formatting. More...

#include <xechart.hxx>

Inheritance diagram for XclExpChFrameBase:
[legend]
Collaboration diagram for XclExpChFrameBase:
[legend]

Public Member Functions

 XclExpChFrameBase ()
 
virtual ~XclExpChFrameBase ()
 

Protected Member Functions

void ConvertFrameBase (const XclExpChRoot &rRoot, const ScfPropertySet &rPropSet, XclChObjectType eObjType)
 Converts frame formatting properties from the passed property set. More...
 
void SetDefaultFrameBase (const XclExpChRoot &rRoot, XclChFrameType eDefFrameType, bool bIsFrame)
 Sets the frame formatting to the specified default type. More...
 
bool IsDefaultFrameBase (XclChFrameType eDefFrameType) const
 Returns true, if the frame contains default formatting (as if the frame is missing). More...
 
void WriteFrameRecords (XclExpStream &rStrm)
 Writes all contained frame records to the passed stream. More...
 

Private Attributes

XclExpChLineFormatRef mxLineFmt
 
XclExpChAreaFormatRef mxAreaFmt
 Line format (CHLINEFORMAT record). More...
 
XclExpChEscherFormatRef mxEscherFmt
 Area format (CHAREAFORMAT record). More...
 

Detailed Description

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 326 of file xechart.hxx.

Constructor & Destructor Documentation

◆ XclExpChFrameBase()

XclExpChFrameBase::XclExpChFrameBase ( )
explicit

Definition at line 721 of file xechart.cxx.

◆ ~XclExpChFrameBase()

XclExpChFrameBase::~XclExpChFrameBase ( )
virtual

Definition at line 725 of file xechart.cxx.

Member Function Documentation

◆ ConvertFrameBase()

void XclExpChFrameBase::ConvertFrameBase ( const XclExpChRoot rRoot,
const ScfPropertySet rPropSet,
XclChObjectType  eObjType 
)
protected

◆ IsDefaultFrameBase()

bool XclExpChFrameBase::IsDefaultFrameBase ( XclChFrameType  eDefFrameType) const
protected

Returns true, if the frame contains default formatting (as if the frame is missing).

Definition at line 767 of file xechart.cxx.

References mxAreaFmt, and mxLineFmt.

Referenced by XclExpChFrame::IsDefault().

◆ SetDefaultFrameBase()

void XclExpChFrameBase::SetDefaultFrameBase ( const XclExpChRoot rRoot,
XclChFrameType  eDefFrameType,
bool  bIsFrame 
)
protected

Sets the frame formatting to the specified default type.

Definition at line 752 of file xechart.cxx.

References mxAreaFmt, mxEscherFmt, and mxLineFmt.

Referenced by XclExpChDropBar::Convert(), and XclExpChDataFormat::ConvertStockSeries().

◆ WriteFrameRecords()

void XclExpChFrameBase::WriteFrameRecords ( XclExpStream rStrm)
protected

Writes all contained frame records to the passed stream.

Definition at line 774 of file xechart.cxx.

References mxAreaFmt, mxEscherFmt, mxLineFmt, and rStrm.

Referenced by XclExpChFrame::Save(), XclExpChFrame::WriteSubRecords(), XclExpChDataFormat::WriteSubRecords(), and XclExpChDropBar::WriteSubRecords().

Member Data Documentation

◆ mxAreaFmt

XclExpChAreaFormatRef XclExpChFrameBase::mxAreaFmt
private

Line format (CHLINEFORMAT record).

Definition at line 348 of file xechart.hxx.

Referenced by ConvertFrameBase(), IsDefaultFrameBase(), SetDefaultFrameBase(), and WriteFrameRecords().

◆ mxEscherFmt

XclExpChEscherFormatRef XclExpChFrameBase::mxEscherFmt
private

Area format (CHAREAFORMAT record).

Definition at line 349 of file xechart.hxx.

Referenced by ConvertFrameBase(), SetDefaultFrameBase(), and WriteFrameRecords().

◆ mxLineFmt

XclExpChLineFormatRef XclExpChFrameBase::mxLineFmt
private

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