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
- Public Member Functions inherited from sfx2::Metadatable
 Metadatable ()
virtual ~Metadatable ()
css::beans::StringPair GetMetadataReference () const
void SetMetadataReference (const css::beans::StringPair &i_rReference)
void EnsureMetadataReference ()
void RemoveMetadataReference ()
void RegisterAsCopyOf (Metadatable const &i_rSource, const bool i_bCopyPrecedesSource=false)
std::shared_ptr< MetadatableUndoCreateUndo () const
std::shared_ptr< MetadatableUndoCreateUndoForDelete ()
void RestoreMetadata (std::shared_ptr< MetadatableUndo > const &i_pUndo)
void JoinMetadatable (Metadatable const &i_rOther, const bool i_isMergedEmpty, const bool i_isOtherEmpty)
- Public Member Functions inherited from sw::BroadcastingModify
virtual void CallSwClientNotify (const SfxHint &rHint) const override
- Public Member Functions inherited from SwModify
 SwModify ()
virtual ~SwModify () override
void Add (SwClient *pDepend)
SwClientRemove (SwClient *pDepend)
bool HasWriterListeners () const
bool HasOnlyOneListener () const
virtual bool GetInfo (SfxPoolItem &) const override
void LockModify ()
void UnlockModify ()
bool IsModifyLocked () const
- Public Member Functions inherited from SwClient
 SwClient ()
 SwClient (SwClient &&) noexcept
virtual ~SwClient () override
std::optional< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
void CheckRegistrationFormat (SwFormat &rOld)
const SwModifyGetRegisteredIn () const
SwModifyGetRegisteredIn ()
void EndListeningAll ()
void StartListeningToSameModifyAs (const SwClient &)
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
virtual const SwCellFrameDynCastCellFrame () const
virtual const SwTabFrameDynCastTabFrame () const
virtual const SwRowFrameDynCastRowFrame () const
- Public Member Functions inherited from sw::BroadcasterMixin
 BroadcasterMixin ()=default
 BroadcasterMixin (BroadcasterMixin const &)=default
BroadcasterMixinoperator= (const BroadcasterMixin &)
SvtBroadcasterGetNotifier ()

Private Member Functions

sal_uInt32 GetNumberFormat (OUString const &rContent) 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)
css::uno::WeakReference< css::rdf::XMetadatable > const & GetXMeta () const
void SetXMeta (css::uno::Reference< css::rdf::XMetadatable > const &xMeta)
virtual void SwClientNotify (const SwModify &, const SfxHint &) override
- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
SwModifyGetRegisteredInNonConst () const
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE

Detailed Description

Definition at line 169 of file fmtmeta.hxx.

Constructor & Destructor Documentation

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

Definition at line 726 of file fmtatr2.cxx.

Member Function Documentation

sal_uInt32 sw::MetaField::GetNumberFormat ( OUString const &  rContent) const
void sw::MetaField::GetPrefixAndSuffix ( OUString *const  o_pPrefix,
OUString *const  o_pSuffix,
OUString *const  o_pShadingColor 

get prefix/suffix from the RDF repository.


Definition at line 734 of file fmtatr2.cxx.

References SwNode::GetDoc(), SwDoc::GetDocShell(), getPrefixAndSuffix(), sw::Meta::GetTextNode(), sw::Meta::MakeUnoObject(), TOOLS_WARN_EXCEPTION, and xModel.

Referenced by lcl_NewMetaPortion().

bool sw::MetaField::IsFixedLanguage ( ) const

Definition at line 182 of file fmtmeta.hxx.

References m_bIsFixedLanguage.

Referenced by SwFormatMeta::DoCopy().

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

Definition at line 183 of file fmtmeta.hxx.

Referenced by SwXMetaField::setPropertyValue().

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

Definition at line 769 of file fmtatr2.cxx.

References m_nNumberFormat.

Referenced by SwXMetaField::setPropertyValue().

Friends And Related Function Documentation

friend class ::sw::MetaFieldManager

Definition at line 175 of file fmtmeta.hxx.

friend class ::SwFormatMeta

Definition at line 173 of file fmtmeta.hxx.

friend class ::SwXMetaField

Definition at line 174 of file fmtmeta.hxx.

Member Data Documentation

bool sw::MetaField::m_bIsFixedLanguage

Definition at line 178 of file fmtmeta.hxx.

Referenced by IsFixedLanguage().

sal_uInt32 sw::MetaField::m_nNumberFormat

Definition at line 177 of file fmtmeta.hxx.

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

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