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

#include <tblafmt.hxx>

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

Public Member Functions

 SwBoxAutoFormat ()
 
 SwBoxAutoFormat (const SwBoxAutoFormat &rNew)
 
 ~SwBoxAutoFormat ()
 
SwBoxAutoFormatoperator= (const SwBoxAutoFormat &rRef)
 assignment-op (still used) More...
 
bool operator== (const SwBoxAutoFormat &rRight)
 Comparing based of boxes backgrounds. More...
 
const SvxFrameDirectionItemGetTextOrientation () const
 
const SwFormatVertOrientGetVerticalAlignment () const
 
void GetValueFormat (OUString &rFormat, LanguageType &rLng, LanguageType &rSys) const
 
const OUString & GetNumFormatString () const
 
const LanguageTypeGetSysLanguage () const
 
const LanguageTypeGetNumFormatLanguage () const
 
void SetTextOrientation (const SvxFrameDirectionItem &rNew)
 
void SetVerticalAlignment (const SwFormatVertOrient &rNew)
 
void SetValueFormat (const OUString &rFormat, LanguageType eLng, LanguageType eSys)
 
void SetNumFormatString (const OUString &rNew)
 
void SetSysLanguage (const LanguageType &rNew)
 
void SetNumFormatLanguage (const LanguageType &rNew)
 
css::uno::WeakReference< css::uno::XInterface > const & GetXObject () const
 
void SetXObject (css::uno::Reference< css::uno::XInterface > const &xObject)
 
bool Load (SvStream &rStream, const SwAfVersions &rVersions, sal_uInt16 nVer)
 
bool Save (SvStream &rStream, sal_uInt16 fileVersion) const
 
- 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

std::unique_ptr< SvxFrameDirectionItemm_aTextOrientation
 
std::unique_ptr< SwFormatVertOrientm_aVerticalAlignment
 
OUString m_sNumFormatString
 
LanguageType m_eSysLanguage
 
LanguageType m_eNumFormatLanguage
 
css::uno::WeakReference< css::uno::XInterface > m_wXObject
 

Additional Inherited Members

- Protected Member Functions inherited from AutoFormatBase
AutoFormatBaseoperator= (const AutoFormatBase &)
 
 AutoFormatBase ()
 
 AutoFormatBase (const AutoFormatBase &rNew)
 
 ~AutoFormatBase ()
 
bool operator== (const AutoFormatBase &rRight)
 
- 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

Definition at line 64 of file tblafmt.hxx.

Constructor & Destructor Documentation

SwBoxAutoFormat::SwBoxAutoFormat ( )
SwBoxAutoFormat::SwBoxAutoFormat ( const SwBoxAutoFormat rNew)

Definition at line 256 of file tblafmt.cxx.

References Clone().

SwBoxAutoFormat::~SwBoxAutoFormat ( )

Definition at line 267 of file tblafmt.cxx.

Member Function Documentation

const LanguageType& SwBoxAutoFormat::GetNumFormatLanguage ( ) const
inline

Definition at line 98 of file tblafmt.hxx.

References m_eNumFormatLanguage.

Referenced by operator=().

const OUString& SwBoxAutoFormat::GetNumFormatString ( ) const
inline

Definition at line 96 of file tblafmt.hxx.

References m_sNumFormatString.

Referenced by operator=().

const LanguageType& SwBoxAutoFormat::GetSysLanguage ( ) const
inline

Definition at line 97 of file tblafmt.hxx.

References m_eSysLanguage.

Referenced by operator=().

const SvxFrameDirectionItem& SwBoxAutoFormat::GetTextOrientation ( ) const
inline
void SwBoxAutoFormat::GetValueFormat ( OUString &  rFormat,
LanguageType rLng,
LanguageType rSys 
) const
inline
const SwFormatVertOrient& SwBoxAutoFormat::GetVerticalAlignment ( ) const
inline
css::uno::WeakReference<css::uno::XInterface> const& SwBoxAutoFormat::GetXObject ( ) const
inline
bool SwBoxAutoFormat::Load ( SvStream rStream,
const SwAfVersions rVersions,
sal_uInt16  nVer 
)
SwBoxAutoFormat & SwBoxAutoFormat::operator= ( const SwBoxAutoFormat rRef)
bool SwBoxAutoFormat::operator== ( const SwBoxAutoFormat rRight)

Comparing based of boxes backgrounds.

Definition at line 296 of file tblafmt.cxx.

References AutoFormatBase::GetBackground(), and SvxBrushItem::GetColor().

bool SwBoxAutoFormat::Save ( SvStream rStream,
sal_uInt16  fileVersion 
) const
void SwBoxAutoFormat::SetNumFormatLanguage ( const LanguageType rNew)
inline

Definition at line 109 of file tblafmt.hxx.

Referenced by operator=().

void SwBoxAutoFormat::SetNumFormatString ( const OUString &  rNew)
inline

Definition at line 107 of file tblafmt.hxx.

Referenced by operator=().

void SwBoxAutoFormat::SetSysLanguage ( const LanguageType rNew)
inline

Definition at line 108 of file tblafmt.hxx.

Referenced by operator=().

void SwBoxAutoFormat::SetTextOrientation ( const SvxFrameDirectionItem rNew)
inline
void SwBoxAutoFormat::SetValueFormat ( const OUString &  rFormat,
LanguageType  eLng,
LanguageType  eSys 
)
inline
void SwBoxAutoFormat::SetVerticalAlignment ( const SwFormatVertOrient rNew)
inline
void SwBoxAutoFormat::SetXObject ( css::uno::Reference< css::uno::XInterface > const &  xObject)
inline

Member Data Documentation

std::unique_ptr<SvxFrameDirectionItem> SwBoxAutoFormat::m_aTextOrientation
private

Definition at line 68 of file tblafmt.hxx.

Referenced by GetTextOrientation(), Load(), and Save().

std::unique_ptr<SwFormatVertOrient> SwBoxAutoFormat::m_aVerticalAlignment
private

Definition at line 69 of file tblafmt.hxx.

Referenced by GetVerticalAlignment(), Load(), and Save().

LanguageType SwBoxAutoFormat::m_eNumFormatLanguage
private

Definition at line 74 of file tblafmt.hxx.

Referenced by GetNumFormatLanguage(), GetValueFormat(), Load(), and Save().

LanguageType SwBoxAutoFormat::m_eSysLanguage
private

Definition at line 73 of file tblafmt.hxx.

Referenced by GetSysLanguage(), GetValueFormat(), Load(), and Save().

OUString SwBoxAutoFormat::m_sNumFormatString
private

Definition at line 72 of file tblafmt.hxx.

Referenced by GetNumFormatString(), GetValueFormat(), Load(), and Save().

css::uno::WeakReference<css::uno::XInterface> SwBoxAutoFormat::m_wXObject
private

Definition at line 76 of file tblafmt.hxx.

Referenced by GetXObject().


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