LibreOffice Module editeng (master) 1
Public Member Functions | Private Attributes | List of all members
editeng::CustomPropertyField Class Referencefinal

#include <CustomPropertyField.hxx>

Inheritance diagram for editeng::CustomPropertyField:
[legend]
Collaboration diagram for editeng::CustomPropertyField:
[legend]

Public Member Functions

 CustomPropertyField (OUString aName, OUString aCurrentPresentation)
 
virtual ~CustomPropertyField () override
 
virtual sal_Int32 GetClassId () const override
 
virtual std::unique_ptr< SvxFieldDataClone () const override
 
virtual bool operator== (const SvxFieldData &) const override
 
virtual MetaActioncreateBeginComment () const override
 
OUString GetFormatted (css::uno::Reference< css::document::XDocumentProperties > const &xDocumentProperties)
 
OUString const & GetName () const
 
OUString const & GetCurrentPresentation () const
 
- Public Member Functions inherited from SvxFieldData
virtual sal_Int32 GetClassId () const
 
 SvxFieldData ()
 
virtual ~SvxFieldData ()
 
 SvxFieldData (SvxFieldData const &)=default
 
 SvxFieldData (SvxFieldData &&)=default
 
SvxFieldDataoperator= (SvxFieldData const &)=default
 
SvxFieldDataoperator= (SvxFieldData &&)=default
 
virtual std::unique_ptr< SvxFieldDataClone () const
 
virtual bool operator== (const SvxFieldData &) const
 
virtual MetaActioncreateBeginComment () const
 

Private Attributes

OUString msName
 
OUString msCurrentPresentation
 

Additional Inherited Members

- Static Public Member Functions inherited from SvxFieldData
static SvxFieldDataCreate (const css::uno::Reference< css::text::XTextContent > &xContent)
 
static MetaActioncreateEndComment ()
 
- Static Public Attributes inherited from SvxFieldData
static constexpr auto CLASS_ID = css::text::textfield::Type::UNSPECIFIED
 

Detailed Description

Definition at line 26 of file CustomPropertyField.hxx.

Constructor & Destructor Documentation

◆ CustomPropertyField()

editeng::CustomPropertyField::CustomPropertyField ( OUString  aName,
OUString  aCurrentPresentation 
)
explicit

Definition at line 23 of file CustomPropertyField.cxx.

References aName, and msName.

◆ ~CustomPropertyField()

editeng::CustomPropertyField::~CustomPropertyField ( )
overridevirtual

Definition at line 28 of file CustomPropertyField.cxx.

Member Function Documentation

◆ Clone()

std::unique_ptr< SvxFieldData > editeng::CustomPropertyField::Clone ( ) const
overridevirtual

Reimplemented from SvxFieldData.

Definition at line 31 of file CustomPropertyField.cxx.

References msCurrentPresentation, and msName.

◆ createBeginComment()

MetaAction * editeng::CustomPropertyField::createBeginComment ( ) const
overridevirtual

Reimplemented from SvxFieldData.

Definition at line 46 of file CustomPropertyField.cxx.

◆ GetClassId()

virtual sal_Int32 editeng::CustomPropertyField::GetClassId ( ) const
inlineoverridevirtual

Reimplemented from SvxFieldData.

Definition at line 37 of file CustomPropertyField.hxx.

◆ GetCurrentPresentation()

OUString const & editeng::CustomPropertyField::GetCurrentPresentation ( ) const
inline

Definition at line 51 of file CustomPropertyField.hxx.

◆ GetFormatted()

OUString editeng::CustomPropertyField::GetFormatted ( css::uno::Reference< css::document::XDocumentProperties > const &  xDocumentProperties)

Definition at line 51 of file CustomPropertyField.cxx.

References msCurrentPresentation, and msName.

◆ GetName()

OUString const & editeng::CustomPropertyField::GetName ( ) const
inline

Definition at line 46 of file CustomPropertyField.hxx.

References msName.

◆ operator==()

bool editeng::CustomPropertyField::operator== ( const SvxFieldData rOther) const
overridevirtual

Reimplemented from SvxFieldData.

Definition at line 36 of file CustomPropertyField.cxx.

References msCurrentPresentation, and msName.

Member Data Documentation

◆ msCurrentPresentation

OUString editeng::CustomPropertyField::msCurrentPresentation
private

Definition at line 30 of file CustomPropertyField.hxx.

Referenced by Clone(), GetFormatted(), and operator==().

◆ msName

OUString editeng::CustomPropertyField::msName
private

Definition at line 29 of file CustomPropertyField.hxx.

Referenced by Clone(), GetFormatted(), and operator==().


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