LibreOffice Module sc (master)  1
Public Member Functions | Public Attributes | List of all members
XclExpCellArea Struct Reference

Extends the XclCellArea struct for export. More...

#include <xestyle.hxx>

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

Public Member Functions

 XclExpCellArea ()
 Background color ID. More...
 
bool FillFromItemSet (const SfxItemSet &rItemSet, XclExpPalette &rPalette, bool bStyle)
 Fills the area attributes from the passed item set. More...
 
void SetFinalColors (const XclExpPalette &rPalette)
 Fills the mn***Color base members from the mn***ColorId members. More...
 
void FillToXF5 (sal_uInt32 &rnArea) const
 Fills the data to the passed fields of a BIFF5/BIFF7 XF record. More...
 
void FillToXF8 (sal_uInt32 &rnBorder2, sal_uInt16 &rnArea) const
 Fills the data to the passed fields of a BIFF8 XF record. More...
 
void FillToCF8 (sal_uInt16 &rnPattern, sal_uInt16 &rnColor) const
 Fills the data to the passed fields of a BIFF8 CF (conditional format) record. More...
 
void SaveXml (XclExpXmlStream &rStrm) const
 
- Public Member Functions inherited from XclCellArea
 XclCellArea ()
 Fill pattern. More...
 
bool IsTransparent () const
 Returns true, if the area represents transparent state. More...
 

Public Attributes

sal_uInt32 mnForeColorId
 
sal_uInt32 mnBackColorId
 Foreground color ID. More...
 
- Public Attributes inherited from XclCellArea
sal_uInt16 mnForeColor
 
sal_uInt16 mnBackColor
 Palette index to foreground color. More...
 
sal_uInt8 mnPattern
 Palette index to background color. More...
 

Detailed Description

Extends the XclCellArea struct for export.

Provides functions to fill from item sets and to fill to Excel record data.

Definition at line 374 of file xestyle.hxx.

Constructor & Destructor Documentation

XclExpCellArea::XclExpCellArea ( )
explicit

Background color ID.

Definition at line 1867 of file xestyle.cxx.

Member Function Documentation

bool XclExpCellArea::FillFromItemSet ( const SfxItemSet rItemSet,
XclExpPalette rPalette,
bool  bStyle 
)
void XclExpCellArea::FillToCF8 ( sal_uInt16 &  rnPattern,
sal_uInt16 &  rnColor 
) const

Fills the data to the passed fields of a BIFF8 CF (conditional format) record.

Definition at line 1910 of file xestyle.cxx.

References EXC_COLOR_WINDOWTEXT, EXC_PATT_SOLID, insert_value(), XclCellArea::IsTransparent(), XclCellArea::mnBackColor, XclCellArea::mnForeColor, and XclCellArea::mnPattern.

Referenced by XclExpCFImpl::WriteBody().

void XclExpCellArea::FillToXF5 ( sal_uInt32 &  rnArea) const

Fills the data to the passed fields of a BIFF5/BIFF7 XF record.

Definition at line 1896 of file xestyle.cxx.

References insert_value(), XclCellArea::mnBackColor, XclCellArea::mnForeColor, and XclCellArea::mnPattern.

Referenced by XclExpXF::WriteBody5().

void XclExpCellArea::FillToXF8 ( sal_uInt32 &  rnBorder2,
sal_uInt16 &  rnArea 
) const

Fills the data to the passed fields of a BIFF8 XF record.

Definition at line 1903 of file xestyle.cxx.

References insert_value(), XclCellArea::mnBackColor, XclCellArea::mnForeColor, and XclCellArea::mnPattern.

Referenced by XclExpXF::WriteBody8().

void XclExpCellArea::SaveXml ( XclExpXmlStream rStrm) const
void XclExpCellArea::SetFinalColors ( const XclExpPalette rPalette)

Fills the mn***Color base members from the mn***ColorId members.

Definition at line 1891 of file xestyle.cxx.

References XclExpPalette::GetMixedColors(), XclCellArea::mnBackColor, mnBackColorId, XclCellArea::mnForeColor, mnForeColorId, and XclCellArea::mnPattern.

Referenced by XclExpXF::SetFinalColors(), and XclExpCFImpl::WriteBody().

Member Data Documentation

sal_uInt32 XclExpCellArea::mnBackColorId

Foreground color ID.

Definition at line 377 of file xestyle.hxx.

Referenced by FillFromItemSet(), and SetFinalColors().

sal_uInt32 XclExpCellArea::mnForeColorId

Definition at line 376 of file xestyle.hxx.

Referenced by FillFromItemSet(), and SetFinalColors().


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