LibreOffice Module sc (master) 1
|
Extends the XclCellAlign struct for import. More...
#include <xistyle.hxx>
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... | |
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.
void XclImpCellAlign::FillFromCF | ( | sal_uInt16 | nAlign, |
sal_uInt16 | nMiscAttrib | ||
) |
Fills this struct with CF record data.
Definition at line 803 of file xistyle.cxx.
References EXC_XF8_SHRINK, EXC_XF_LINEBREAK, get_flag(), XclCellAlign::mbLineBreak, XclCellAlign::mbShrink, XclCellAlign::mnHorAlign, XclCellAlign::mnIndent, XclCellAlign::mnRotation, XclCellAlign::mnTextDir, and XclCellAlign::mnVerAlign.
Referenced by XclImpCondFormat::ReadCF().
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().
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().
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().
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().
void XclImpCellAlign::FillFromXF8 | ( | sal_uInt16 | nAlign, |
sal_uInt16 | nMiscAttrib | ||
) |
Fills this struct with BIFF8 XF record data.
Definition at line 792 of file xistyle.cxx.
References EXC_XF8_SHRINK, EXC_XF_LINEBREAK, get_flag(), XclCellAlign::mbLineBreak, XclCellAlign::mbShrink, XclCellAlign::mnHorAlign, XclCellAlign::mnIndent, XclCellAlign::mnRotation, XclCellAlign::mnTextDir, and XclCellAlign::mnVerAlign.
Referenced by XclImpXF::ReadXF8().
void XclImpCellAlign::FillToItemSet | ( | SfxItemSet & | rItemSet, |
const XclImpFont * | pFont, | ||
bool | bSkipPoolDefs = false |
||
) | const |
Inserts items representing this alignment style into the item set.
bSkipPoolDefs | true = Do not put items equal to pool default; false = Put all items. |
Definition at line 814 of file xistyle.cxx.
References ATTR_HOR_JUSTIFY(), ATTR_HOR_JUSTIFY_METHOD(), ATTR_VER_JUSTIFY(), ATTR_VER_JUSTIFY_METHOD(), ATTR_VERTICAL_ASIAN(), ATTR_WRITINGDIR(), EXC_ORIENT_NONE, EXC_ROT_STACKED, EXC_XF_VER_DISTRIB, EXC_XF_VER_JUSTIFY, XclCellAlign::GetScFrameDir(), XclCellAlign::GetScHorAlign(), XclCellAlign::GetScHorJustifyMethod(), XclTools::GetScRotation(), XclCellAlign::GetScVerAlign(), XclCellAlign::GetScVerJustifyMethod(), XclTools::GetXclRotFromOrient(), XclImpFont::HasAsianChars(), XclCellAlign::mbLineBreak, XclCellAlign::mbShrink, XclCellAlign::mnIndent, XclCellAlign::mnOrient, XclCellAlign::mnRotation, XclCellAlign::mnVerAlign, and ScfTools::PutItem().
Referenced by XclImpXF::CreatePattern(), and XclImpCondFormat::ReadCF().