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

#include <flditem.hxx>

Inheritance diagram for SvxExtFileField:
[legend]
Collaboration diagram for SvxExtFileField:
[legend]

Public Member Functions

virtual sal_Int32 GetClassId () const override
 
 SvxExtFileField ()
 
 SvxExtFileField (const OUString &rString, SvxFileType eType=SvxFileType::Var, SvxFileFormat eFormat=SvxFileFormat::PathFull)
 
const OUString & GetFile () const
 
void SetFile (const OUString &rString)
 
SvxFileType GetType () const
 
void SetType (SvxFileType eTp)
 
SvxFileFormat GetFormat () const
 
void SetFormat (SvxFileFormat eFmt)
 
OUString GetFormatted () const
 
virtual std::unique_ptr< SvxFieldDataClone () const override
 
virtual bool operator== (const SvxFieldData &) const override
 
- 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
 

Static Public Attributes

static constexpr auto CLASS_ID = css::text::textfield::Type::EXTENDED_FILE
 
- Static Public Attributes inherited from SvxFieldData
static constexpr auto CLASS_ID = css::text::textfield::Type::UNSPECIFIED
 

Private Attributes

OUString aFile
 
SvxFileType eType
 
SvxFileFormat eFormat
 

Additional Inherited Members

- Static Public Member Functions inherited from SvxFieldData
static SvxFieldDataCreate (const css::uno::Reference< css::text::XTextContent > &xContent)
 
static MetaActioncreateEndComment ()
 

Detailed Description

Definition at line 321 of file flditem.hxx.

Constructor & Destructor Documentation

◆ SvxExtFileField() [1/2]

SvxExtFileField::SvxExtFileField ( )

Definition at line 701 of file flditem.cxx.

References eFormat, eType, PathFull, and Var.

◆ SvxExtFileField() [2/2]

SvxExtFileField::SvxExtFileField ( const OUString &  rString,
SvxFileType  eType = SvxFileType::Var,
SvxFileFormat  eFormat = SvxFileFormat::PathFull 
)
explicit

Definition at line 708 of file flditem.cxx.

References aFile, eFormat, and eType.

Member Function Documentation

◆ Clone()

std::unique_ptr< SvxFieldData > SvxExtFileField::Clone ( ) const
overridevirtual

Reimplemented from SvxFieldData.

Definition at line 716 of file flditem.cxx.

◆ GetClassId()

virtual sal_Int32 SvxExtFileField::GetClassId ( ) const
inlineoverridevirtual

Reimplemented from SvxFieldData.

Definition at line 330 of file flditem.hxx.

◆ GetFile()

const OUString & SvxExtFileField::GetFile ( ) const
inline

Definition at line 336 of file flditem.hxx.

◆ GetFormat()

SvxFileFormat SvxExtFileField::GetFormat ( ) const
inline

Definition at line 342 of file flditem.hxx.

◆ GetFormatted()

OUString SvxExtFileField::GetFormatted ( ) const

◆ GetType()

SvxFileType SvxExtFileField::GetType ( ) const
inline

Definition at line 339 of file flditem.hxx.

References eType.

◆ operator==()

bool SvxExtFileField::operator== ( const SvxFieldData rOther) const
overridevirtual

Reimplemented from SvxFieldData.

Definition at line 722 of file flditem.cxx.

References aFile, eFormat, and eType.

◆ SetFile()

void SvxExtFileField::SetFile ( const OUString &  rString)
inline

Definition at line 337 of file flditem.hxx.

◆ SetFormat()

void SvxExtFileField::SetFormat ( SvxFileFormat  eFmt)
inline

Definition at line 343 of file flditem.hxx.

◆ SetType()

void SvxExtFileField::SetType ( SvxFileType  eTp)
inline

Definition at line 340 of file flditem.hxx.

References eType.

Member Data Documentation

◆ aFile

OUString SvxExtFileField::aFile
private

Definition at line 324 of file flditem.hxx.

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

◆ CLASS_ID

constexpr auto SvxExtFileField::CLASS_ID = css::text::textfield::Type::EXTENDED_FILE
staticconstexpr

Definition at line 329 of file flditem.hxx.

◆ eFormat

SvxFileFormat SvxExtFileField::eFormat
private

Definition at line 326 of file flditem.hxx.

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

◆ eType

SvxFileType SvxExtFileField::eType
private

Definition at line 325 of file flditem.hxx.

Referenced by operator==(), and SvxExtFileField().


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