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

The CHAREAFORMAT record containing simple area formatting data (solid or patterns). More...

#include <xichart.hxx>

Collaboration diagram for XclImpChAreaFormat:
[legend]

Public Member Functions

 XclImpChAreaFormat ()
 Creates a new area format object with automatic formatting. More...
 
 XclImpChAreaFormat (const XclChAreaFormat &rAreaFmt)
 Creates a new area format object with the passed formatting. More...
 
void ReadChAreaFormat (XclImpStream &rStrm)
 Reads the CHAREAFORMAT record (basic fill properties, e.g. More...
 
bool IsAuto () const
 Returns true, if the area format is set to automatic. More...
 
bool HasArea () const
 Returns true, if the area style is set to something visible. More...
 
void Convert (const XclImpChRoot &rRoot, ScfPropertySet &rPropSet, XclChObjectType eObjType, sal_uInt16 nFormatIdx) const
 Converts and writes the contained data to the passed property set. More...
 

Private Attributes

XclChAreaFormat maData
 

Detailed Description

The CHAREAFORMAT record containing simple area formatting data (solid or patterns).

Definition at line 266 of file xichart.hxx.

Constructor & Destructor Documentation

XclImpChAreaFormat::XclImpChAreaFormat ( )
inlineexplicit

Creates a new area format object with automatic formatting.

Definition at line 270 of file xichart.hxx.

XclImpChAreaFormat::XclImpChAreaFormat ( const XclChAreaFormat rAreaFmt)
inlineexplicit

Creates a new area format object with the passed formatting.

Definition at line 272 of file xichart.hxx.

Member Function Documentation

void XclImpChAreaFormat::Convert ( const XclImpChRoot rRoot,
ScfPropertySet rPropSet,
XclChObjectType  eObjType,
sal_uInt16  nFormatIdx 
) const
bool XclImpChAreaFormat::HasArea ( ) const
inline

Returns true, if the area style is set to something visible.

Definition at line 280 of file xichart.hxx.

References EXC_PATT_NONE, IsAuto(), maData, and XclChAreaFormat::mnPattern.

bool XclImpChAreaFormat::IsAuto ( ) const
inline

Returns true, if the area format is set to automatic.

Definition at line 278 of file xichart.hxx.

References EXC_CHAREAFORMAT_AUTO, get_flag(), maData, and XclChAreaFormat::mnFlags.

Referenced by Convert(), and HasArea().

void XclImpChAreaFormat::ReadChAreaFormat ( XclImpStream rStrm)

Member Data Documentation

XclChAreaFormat XclImpChAreaFormat::maData
private

Definition at line 288 of file xichart.hxx.

Referenced by Convert(), HasArea(), IsAuto(), and ReadChAreaFormat().


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