XclExpCellArea Struct Reference

Extends the XclCellArea struct for export. More...

#include <xestyle.hxx>

Inheritance diagram for XclExpCellArea:

Inheritance graph
[legend]
Collaboration diagram for XclExpCellArea:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 XclExpCellArea ()
 Background color ID.
bool FillFromItemSet (const SfxItemSet &rItemSet, XclExpPalette &rPalette, bool bStyle=false)
 Fills the area attributes from the passed item set.
void SetFinalColors (const XclExpPalette &rPalette)
 Fills the mn***Color base members from the mn***ColorId members.
void FillToXF5 (sal_uInt32 &rnArea) const
 Fills the data to the passed fields of a BIFF5/BIFF7 XF record.
void FillToXF8 (sal_uInt32 &rnBorder2, sal_uInt16 &rnArea) const
 Fills the data to the passed fields of a BIFF8 XF record.
void FillToCF8 (sal_uInt16 &rnPattern, sal_uInt16 &rnColor) const
 Fills the data to the passed fields of a BIFF8 CF (conditional format) record.
void SaveXml (XclExpXmlStream &rStrm) const
 XclExpCellArea ()
 Background color ID.
bool FillFromItemSet (const SfxItemSet &rItemSet, XclExpPalette &rPalette, bool bStyle=false)
 Fills the area attributes from the passed item set.
void SetFinalColors (const XclExpPalette &rPalette)
 Fills the mn***Color base members from the mn***ColorId members.
void FillToXF5 (sal_uInt32 &rnArea) const
 Fills the data to the passed fields of a BIFF5/BIFF7 XF record.
void FillToXF8 (sal_uInt32 &rnBorder2, sal_uInt16 &rnArea) const
 Fills the data to the passed fields of a BIFF8 XF record.
void FillToCF8 (sal_uInt16 &rnPattern, sal_uInt16 &rnColor) const
 Fills the data to the passed fields of a BIFF8 CF (conditional format) record.
void SaveXml (XclExpXmlStream &rStrm) const

Public Attributes

sal_uInt32 mnForeColorId
sal_uInt32 mnBackColorId
 Foreground color ID.


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 424 of file inc/xestyle.hxx.


Constructor & Destructor Documentation

XclExpCellArea::XclExpCellArea (  )  [explicit]

Background color ID.

Definition at line 1807 of file xestyle.cxx.

XclExpCellArea::XclExpCellArea (  )  [explicit]

Background color ID.


Member Function Documentation

bool XclExpCellArea::FillFromItemSet ( const SfxItemSet rItemSet,
XclExpPalette rPalette,
bool  bStyle = false 
)

void XclExpCellArea::SetFinalColors ( const XclExpPalette rPalette  ) 

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

Definition at line 1831 of file xestyle.cxx.

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

Referenced by XclExpXF::SetFinalColors(), and 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 1850 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 1857 of file xestyle.cxx.

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

Referenced by XclExpXF::WriteBody8().

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 1864 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::SaveXml ( XclExpXmlStream rStrm  )  const

bool XclExpCellArea::FillFromItemSet ( const SfxItemSet rItemSet,
XclExpPalette rPalette,
bool  bStyle = false 
)

Fills the area attributes from the passed item set.

Returns:
true = At least one area item is set.

void XclExpCellArea::SetFinalColors ( const XclExpPalette rPalette  ) 

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

void XclExpCellArea::FillToXF5 ( sal_uInt32 &  rnArea  )  const

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

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

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

void XclExpCellArea::FillToCF8 ( sal_uInt16 &  rnPattern,
sal_uInt16 &  rnColor 
) const

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

void XclExpCellArea::SaveXml ( XclExpXmlStream rStrm  )  const


Member Data Documentation

Definition at line 426 of file inc/xestyle.hxx.

Referenced by FillFromItemSet(), XclExpFillPred::operator()(), and SetFinalColors().

Foreground color ID.

Definition at line 427 of file inc/xestyle.hxx.

Referenced by FillFromItemSet(), XclExpFillPred::operator()(), and SetFinalColors().


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

Generated on Thu Apr 29 18:49:21 2010 for ooo-build Module sc (ooo/OOO320_m15) by  doxygen 1.5.6