#include <xestyle.hxx>


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. | |
Provides functions to fill from item sets and to fill to Excel record data.
Definition at line 424 of file inc/xestyle.hxx.
| XclExpCellArea::XclExpCellArea | ( | ) | [explicit] |
| XclExpCellArea::XclExpCellArea | ( | ) | [explicit] |
Background color ID.
| bool XclExpCellArea::FillFromItemSet | ( | const SfxItemSet & | rItemSet, | |
| XclExpPalette & | rPalette, | |||
| bool | bStyle = false | |||
| ) |
Fills the area attributes from the passed item set.
Definition at line 1813 of file xestyle.cxx.
References ATTR_BACKGROUND, ScfTools::CheckItem(), EXC_COLOR_CELLAREA, EXC_COLOR_WINDOWBACK, EXC_COLOR_WINDOWTEXT, EXC_PATT_NONE, EXC_PATT_SOLID, SvxBrushItem::GetColor(), XclExpPalette::GetColorIdFromIndex(), GETITEM, XclExpPalette::InsertColor(), mnBackColorId, mnForeColorId, and XclCellArea::mnPattern.
Referenced by XclExpXF::Init(), and XclExpCFImpl::XclExpCFImpl().
| 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 |
Definition at line 1891 of file xestyle.cxx.
References EXC_PATT_NONE, XclExpPalette::GetColor(), XclExpXmlStream::GetCurrentStream(), XclExpRoot::GetPalette(), XclExpXmlStream::GetRoot(), getStr(), XclCellArea::mnBackColor, XclCellArea::mnForeColor, XclCellArea::mnPattern, XclXmlUtils::ToOString(), and ToPatternType().
| bool XclExpCellArea::FillFromItemSet | ( | const SfxItemSet & | rItemSet, | |
| XclExpPalette & | rPalette, | |||
| bool | bStyle = false | |||
| ) |
Fills the area attributes from the passed item 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 |
| sal_uInt32 XclExpCellArea::mnForeColorId |
Definition at line 426 of file inc/xestyle.hxx.
Referenced by FillFromItemSet(), XclExpFillPred::operator()(), and SetFinalColors().
| sal_uInt32 XclExpCellArea::mnBackColorId |
Foreground color ID.
Definition at line 427 of file inc/xestyle.hxx.
Referenced by FillFromItemSet(), XclExpFillPred::operator()(), and SetFinalColors().
1.5.6