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

Constructor & Destructor Documentation

XclExpChFrameBase::XclExpChFrameBase ( )
explicit

Definition at line 722 of file xechart.cxx.

XclExpChFrameBase::~XclExpChFrameBase ( )
virtual

Definition at line 726 of file xechart.cxx.

Member Function Documentation

void XclExpChFrameBase::ConvertFrameBase ( const XclExpChRoot rRoot,
const ScfPropertySet rPropSet,
XclChObjectType  eObjType 
)
protected
bool XclExpChFrameBase::IsDefaultFrameBase ( XclChFrameType  eDefFrameType) const
protected

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

Definition at line 768 of file xechart.cxx.

References mxAreaFmt, and mxLineFmt.

Referenced by XclExpChFrame::IsDefault().

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

Sets the frame formatting to the specified default type.

Definition at line 753 of file xechart.cxx.

References mxAreaFmt, mxEscherFmt, and mxLineFmt.

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

void XclExpChFrameBase::WriteFrameRecords ( XclExpStream rStrm)
protected

Writes all contained frame records to the passed stream.

Definition at line 775 of file xechart.cxx.

References mxAreaFmt, mxEscherFmt, and mxLineFmt.

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

Member Data Documentation

XclExpChAreaFormatRef XclExpChFrameBase::mxAreaFmt
private

Line format (CHLINEFORMAT record).

Definition at line 349 of file xechart.hxx.

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

XclExpChEscherFormatRef XclExpChFrameBase::mxEscherFmt
private

Area format (CHAREAFORMAT record).

Definition at line 350 of file xechart.hxx.

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

XclExpChLineFormatRef XclExpChFrameBase::mxLineFmt
private

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