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 487 of file xlstyle.hxx.

Constructor & Destructor Documentation

◆ XclCellAlign()

XclCellAlign::XclCellAlign ( )
explicit

true = Shrink to fit cell size.

Definition at line 1549 of file xlstyle.cxx.

Member Function Documentation

◆ GetScFrameDir()

SvxFrameDirection XclCellAlign::GetScFrameDir ( ) const

Returns the Calc frame direction.

Definition at line 1604 of file xlstyle.cxx.

References EXC_XF_TEXTDIR_CONTEXT, EXC_XF_TEXTDIR_LTR, EXC_XF_TEXTDIR_RTL, and mnTextDir.

Referenced by XclImpCellAlign::FillToItemSet().

◆ GetScHorAlign()

SvxCellHorJustify XclCellAlign::GetScHorAlign ( ) const

◆ GetScHorJustifyMethod()

SvxCellJustifyMethod XclCellAlign::GetScHorJustifyMethod ( ) const

Returns horizontal justification method as Calc's attribute.

Definition at line 1579 of file xlstyle.cxx.

References EXC_XF_HOR_DISTRIB, and mnHorAlign.

Referenced by XclImpCellAlign::FillToItemSet().

◆ GetScVerAlign()

SvxCellVerJustify XclCellAlign::GetScVerAlign ( ) const

Returns the Calc vertical alignment.

Definition at line 1584 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().

◆ GetScVerJustifyMethod()

SvxCellJustifyMethod XclCellAlign::GetScVerJustifyMethod ( ) const

Returns vertical justification method as Calc's attribute.

Definition at line 1599 of file xlstyle.cxx.

References EXC_XF_VER_DISTRIB, and mnVerAlign.

Referenced by XclImpCellAlign::FillToItemSet().

◆ SetScFrameDir()

void XclCellAlign::SetScFrameDir ( SvxFrameDirection  eFrameDir)

Sets the Calc frame direction.

Definition at line 1645 of file xlstyle.cxx.

References EXC_XF_TEXTDIR_CONTEXT, EXC_XF_TEXTDIR_LTR, EXC_XF_TEXTDIR_RTL, and mnTextDir.

Referenced by XclExpCellAlign::FillFromItemSet().

◆ SetScHorAlign()

void XclCellAlign::SetScHorAlign ( SvxCellHorJustify  eHorJust)

Sets the Calc horizontal alignment.

Definition at line 1617 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().

◆ SetScVerAlign()

void XclCellAlign::SetScVerAlign ( SvxCellVerJustify  eVerJust)

Sets the Calc vertical alignment.

Definition at line 1632 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

◆ mbLineBreak

bool XclCellAlign::mbLineBreak

◆ mbShrink

bool XclCellAlign::mbShrink

◆ mnHorAlign

sal_uInt8 XclCellAlign::mnHorAlign

◆ mnIndent

sal_uInt8 XclCellAlign::mnIndent

◆ mnOrient

sal_uInt8 XclCellAlign::mnOrient

◆ mnRotation

sal_uInt8 XclCellAlign::mnRotation

◆ mnTextDir

sal_uInt8 XclCellAlign::mnTextDir

◆ mnVerAlign

sal_uInt8 XclCellAlign::mnVerAlign

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