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

Extends the XclCellAlign struct for export. More...

#include <xestyle.hxx>

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

Public Member Functions

bool FillFromItemSet (const XclRoot &rRoot, const SfxItemSet &rItemSet, bool bForceLineBreak, XclBiff eBiff, bool bStyle=false)
 Fills the alignment attributes from the passed item set. More...
 
void FillToXF5 (sal_uInt16 &rnAlign) const
 Fills the data to the passed fields of a BIFF5/BIFF7 XF record. More...
 
void FillToXF8 (sal_uInt16 &rnAlign, sal_uInt16 &rnMiscAttrib) const
 Fills the data to the passed fields of a BIFF8 XF record. More...
 
void SaveXml (XclExpXmlStream &rStrm) const
 
- Public Member Functions inherited from XclCellAlign
 XclCellAlign ()
 true = Shrink to fit cell size. More...
 
SvxCellHorJustify GetScHorAlign () const
 Returns the Calc horizontal alignment. More...
 
SvxCellJustifyMethod GetScHorJustifyMethod () const
 Returns horizontal justification method as Calc's attribute. More...
 
SvxCellVerJustify GetScVerAlign () const
 Returns the Calc vertical alignment. More...
 
SvxCellJustifyMethod GetScVerJustifyMethod () const
 Returns vertical justification method as Calc's attribute. More...
 
SvxFrameDirection GetScFrameDir () const
 Returns the Calc frame direction. More...
 
void SetScHorAlign (SvxCellHorJustify eHorJust)
 Sets the Calc horizontal alignment. More...
 
void SetScVerAlign (SvxCellVerJustify eVerJust)
 Sets the Calc vertical alignment. More...
 
void SetScFrameDir (SvxFrameDirection eFrameDir)
 Sets the Calc frame direction. More...
 

Additional Inherited Members

- Public Attributes inherited from XclCellAlign
sal_uInt8 mnHorAlign
 
sal_uInt8 mnVerAlign
 Horizontal alignment. More...
 
sal_uInt8 mnOrient
 Vertical alignment. More...
 
sal_uInt8 mnTextDir
 Text orientation. More...
 
sal_uInt8 mnRotation
 CTL text direction. More...
 
sal_uInt8 mnIndent
 Text rotation angle. More...
 
bool mbLineBreak
 Indentation. More...
 
bool mbShrink
 true = Multi-line text. More...
 

Detailed Description

Extends the XclCellAlign struct for export.

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

Definition at line 321 of file xestyle.hxx.

Member Function Documentation

◆ FillFromItemSet()

bool XclExpCellAlign::FillFromItemSet ( const XclRoot rRoot,
const SfxItemSet rItemSet,
bool  bForceLineBreak,
XclBiff  eBiff,
bool  bStyle = false 
)

◆ FillToXF5()

void XclExpCellAlign::FillToXF5 ( sal_uInt16 &  rnAlign) const

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

Definition at line 1550 of file xestyle.cxx.

References EXC_XF_LINEBREAK, insert_value(), XclCellAlign::mbLineBreak, XclCellAlign::mnHorAlign, XclCellAlign::mnOrient, XclCellAlign::mnVerAlign, and set_flag().

Referenced by XclExpXF::WriteBody5().

◆ FillToXF8()

void XclExpCellAlign::FillToXF8 ( sal_uInt16 &  rnAlign,
sal_uInt16 &  rnMiscAttrib 
) const

◆ SaveXml()

void XclExpCellAlign::SaveXml ( XclExpXmlStream rStrm) const

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