LibreOffice Module sw (master) 1
|
Meta is an annotation on a range of text. More...
#include <fmtmeta.hxx>
Public Member Functions | |
Meta (SwFormatMeta *const i_pFormat) | |
virtual | ~Meta () override |
virtual ::sfx2::IXmlIdRegistry & | GetRegistry () 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 |
Protected Member Functions | |
SwTextMeta * | GetTextAttr () const |
SwTextNode * | GetTextNode () const |
SwFormatMeta * | GetFormatMeta () 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 |
Private Attributes | |
unotools::WeakReference< SwXMeta > | m_wXMeta |
SwFormatMeta * | m_pFormat |
SwTextNode * | m_pTextNode |
Friends | |
class | ::SwFormatMeta |
SetFormatMeta, NotifyChangeTextNode. More... | |
class | ::SwXMeta |
GetTextNode, GetTextAttr, Get/SetXMeta. More... | |
Meta is an annotation on a range of text.
There is no UI to insert such annotations, but the UNO API can do so.
See https://wiki.documentfoundation.org/Documentation/DevGuide/Office_Development#Annotated_text_range for more details.
Definition at line 134 of file fmtmeta.hxx.
|
explicit |
Definition at line 651 of file fmtatr2.cxx.
|
overridevirtual |
Definition at line 659 of file fmtatr2.cxx.
|
inlineprotected |
Definition at line 151 of file fmtmeta.hxx.
References m_pFormat.
|
override |
sfx2::Metadatable
Definition at line 703 of file fmtatr2.cxx.
References SwTextNode::GetRegistry(), and GetTextNode().
|
protected |
Definition at line 663 of file fmtatr2.cxx.
References SwFormatMeta::GetTextAttr(), and m_pFormat.
Referenced by SwXMeta::SetContentRange().
|
inlineprotected |
Definition at line 149 of file fmtmeta.hxx.
References m_pTextNode.
Referenced by SwXMeta::GetModel(), sw::MetaField::GetNumberFormat(), sw::MetaField::GetPrefixAndSuffix(), GetRegistry(), IsInClipboard(), IsInContent(), IsInUndo(), and SwXMeta::SetContentRange().
|
inlineprotected |
Definition at line 156 of file fmtmeta.hxx.
References m_wXMeta.
|
overridevirtual |
Definition at line 714 of file fmtatr2.cxx.
References GetTextNode(), and SwTextNode::IsInClipboard().
|
overridevirtual |
Definition at line 728 of file fmtatr2.cxx.
References GetTextNode(), and SwTextNode::IsInContent().
|
overridevirtual |
Definition at line 721 of file fmtatr2.cxx.
References GetTextNode(), and SwTextNode::IsInUndo().
|
overridevirtual |
Definition at line 735 of file fmtatr2.cxx.
References SwXMeta::CreateXMeta().
Referenced by SwUnoCursorHelper::GetNestedTextContent(), and sw::MetaField::GetPrefixAndSuffix().
|
protected |
Definition at line 671 of file fmtatr2.cxx.
References m_pTextNode.
|
inlineprotected |
Definition at line 152 of file fmtmeta.hxx.
References m_pFormat.
|
protected |
Definition at line 688 of file fmtatr2.cxx.
References SfxHint::GetId(), RES_REMOVE_UNO_OBJECT(), and SetXMeta().
|
friend |
SetFormatMeta, NotifyChangeTextNode.
Definition at line 138 of file fmtmeta.hxx.
|
friend |
GetTextNode, GetTextAttr, Get/SetXMeta.
Definition at line 139 of file fmtmeta.hxx.
|
private |
Definition at line 143 of file fmtmeta.hxx.
Referenced by GetFormatMeta(), GetTextAttr(), and SetFormatMeta().
|
private |
Definition at line 144 of file fmtmeta.hxx.
Referenced by GetTextNode(), and NotifyChangeTextNode().
|
private |
Definition at line 141 of file fmtmeta.hxx.
Referenced by GetXMeta(), and SetXMeta().