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 265 of file xichart.hxx.

Constructor & Destructor Documentation

◆ XclImpChAreaFormat() [1/2]

XclImpChAreaFormat::XclImpChAreaFormat ( )
inlineexplicit

Creates a new area format object with automatic formatting.

Definition at line 269 of file xichart.hxx.

◆ XclImpChAreaFormat() [2/2]

XclImpChAreaFormat::XclImpChAreaFormat ( const XclChAreaFormat rAreaFmt)
inlineexplicit

Creates a new area format object with the passed formatting.

Definition at line 271 of file xichart.hxx.

Member Function Documentation

◆ Convert()

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

◆ HasArea()

bool XclImpChAreaFormat::HasArea ( ) const
inline

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

Definition at line 279 of file xichart.hxx.

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

◆ IsAuto()

bool XclImpChAreaFormat::IsAuto ( ) const
inline

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

Definition at line 277 of file xichart.hxx.

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

Referenced by Convert(), and HasArea().

◆ ReadChAreaFormat()

void XclImpChAreaFormat::ReadChAreaFormat ( XclImpStream rStrm)

Reads the CHAREAFORMAT record (basic fill properties, e.g.

transparent or colored).

Definition at line 486 of file xichart.cxx.

References EXC_BIFF8, XclRoot::GetBiff(), XclImpPalette::GetColor(), XclImpRoot::GetPalette(), XclChAreaFormat::maBackColor, maData, XclChAreaFormat::maPattColor, XclChAreaFormat::mnFlags, XclChAreaFormat::mnPattern, and rStrm.

Member Data Documentation

◆ maData

XclChAreaFormat XclImpChAreaFormat::maData
private

Definition at line 287 of file xichart.hxx.

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


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