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 ()
 
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...
 
model::ComplexColor maComplexColorLeft
 Color ID for diagonal line(s). More...
 
model::ComplexColor maComplexColorRight
 
model::ComplexColor maComplexColorTop
 
model::ComplexColor maComplexColorBottom
 
model::ComplexColor maComplexColorDiagonal
 
- 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.

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

Definition at line 340 of file xestyle.hxx.

Constructor & Destructor Documentation

◆ XclExpCellBorder()

XclExpCellBorder::XclExpCellBorder ( )
explicit

Definition at line 1706 of file xestyle.cxx.

Member Function Documentation

◆ FillFromItemSet()

bool XclExpCellBorder::FillFromItemSet ( const SfxItemSet rItemSet,
XclExpPalette rPalette,
XclBiff  eBiff,
bool  bStyle = false 
)

◆ FillToCF8()

void XclExpCellBorder::FillToCF8 ( sal_uInt16 &  rnLine,
sal_uInt32 &  rnColor 
) const

◆ FillToXF5()

void XclExpCellBorder::FillToXF5 ( sal_uInt32 &  rnBorder,
sal_uInt32 &  rnArea 
) const

◆ FillToXF8()

void XclExpCellBorder::FillToXF8 ( sal_uInt32 &  rnBorder1,
sal_uInt32 &  rnBorder2 
) const

◆ SaveXml()

void XclExpCellBorder::SaveXml ( XclExpXmlStream rStrm) const

◆ SetFinalColors()

void XclExpCellBorder::SetFinalColors ( const XclExpPalette rPalette)

Member Data Documentation

◆ maComplexColorBottom

model::ComplexColor XclExpCellBorder::maComplexColorBottom

Definition at line 351 of file xestyle.hxx.

Referenced by FillFromItemSet(), and SaveXml().

◆ maComplexColorDiagonal

model::ComplexColor XclExpCellBorder::maComplexColorDiagonal

Definition at line 352 of file xestyle.hxx.

Referenced by SaveXml().

◆ maComplexColorLeft

model::ComplexColor XclExpCellBorder::maComplexColorLeft

Color ID for diagonal line(s).

Definition at line 348 of file xestyle.hxx.

Referenced by FillFromItemSet(), and SaveXml().

◆ maComplexColorRight

model::ComplexColor XclExpCellBorder::maComplexColorRight

Definition at line 349 of file xestyle.hxx.

Referenced by FillFromItemSet(), and SaveXml().

◆ maComplexColorTop

model::ComplexColor XclExpCellBorder::maComplexColorTop

Definition at line 350 of file xestyle.hxx.

Referenced by FillFromItemSet(), and SaveXml().

◆ mnBottomColorId

sal_uInt32 XclExpCellBorder::mnBottomColorId

Color ID for top line.

Definition at line 345 of file xestyle.hxx.

Referenced by FillFromItemSet(), and SetFinalColors().

◆ mnDiagColorId

sal_uInt32 XclExpCellBorder::mnDiagColorId

Color ID for bottom line.

Definition at line 346 of file xestyle.hxx.

Referenced by FillFromItemSet(), and SetFinalColors().

◆ mnLeftColorId

sal_uInt32 XclExpCellBorder::mnLeftColorId

Definition at line 342 of file xestyle.hxx.

Referenced by FillFromItemSet(), and SetFinalColors().

◆ mnRightColorId

sal_uInt32 XclExpCellBorder::mnRightColorId

Color ID for left line.

Definition at line 343 of file xestyle.hxx.

Referenced by FillFromItemSet(), and SetFinalColors().

◆ mnTopColorId

sal_uInt32 XclExpCellBorder::mnTopColorId

Color ID for right line.

Definition at line 344 of file xestyle.hxx.

Referenced by FillFromItemSet(), and SetFinalColors().


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