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:
[legend]
Collaboration diagram for sw::MetaField:
[legend]

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)
 
virtual ::sfx2::IXmlIdRegistryGetRegistry ()=0
 
virtual bool IsInClipboard () const=0
 
virtual bool IsInUndo () const=0
 
virtual bool IsInContent () const=0
 
virtual css::uno::Reference< css::rdf::XMetadatable > MakeUnoObject ()=0
 
- Public Member Functions inherited from sw::BroadcastingModify
virtual void CallSwClientNotify (const SfxHint &rHint) const override
 
- Public Member Functions inherited from SwModify
 SwModify ()
 
virtual void CallSwClientNotify (const SfxHint &rHint) const
 
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 &)
 
virtual bool GetInfo (SfxPoolItem &) const
 
- 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
 

Friends

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
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
 
SwModifyGetRegisteredInNonConst () const
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint)=0
 

Detailed Description

Definition at line 167 of file fmtmeta.hxx.

Constructor & Destructor Documentation

◆ MetaField()

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

Definition at line 729 of file fmtatr2.cxx.

Member Function Documentation

◆ GetNumberFormat()

sal_uInt32 sw::MetaField::GetNumberFormat ( OUString const &  rContent) const
private

◆ GetPrefixAndSuffix()

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

◆ IsFixedLanguage()

bool sw::MetaField::IsFixedLanguage ( ) const
inlineprivate

Definition at line 180 of file fmtmeta.hxx.

References m_bIsFixedLanguage.

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

◆ SetIsFixedLanguage()

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

Definition at line 181 of file fmtmeta.hxx.

References m_bIsFixedLanguage.

Referenced by SwXMetaField::setPropertyValue().

◆ SetNumberFormat()

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

Definition at line 772 of file fmtatr2.cxx.

References m_nNumberFormat.

Referenced by SwXMetaField::setPropertyValue().

Friends And Related Function Documentation

◆ ::sw::MetaFieldManager

friend class ::sw::MetaFieldManager
friend

Definition at line 173 of file fmtmeta.hxx.

◆ ::SwFormatMeta

friend class ::SwFormatMeta
friend

Definition at line 171 of file fmtmeta.hxx.

◆ ::SwXMetaField

friend class ::SwXMetaField
friend

Definition at line 172 of file fmtmeta.hxx.

Member Data Documentation

◆ m_bIsFixedLanguage

bool sw::MetaField::m_bIsFixedLanguage
private

Definition at line 176 of file fmtmeta.hxx.

Referenced by IsFixedLanguage(), and SetIsFixedLanguage().

◆ m_nNumberFormat

sal_uInt32 sw::MetaField::m_nNumberFormat
private

Definition at line 175 of file fmtmeta.hxx.

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


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