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 ()
 
ScAutoFormatDataFieldoperator= (const ScAutoFormatDataField &rRef)=delete
 
const ScNumFormatAbbrevGetNumFormat () 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 SvxFontItemGetFont () const
 
const SvxFontHeightItemGetHeight () const
 
const SvxWeightItemGetWeight () const
 
const SvxPostureItemGetPosture () const
 
const SvxFontItemGetCJKFont () const
 
const SvxFontHeightItemGetCJKHeight () const
 
const SvxWeightItemGetCJKWeight () const
 
const SvxPostureItemGetCJKPosture () const
 
const SvxFontItemGetCTLFont () const
 
const SvxFontHeightItemGetCTLHeight () const
 
const SvxWeightItemGetCTLWeight () const
 
const SvxPostureItemGetCTLPosture () const
 
const SvxUnderlineItemGetUnderline () const
 
const SvxOverlineItemGetOverline () const
 
const SvxCrossedOutItemGetCrossedOut () const
 
const SvxContourItemGetContour () const
 
const SvxShadowedItemGetShadowed () const
 
const SvxColorItemGetColor () const
 
const SvxBoxItemGetBox () const
 
const SvxLineItemGetTLBR () const
 
const SvxLineItemGetBLTR () const
 
const SvxBrushItemGetBackground () const
 
const SvxAdjustItemGetAdjust () const
 
const SvxHorJustifyItemGetHorJustify () const
 
const SvxVerJustifyItemGetVerJustify () const
 
const SfxBoolItemGetStacked () const
 
const SvxMarginItemGetMargin () const
 
const SfxBoolItemGetLinebreak () const
 
const SfxInt32ItemGetRotateAngle () const
 
const SvxRotateModeItemGetRotateMode () 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
AutoFormatBaseoperator= (const AutoFormatBase &)
 
 AutoFormatBase ()
 
 AutoFormatBase (const AutoFormatBase &rNew)
 
 ~AutoFormatBase ()
 
bool operator== (const AutoFormatBase &rRight) const
 
- Protected Attributes inherited from AutoFormatBase
std::unique_ptr< SvxFontItemm_aFont
 
std::unique_ptr< SvxFontHeightItemm_aHeight
 
std::unique_ptr< SvxWeightItemm_aWeight
 
std::unique_ptr< SvxPostureItemm_aPosture
 
std::unique_ptr< SvxFontItemm_aCJKFont
 
std::unique_ptr< SvxFontHeightItemm_aCJKHeight
 
std::unique_ptr< SvxWeightItemm_aCJKWeight
 
std::unique_ptr< SvxPostureItemm_aCJKPosture
 
std::unique_ptr< SvxFontItemm_aCTLFont
 
std::unique_ptr< SvxFontHeightItemm_aCTLHeight
 
std::unique_ptr< SvxWeightItemm_aCTLWeight
 
std::unique_ptr< SvxPostureItemm_aCTLPosture
 
std::unique_ptr< SvxUnderlineItemm_aUnderline
 
std::unique_ptr< SvxOverlineItemm_aOverline
 
std::unique_ptr< SvxCrossedOutItemm_aCrossedOut
 
std::unique_ptr< SvxContourItemm_aContour
 
std::unique_ptr< SvxShadowedItemm_aShadowed
 
std::unique_ptr< SvxColorItemm_aColor
 
std::unique_ptr< SvxBoxItemm_aBox
 
std::unique_ptr< SvxLineItemm_aTLBR
 
std::unique_ptr< SvxLineItemm_aBLTR
 
std::unique_ptr< SvxBrushItemm_aBackground
 
std::unique_ptr< SvxAdjustItemm_aAdjust
 
std::unique_ptr< SvxHorJustifyItemm_aHorJustify
 
std::unique_ptr< SvxVerJustifyItemm_aVerJustify
 
std::unique_ptr< SfxBoolItemm_aStacked
 
std::unique_ptr< SvxMarginItemm_aMargin
 
std::unique_ptr< SfxBoolItemm_aLinebreak
 
std::unique_ptr< SfxInt32Itemm_aRotateAngle
 
std::unique_ptr< SvxRotateModeItemm_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: