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

Contains all cell alignment attributes. More...

#include <xlstyle.hxx>

Inheritance diagram for XclCellAlign:
[legend]

Public Member Functions

 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...
 

Public Attributes

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

Contains all cell alignment attributes.

Definition at line 488 of file xlstyle.hxx.

Constructor & Destructor Documentation

XclCellAlign::XclCellAlign ( )
explicit

true = Shrink to fit cell size.

Definition at line 1544 of file xlstyle.cxx.

Member Function Documentation

SvxFrameDirection XclCellAlign::GetScFrameDir ( ) const

Returns the Calc frame direction.

Definition at line 1599 of file xlstyle.cxx.

References EXC_XF_TEXTDIR_CONTEXT, EXC_XF_TEXTDIR_LTR, EXC_XF_TEXTDIR_RTL, and mnTextDir.

Referenced by XclImpCellAlign::FillToItemSet().

SvxCellHorJustify XclCellAlign::GetScHorAlign ( ) const
SvxCellJustifyMethod XclCellAlign::GetScHorJustifyMethod ( ) const

Returns horizontal justification method as Calc's attribute.

Definition at line 1574 of file xlstyle.cxx.

References EXC_XF_HOR_DISTRIB, and mnHorAlign.

Referenced by XclImpCellAlign::FillToItemSet().

SvxCellVerJustify XclCellAlign::GetScVerAlign ( ) const

Returns the Calc vertical alignment.

Definition at line 1579 of file xlstyle.cxx.

References EXC_XF_VER_BOTTOM, EXC_XF_VER_CENTER, EXC_XF_VER_DISTRIB, EXC_XF_VER_JUSTIFY, EXC_XF_VER_TOP, and mnVerAlign.

Referenced by XclImpCellAlign::FillToItemSet().

SvxCellJustifyMethod XclCellAlign::GetScVerJustifyMethod ( ) const

Returns vertical justification method as Calc's attribute.

Definition at line 1594 of file xlstyle.cxx.

References EXC_XF_VER_DISTRIB, and mnVerAlign.

Referenced by XclImpCellAlign::FillToItemSet().

void XclCellAlign::SetScFrameDir ( SvxFrameDirection  eFrameDir)

Sets the Calc frame direction.

Definition at line 1640 of file xlstyle.cxx.

References EXC_XF_TEXTDIR_CONTEXT, EXC_XF_TEXTDIR_LTR, EXC_XF_TEXTDIR_RTL, and mnTextDir.

Referenced by XclExpCellAlign::FillFromItemSet().

void XclCellAlign::SetScHorAlign ( SvxCellHorJustify  eHorJust)

Sets the Calc horizontal alignment.

Definition at line 1612 of file xlstyle.cxx.

References EXC_XF_HOR_CENTER, EXC_XF_HOR_FILL, EXC_XF_HOR_GENERAL, EXC_XF_HOR_JUSTIFY, EXC_XF_HOR_LEFT, EXC_XF_HOR_RIGHT, and mnHorAlign.

Referenced by XclExpCellAlign::FillFromItemSet().

void XclCellAlign::SetScVerAlign ( SvxCellVerJustify  eVerJust)

Sets the Calc vertical alignment.

Definition at line 1627 of file xlstyle.cxx.

References EXC_XF_VER_BOTTOM, EXC_XF_VER_CENTER, EXC_XF_VER_TOP, and mnVerAlign.

Referenced by XclExpCellAlign::FillFromItemSet().

Member Data Documentation

bool XclCellAlign::mbLineBreak
bool XclCellAlign::mbShrink
sal_uInt8 XclCellAlign::mnHorAlign
sal_uInt8 XclCellAlign::mnIndent
sal_uInt8 XclCellAlign::mnOrient
sal_uInt8 XclCellAlign::mnRotation
sal_uInt8 XclCellAlign::mnTextDir
sal_uInt8 XclCellAlign::mnVerAlign

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