LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
ScAutoFormatDataField Class Reference

Contains all items for one cell of a table autoformat. More...

#include <autoform.hxx>

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

Public Member Functions

 ScAutoFormatDataField ()
 
 ScAutoFormatDataField (const ScAutoFormatDataField &rCopy)
 
 ~ScAutoFormatDataField ()
 
ScAutoFormatDataField & operator= (const ScAutoFormatDataField &rRef)=delete
 
const ScNumFormatAbbrev & GetNumFormat () const
 
void SetNumFormat (const ScNumFormatAbbrev &rNumFormat)
 
bool Load (SvStream &rStream, const ScAfVersions &rVersions, sal_uInt16 nVer)
 
bool Save (SvStream &rStream, sal_uInt16 fileVersion)
 
- Public Member Functions inherited from AutoFormatBase
const SvxFontItem & GetFont () const
 
const SvxFontHeightItem & GetHeight () const
 
const SvxWeightItem & GetWeight () const
 
const SvxPostureItem & GetPosture () const
 
const SvxFontItem & GetCJKFont () const
 
const SvxFontHeightItem & GetCJKHeight () const
 
const SvxWeightItem & GetCJKWeight () const
 
const SvxPostureItem & GetCJKPosture () const
 
const SvxFontItem & GetCTLFont () const
 
const SvxFontHeightItem & GetCTLHeight () const
 
const SvxWeightItem & GetCTLWeight () const
 
const SvxPostureItem & GetCTLPosture () const
 
const SvxUnderlineItem & GetUnderline () const
 
const SvxOverlineItem & GetOverline () const
 
const SvxCrossedOutItem & GetCrossedOut () const
 
const SvxContourItem & GetContour () const
 
const SvxShadowedItem & GetShadowed () const
 
const SvxColorItem & GetColor () const
 
const SvxBoxItem & GetBox () const
 
const SvxLineItem & GetTLBR () const
 
const SvxLineItem & GetBLTR () const
 
const SvxBrushItem & GetBackground () const
 
const SvxAdjustItem & GetAdjust () const
 
const SvxHorJustifyItem & GetHorJustify () const
 
const SvxVerJustifyItem & GetVerJustify () const
 
const SfxBoolItem & GetStacked () const
 
const SvxMarginItem & GetMargin () const
 
const SfxBoolItem & GetLinebreak () const
 
const SfxInt32Item & GetRotateAngle () const
 
const SvxRotateModeItem & GetRotateMode () const
 
void SetFont (const SvxFontItem &rNew)
 
void SetHeight (const SvxFontHeightItem &rNew)
 
void SetWeight (const SvxWeightItem &rNew)
 
void SetPosture (const SvxPostureItem &rNew)
 
void SetCJKFont (const SvxFontItem &rNew)
 
void SetCJKHeight (const SvxFontHeightItem &rNew)
 
void SetCJKWeight (const SvxWeightItem &rNew)
 
void SetCJKPosture (const SvxPostureItem &rNew)
 
void SetCTLFont (const SvxFontItem &rNew)
 
void SetCTLHeight (const SvxFontHeightItem &rNew)
 
void SetCTLWeight (const SvxWeightItem &rNew)
 
void SetCTLPosture (const SvxPostureItem &rNew)
 
void SetUnderline (const SvxUnderlineItem &rNew)
 
void SetOverline (const SvxOverlineItem &rNew)
 
void SetCrossedOut (const SvxCrossedOutItem &rNew)
 
void SetContour (const SvxContourItem &rNew)
 
void SetShadowed (const SvxShadowedItem &rNew)
 
void SetColor (const SvxColorItem &rNew)
 
void SetBox (const SvxBoxItem &rNew)
 
void SetTLBR (const SvxLineItem &rNew)
 
void SetBLTR (const SvxLineItem &rNew)
 
void SetBackground (const SvxBrushItem &rNew)
 
void SetAdjust (const SvxAdjustItem &rNew)
 
void SetHorJustify (const SvxHorJustifyItem &rNew)
 
void SetVerJustify (const SvxVerJustifyItem &rNew)
 
void SetStacked (const SfxBoolItem &rNew)
 
void SetMargin (const SvxMarginItem &rNew)
 
void SetLinebreak (const SfxBoolItem &rNew)
 
void SetRotateAngle (const SfxInt32Item &rNew)
 
void SetRotateMode (const SvxRotateModeItem &rNew)
 
bool LoadBlockA (SvStream &rStream, const AutoFormatVersions &rVersions, sal_uInt16 nVer)
 
bool LoadBlockB (SvStream &rStream, const AutoFormatVersions &rVersions, sal_uInt16 nVer)
 
bool SaveBlockA (SvStream &rStream, sal_uInt16 fileVersion) const
 
bool SaveBlockB (SvStream &rStream, sal_uInt16 fileVersion) const
 

Private Attributes

AutoFormatSwBlob m_swFields
 
ScNumFormatAbbrev aNumFormat
 

Additional Inherited Members

- Protected Member Functions inherited from AutoFormatBase
AutoFormatBase & operator= (const AutoFormatBase &)
 
 AutoFormatBase ()
 
 AutoFormatBase (const AutoFormatBase &rNew)
 
 ~AutoFormatBase ()
 
bool operator== (const AutoFormatBase &rRight) const
 
- Protected Attributes inherited from AutoFormatBase
std::unique_ptr< SvxFontItem > m_aFont
 
std::unique_ptr< SvxFontHeightItem > m_aHeight
 
std::unique_ptr< SvxWeightItem > m_aWeight
 
std::unique_ptr< SvxPostureItem > m_aPosture
 
std::unique_ptr< SvxFontItem > m_aCJKFont
 
std::unique_ptr< SvxFontHeightItem > m_aCJKHeight
 
std::unique_ptr< SvxWeightItem > m_aCJKWeight
 
std::unique_ptr< SvxPostureItem > m_aCJKPosture
 
std::unique_ptr< SvxFontItem > m_aCTLFont
 
std::unique_ptr< SvxFontHeightItem > m_aCTLHeight
 
std::unique_ptr< SvxWeightItem > m_aCTLWeight
 
std::unique_ptr< SvxPostureItem > m_aCTLPosture
 
std::unique_ptr< SvxUnderlineItem > m_aUnderline
 
std::unique_ptr< SvxOverlineItem > m_aOverline
 
std::unique_ptr< SvxCrossedOutItem > m_aCrossedOut
 
std::unique_ptr< SvxContourItem > m_aContour
 
std::unique_ptr< SvxShadowedItem > m_aShadowed
 
std::unique_ptr< SvxColorItem > m_aColor
 
std::unique_ptr< SvxBoxItem > m_aBox
 
std::unique_ptr< SvxLineItem > m_aTLBR
 
std::unique_ptr< SvxLineItem > m_aBLTR
 
std::unique_ptr< SvxBrushItem > m_aBackground
 
std::unique_ptr< SvxAdjustItem > m_aAdjust
 
std::unique_ptr< SvxHorJustifyItem > m_aHorJustify
 
std::unique_ptr< SvxVerJustifyItem > m_aVerJustify
 
std::unique_ptr< SfxBoolItem > m_aStacked
 
std::unique_ptr< SvxMarginItem > m_aMargin
 
std::unique_ptr< SfxBoolItem > m_aLinebreak
 
std::unique_ptr< SfxInt32Item > m_aRotateAngle
 
std::unique_ptr< SvxRotateModeItem > m_aRotateMode
 

Detailed Description

Contains all items for one cell of a table autoformat.

Definition at line 86 of file autoform.hxx.

Constructor & Destructor Documentation

◆ ScAutoFormatDataField() [1/2]

ScAutoFormatDataField::ScAutoFormatDataField ( )

Definition at line 155 of file autoform.cxx.

References ATTR_BACKGROUND(), ATTR_BORDER(), ATTR_BORDER_BLTR(), ATTR_BORDER_TLBR(), ATTR_CJK_FONT(), ATTR_CJK_FONT_HEIGHT(), ATTR_CJK_FONT_POSTURE(), ATTR_CJK_FONT_WEIGHT(), ATTR_CTL_FONT(), ATTR_CTL_FONT_HEIGHT(), ATTR_CTL_FONT_POSTURE(), ATTR_CTL_FONT_WEIGHT(), ATTR_FONT(), ATTR_FONT_COLOR(), ATTR_FONT_CONTOUR(), ATTR_FONT_CROSSEDOUT(), ATTR_FONT_HEIGHT(), ATTR_FONT_OVERLINE(), ATTR_FONT_POSTURE(), ATTR_FONT_SHADOWED(), ATTR_FONT_UNDERLINE(), ATTR_FONT_WEIGHT(), ATTR_HOR_JUSTIFY(), ATTR_MARGIN(), ATTR_ROTATE_MODE(), ATTR_VER_JUSTIFY(), ITALIC_NONE, LINESTYLE_NONE, AutoFormatBase::m_aAdjust, AutoFormatBase::m_aBackground, AutoFormatBase::m_aBLTR, AutoFormatBase::m_aBox, AutoFormatBase::m_aCJKFont, AutoFormatBase::m_aCJKHeight, AutoFormatBase::m_aCJKPosture, AutoFormatBase::m_aCJKWeight, AutoFormatBase::m_aColor, AutoFormatBase::m_aContour, AutoFormatBase::m_aCrossedOut, AutoFormatBase::m_aCTLFont, AutoFormatBase::m_aCTLHeight, AutoFormatBase::m_aCTLPosture, AutoFormatBase::m_aCTLWeight, AutoFormatBase::m_aFont, AutoFormatBase::m_aHeight, AutoFormatBase::m_aHorJustify, AutoFormatBase::m_aLinebreak, AutoFormatBase::m_aMargin, AutoFormatBase::m_aOverline, AutoFormatBase::m_aPosture, AutoFormatBase::m_aRotateAngle, AutoFormatBase::m_aRotateMode, AutoFormatBase::m_aShadowed, AutoFormatBase::m_aStacked, AutoFormatBase::m_aTLBR, AutoFormatBase::m_aUnderline, AutoFormatBase::m_aVerJustify, AutoFormatBase::m_aWeight, STRIKEOUT_NONE, SVX_ROTATE_MODE_STANDARD, and WEIGHT_NORMAL.

◆ ScAutoFormatDataField() [2/2]

ScAutoFormatDataField::ScAutoFormatDataField ( const ScAutoFormatDataField &  rCopy)

Definition at line 192 of file autoform.cxx.

◆ ~ScAutoFormatDataField()

ScAutoFormatDataField::~ScAutoFormatDataField ( )

Definition at line 199 of file autoform.cxx.

Member Function Documentation

◆ GetNumFormat()

const ScNumFormatAbbrev & ScAutoFormatDataField::GetNumFormat ( ) const
inline

◆ Load()

bool ScAutoFormatDataField::Load ( SvStream &  rStream,
const ScAfVersions &  rVersions,
sal_uInt16  nVer 
)

◆ operator=()

ScAutoFormatDataField & ScAutoFormatDataField::operator= ( const ScAutoFormatDataField &  rRef)
delete

◆ Save()

bool ScAutoFormatDataField::Save ( SvStream &  rStream,
sal_uInt16  fileVersion 
)

◆ SetNumFormat()

void ScAutoFormatDataField::SetNumFormat ( const ScNumFormatAbbrev &  rNumFormat)
inline

Definition at line 106 of file autoform.hxx.

References aNumFormat.

Referenced by ScAutoFormatData::GetFromItemSet().

Member Data Documentation

◆ aNumFormat

ScNumFormatAbbrev ScAutoFormatDataField::aNumFormat
private

Definition at line 92 of file autoform.hxx.

Referenced by GetNumFormat(), Load(), Save(), and SetNumFormat().

◆ m_swFields

AutoFormatSwBlob ScAutoFormatDataField::m_swFields
private

Definition at line 89 of file autoform.hxx.

Referenced by Load(), and Save().


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