LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
sw::MetaField Class Referencefinal

#include <fmtmeta.hxx>

Inheritance diagram for sw::MetaField:
Collaboration diagram for sw::MetaField:

Public Member Functions

void GetPrefixAndSuffix (OUString *const o_pPrefix, OUString *const o_pSuffix, OUString *const o_pShadingColor)
 get prefix/suffix from the RDF repository. More...
- Public Member Functions inherited from sw::Meta
 Meta (SwFormatMeta *const i_pFormat)
virtual ~Meta () override
virtual ::sfx2::IXmlIdRegistryGetRegistry () override
 sfx2::Metadatable More...
virtual bool IsInClipboard () const override
virtual bool IsInUndo () const override
virtual bool IsInContent () const override
virtual css::uno::Reference< css::rdf::XMetadatable > MakeUnoObject () override

Private Member Functions

sal_uInt32 GetNumberFormat (const OUString &aContent) const
void SetNumberFormat (sal_uInt32 nNumberFormat)
bool IsFixedLanguage () const
void SetIsFixedLanguage (bool b)
 MetaField (SwFormatMeta *const i_pFormat, const sal_uInt32 nNumberFormat, const bool bIsFixedLanguage)

Private Attributes

sal_uInt32 m_nNumberFormat
bool m_bIsFixedLanguage


class ::SwFormatMeta
class ::SwXMetaField
class ::sw::MetaFieldManager

Additional Inherited Members

- Protected Member Functions inherited from sw::Meta
SwTextMetaGetTextAttr () const
SwTextNodeGetTextNode () const
SwFormatMetaGetFormatMeta () const
void SetFormatMeta (SwFormatMeta *const i_pFormat)
void NotifyChangeTextNode (SwTextNode *const pTextNode)
unotools::WeakReference< SwXMeta > const & GetXMeta () const
void SetXMeta (rtl::Reference< SwXMeta > const &xMeta)
virtual void SwClientNotify (const SwModify &, const SfxHint &) override

Detailed Description

Definition at line 174 of file fmtmeta.hxx.

Constructor & Destructor Documentation

◆ MetaField()

sw::MetaField::MetaField ( SwFormatMeta *const  i_pFormat,
const sal_uInt32  nNumberFormat,
const bool  bIsFixedLanguage 

Definition at line 740 of file fmtatr2.cxx.

Member Function Documentation

◆ GetNumberFormat()

sal_uInt32 sw::MetaField::GetNumberFormat ( const OUString &  aContent) const

◆ GetPrefixAndSuffix()

void sw::MetaField::GetPrefixAndSuffix ( OUString *const  o_pPrefix,
OUString *const  o_pSuffix,
OUString *const  o_pShadingColor 

◆ IsFixedLanguage()

bool sw::MetaField::IsFixedLanguage ( ) const

Definition at line 187 of file fmtmeta.hxx.

References m_bIsFixedLanguage.

Referenced by SwFormatMeta::DoCopy(), and SwXMetaField::getPropertyValue().

◆ SetIsFixedLanguage()

void sw::MetaField::SetIsFixedLanguage ( bool  b)

Definition at line 188 of file fmtmeta.hxx.

References m_bIsFixedLanguage.

Referenced by SwXMetaField::setPropertyValue().

◆ SetNumberFormat()

void sw::MetaField::SetNumberFormat ( sal_uInt32  nNumberFormat)

Definition at line 783 of file fmtatr2.cxx.

References m_nNumberFormat.

Referenced by SwXMetaField::setPropertyValue().

Friends And Related Function Documentation

◆ ::sw::MetaFieldManager

friend class ::sw::MetaFieldManager

Definition at line 180 of file fmtmeta.hxx.

◆ ::SwFormatMeta

friend class ::SwFormatMeta

Definition at line 178 of file fmtmeta.hxx.

◆ ::SwXMetaField

friend class ::SwXMetaField

Definition at line 179 of file fmtmeta.hxx.

Member Data Documentation

◆ m_bIsFixedLanguage

bool sw::MetaField::m_bIsFixedLanguage

Definition at line 183 of file fmtmeta.hxx.

Referenced by IsFixedLanguage(), and SetIsFixedLanguage().

◆ m_nNumberFormat

sal_uInt32 sw::MetaField::m_nNumberFormat

Definition at line 182 of file fmtmeta.hxx.

Referenced by SwFormatMeta::DoCopy(), GetNumberFormat(), and SetNumberFormat().

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