LibreOffice Module sw (master) 1
|
knows all meta-fields in the document. More...
#include <fmtmeta.hxx>
Public Member Functions | |
MetaFieldManager () | |
std::shared_ptr< MetaField > | makeMetaField (SwFormatMeta *const i_pFormat=nullptr, const sal_uInt32 nNumberFormat=SAL_MAX_UINT32, const bool bIsFixedLanguage=false) |
std::vector< css::uno::Reference< css::text::XTextField > > | getMetaFields () |
get all meta fields More... | |
void | copyDocumentProperties (const SwDoc &rSource) |
Copy document properties from rSource to m_xDocumentProperties. More... | |
const css::uno::Reference< css::document::XDocumentProperties > & | getDocumentProperties () const |
Private Types | |
typedef std::vector< std::weak_ptr< MetaField > > | MetaFieldList_t |
Private Member Functions | |
MetaFieldManager (MetaFieldManager const &)=delete | |
MetaFieldManager & | operator= (MetaFieldManager const &)=delete |
Private Attributes | |
MetaFieldList_t | m_MetaFields |
css::uno::Reference< css::document::XDocumentProperties > | m_xDocumentProperties |
Document properties of a clipboard document, empty for non-clipboard documents. More... | |
knows all meta-fields in the document.
Definition at line 201 of file fmtmeta.hxx.
|
private |
Definition at line 204 of file fmtmeta.hxx.
|
privatedelete |
sw::MetaFieldManager::MetaFieldManager | ( | ) |
Definition at line 790 of file fmtatr2.cxx.
void sw::MetaFieldManager::copyDocumentProperties | ( | const SwDoc & | rSource | ) |
Copy document properties from rSource to m_xDocumentProperties.
Definition at line 845 of file fmtatr2.cxx.
References SwDoc::GetDocShell(), SfxObjectShell::GetModel(), and m_xDocumentProperties.
Referenced by SwTransferable::PrepareForCopyTextRange().
const uno::Reference< document::XDocumentProperties > & sw::MetaFieldManager::getDocumentProperties | ( | ) | const |
Definition at line 856 of file fmtatr2.cxx.
References m_xDocumentProperties.
Referenced by RtfExport::WriteUserProps().
std::vector< uno::Reference< text::XTextField > > sw::MetaFieldManager::getMetaFields | ( | ) |
std::shared_ptr< MetaField > sw::MetaFieldManager::makeMetaField | ( | SwFormatMeta *const | i_pFormat = nullptr , |
const sal_uInt32 | nNumberFormat = SAL_MAX_UINT32 , |
||
const bool | bIsFixedLanguage = false |
||
) |
Definition at line 795 of file fmtatr2.cxx.
References m_MetaFields.
Referenced by SwXMeta::AttachImpl(), and SwFormatMeta::DoCopy().
|
privatedelete |
|
private |
Definition at line 205 of file fmtmeta.hxx.
Referenced by getMetaFields(), and makeMetaField().
|
private |
Document properties of a clipboard document, empty for non-clipboard documents.
Definition at line 207 of file fmtmeta.hxx.
Referenced by copyDocumentProperties(), and getDocumentProperties().