LibreOffice Module editeng (master) 1
|
#include <flditem.hxx>
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< SvxFieldData > | Clone () 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 | |
SvxFieldData & | operator= (SvxFieldData const &)=default |
SvxFieldData & | operator= (SvxFieldData &&)=default |
virtual std::unique_ptr< SvxFieldData > | Clone () const |
virtual bool | operator== (const SvxFieldData &) const |
virtual MetaAction * | createBeginComment () 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 SvxFieldData * | Create (const css::uno::Reference< css::text::XTextContent > &xContent) |
static MetaAction * | createEndComment () |
Definition at line 321 of file flditem.hxx.
SvxExtFileField::SvxExtFileField | ( | ) |
|
explicit |
Definition at line 708 of file flditem.cxx.
|
overridevirtual |
Reimplemented from SvxFieldData.
Definition at line 716 of file flditem.cxx.
|
inlineoverridevirtual |
Reimplemented from SvxFieldData.
Definition at line 330 of file flditem.hxx.
|
inline |
Definition at line 336 of file flditem.hxx.
|
inline |
Definition at line 342 of file flditem.hxx.
OUString SvxExtFileField::GetFormatted | ( | ) | const |
Definition at line 734 of file flditem.cxx.
References aFile, eFormat, INetURLObject::getBase(), INetURLObject::getFSysPath(), INetURLObject::GetMainURL(), INetURLObject::getName(), INetURLObject::GetProtocol(), INetURLObject::LAST_SEGMENT, NameAndExt, NameOnly, PathFull, PathOnly, INetURLObject::removeSegment(), INetURLObject::setFinalSlash(), INetURLObject::SetURL(), INetURLObject::ToIUri, and INetURLObject::Unambiguous.
|
inline |
Definition at line 339 of file flditem.hxx.
References eType.
|
overridevirtual |
Reimplemented from SvxFieldData.
Definition at line 722 of file flditem.cxx.
|
inline |
Definition at line 337 of file flditem.hxx.
|
inline |
Definition at line 343 of file flditem.hxx.
|
inline |
Definition at line 340 of file flditem.hxx.
References eType.
|
private |
Definition at line 324 of file flditem.hxx.
Referenced by GetFormatted(), operator==(), and SvxExtFileField().
|
staticconstexpr |
Definition at line 329 of file flditem.hxx.
|
private |
Definition at line 326 of file flditem.hxx.
Referenced by GetFormatted(), operator==(), and SvxExtFileField().
|
private |
Definition at line 325 of file flditem.hxx.
Referenced by operator==(), and SvxExtFileField().