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

Extends the XclCellAlign struct for import. More...

#include <xistyle.hxx>

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

Public Member Functions

void FillFromXF2 (sal_uInt8 nFlags)
 Fills this struct with BIFF2 XF record data. More...
 
void FillFromXF3 (sal_uInt16 nAlign)
 Fills this struct with BIFF3 XF record data. More...
 
void FillFromXF4 (sal_uInt16 nAlign)
 Fills this struct with BIFF4 XF record data. More...
 
void FillFromXF5 (sal_uInt16 nAlign)
 Fills this struct with BIFF5/BIFF7 XF record data. More...
 
void FillFromXF8 (sal_uInt16 nAlign, sal_uInt16 nMiscAttrib)
 Fills this struct with BIFF8 XF record data. More...
 
void FillFromCF (sal_uInt16 nAlign, sal_uInt16 nMiscAttrib)
 Fills this struct with CF record data. More...
 
void FillToItemSet (SfxItemSet &rItemSet, const XclImpFont *pFont, bool bSkipPoolDefs=false) const
 Inserts items representing this alignment style into the item set. More...
 
- 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 import.

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

Definition at line 264 of file xistyle.hxx.

Member Function Documentation

◆ FillFromCF()

void XclImpCellAlign::FillFromCF ( sal_uInt16  nAlign,
sal_uInt16  nMiscAttrib 
)

◆ FillFromXF2()

void XclImpCellAlign::FillFromXF2 ( sal_uInt8  nFlags)

Fills this struct with BIFF2 XF record data.

Definition at line 766 of file xistyle.cxx.

References XclCellAlign::mnHorAlign.

Referenced by XclImpXF::ApplyPatternForBiff2CellFormat(), and XclImpXF::ReadXF2().

◆ FillFromXF3()

void XclImpCellAlign::FillFromXF3 ( sal_uInt16  nAlign)

Fills this struct with BIFF3 XF record data.

Definition at line 771 of file xistyle.cxx.

References EXC_XF_LINEBREAK, get_flag(), XclCellAlign::mbLineBreak, and XclCellAlign::mnHorAlign.

Referenced by FillFromXF4(), and XclImpXF::ReadXF3().

◆ FillFromXF4()

void XclImpCellAlign::FillFromXF4 ( sal_uInt16  nAlign)

Fills this struct with BIFF4 XF record data.

Definition at line 777 of file xistyle.cxx.

References FillFromXF3(), XclCellAlign::mnOrient, and XclCellAlign::mnVerAlign.

Referenced by XclImpXF::ReadXF4().

◆ FillFromXF5()

void XclImpCellAlign::FillFromXF5 ( sal_uInt16  nAlign)

Fills this struct with BIFF5/BIFF7 XF record data.

Definition at line 784 of file xistyle.cxx.

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

Referenced by XclImpXF::ReadXF5().

◆ FillFromXF8()

void XclImpCellAlign::FillFromXF8 ( sal_uInt16  nAlign,
sal_uInt16  nMiscAttrib 
)

◆ FillToItemSet()

void XclImpCellAlign::FillToItemSet ( SfxItemSet rItemSet,
const XclImpFont pFont,
bool  bSkipPoolDefs = false 
) const

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