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

Extends the XclCellBorder struct for export. More...

#include <xestyle.hxx>

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

Public Member Functions

 XclExpCellBorder ()
 Color ID for diagonal line(s). More...
 
bool FillFromItemSet (const SfxItemSet &rItemSet, XclExpPalette &rPalette, XclBiff eBiff, bool bStyle=false)
 Fills the border 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 &rnBorder, sal_uInt32 &rnArea) const
 Fills the data to the passed fields of a BIFF5/BIFF7 XF record. More...
 
void FillToXF8 (sal_uInt32 &rnBorder1, sal_uInt32 &rnBorder2) const
 Fills the data to the passed fields of a BIFF8 XF record. More...
 
void FillToCF8 (sal_uInt16 &rnLine, sal_uInt32 &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 XclCellBorder
 XclCellBorder ()
 true = Bottom-left to top-right on. More...
 

Public Attributes

sal_uInt32 mnLeftColorId
 
sal_uInt32 mnRightColorId
 Color ID for left line. More...
 
sal_uInt32 mnTopColorId
 Color ID for right line. More...
 
sal_uInt32 mnBottomColorId
 Color ID for top line. More...
 
sal_uInt32 mnDiagColorId
 Color ID for bottom line. More...
 
- Public Attributes inherited from XclCellBorder
sal_uInt16 mnLeftColor
 
sal_uInt16 mnRightColor
 Palette index for left line. More...
 
sal_uInt16 mnTopColor
 Palette index for right line. More...
 
sal_uInt16 mnBottomColor
 Palette index for top line. More...
 
sal_uInt16 mnDiagColor
 Palette index for bottom line. More...
 
sal_uInt8 mnLeftLine
 Palette index for diagonal line(s). More...
 
sal_uInt8 mnRightLine
 Style of left line. More...
 
sal_uInt8 mnTopLine
 Style of right line. More...
 
sal_uInt8 mnBottomLine
 Style of top line. More...
 
sal_uInt8 mnDiagLine
 Style of bottom line. More...
 
bool mbDiagTLtoBR
 Style of diagonal line(s). More...
 
bool mbDiagBLtoTR
 true = Top-left to bottom-right on. More...
 

Detailed Description

Extends the XclCellBorder struct for export.

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

Definition at line 343 of file xestyle.hxx.

Constructor & Destructor Documentation

XclExpCellBorder::XclExpCellBorder ( )
explicit

Color ID for diagonal line(s).

Definition at line 1694 of file xestyle.cxx.

Member Function Documentation

bool XclExpCellBorder::FillFromItemSet ( const SfxItemSet rItemSet,
XclExpPalette rPalette,
XclBiff  eBiff,
bool  bStyle = false 
)
void XclExpCellBorder::FillToCF8 ( sal_uInt16 &  rnLine,
sal_uInt32 &  rnColor 
) const
void XclExpCellBorder::FillToXF5 ( sal_uInt32 &  rnBorder,
sal_uInt32 &  rnArea 
) const
void XclExpCellBorder::FillToXF8 ( sal_uInt32 &  rnBorder1,
sal_uInt32 &  rnBorder2 
) const
void XclExpCellBorder::SaveXml ( XclExpXmlStream rStrm) const
void XclExpCellBorder::SetFinalColors ( const XclExpPalette rPalette)

Member Data Documentation

sal_uInt32 XclExpCellBorder::mnBottomColorId

Color ID for top line.

Definition at line 348 of file xestyle.hxx.

Referenced by FillFromItemSet(), and SetFinalColors().

sal_uInt32 XclExpCellBorder::mnDiagColorId

Color ID for bottom line.

Definition at line 349 of file xestyle.hxx.

Referenced by FillFromItemSet(), and SetFinalColors().

sal_uInt32 XclExpCellBorder::mnLeftColorId

Definition at line 345 of file xestyle.hxx.

Referenced by FillFromItemSet(), and SetFinalColors().

sal_uInt32 XclExpCellBorder::mnRightColorId

Color ID for left line.

Definition at line 346 of file xestyle.hxx.

Referenced by FillFromItemSet(), and SetFinalColors().

sal_uInt32 XclExpCellBorder::mnTopColorId

Color ID for right line.

Definition at line 347 of file xestyle.hxx.

Referenced by FillFromItemSet(), and SetFinalColors().


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