LibreOffice Module sw (master) 1
|
#include <docufld.hxx>
Public Member Functions | |
SwFileNameFieldType (SwDoc &) | |
OUString | Expand (sal_uLong) const |
virtual std::unique_ptr< SwFieldType > | Copy () const override |
Public Member Functions inherited from SwFieldType | |
unotools::WeakReference< SwXFieldMaster > const & | GetXObject () const |
void | SetXObject (rtl::Reference< SwXFieldMaster > const &xFieldMaster) |
virtual OUString | GetName () const |
Only in derived classes. More... | |
virtual std::unique_ptr< SwFieldType > | Copy () const =0 |
virtual void | QueryValue (css::uno::Any &rVal, sal_uInt16 nWhich) const |
virtual void | PutValue (const css::uno::Any &rVal, sal_uInt16 nWhich) |
SwFieldIds | Which () const |
void | PrintHiddenPara () |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
SwFormatField * | FindFormatForField (const SwField *) const |
SwFormatField * | FindFormatForPostItId (sal_uInt32 nPostItId) const |
void | CollectPostIts (std::vector< SwFormatField * > &rvFormatFields, IDocumentRedlineAccess const &rIDRA, bool HideRedlines) |
bool | HasHiddenInformationNotes () const |
void | GatherNodeIndex (std::vector< SwNodeOffset > &rvNodeIndex) |
void | GatherRefFields (std::vector< SwGetRefField * > &rvRFields, const sal_uInt16 nTyp) |
void | GatherFields (std::vector< SwFormatField * > &rvFormatFields, bool bCollectOnlyInDocNodes=true) const |
void | GatherDdeTables (std::vector< SwDDETable * > &rvTables) const |
void | UpdateDocPos (const SwTwips nDocPos) |
virtual void | UpdateFields () |
Private Attributes | |
SwDoc & | m_rDoc |
Additional Inherited Members | |
Static Public Member Functions inherited from SwFieldType | |
static const OUString & | GetTypeStr (SwFieldTypesEnum nTypeId) |
Protected Member Functions inherited from SwFieldType | |
SwFieldType (SwFieldIds nWhichId) | |
Single argument ctors shall be explicit. More... | |
Definition at line 204 of file docufld.hxx.
SwFileNameFieldType::SwFileNameFieldType | ( | SwDoc & | rDocument | ) |
Definition at line 413 of file docufld.cxx.
References Filename.
|
overridevirtual |
OUString SwFileNameFieldType::Expand | ( | sal_uLong | nFormat | ) | const |
Definition at line 419 of file docufld.cxx.
References FF_FIXED, FF_NAME, FF_NAME_NOEXT, FF_PATH, INetURLObject::GetBase(), SwDoc::GetDocShell(), INetURLObject::GetFull(), INetURLObject::GetLastName(), INetURLObject::GetMainURL(), SfxObjectShell::GetMedium(), INetURLObject::GetProtocol(), SfxMedium::GetURLObject(), SfxObjectShell::HasName(), m_rDoc, INetURLObject::NONE, nPos, INetURLObject::PathToFileName(), URIHelper::removePassword(), INetURLObject::removeSegment(), URL_DECODE, INetURLObject::WasEncoded, and INetURLObject::WithCharset.
|
private |
Definition at line 206 of file docufld.hxx.