LibreOffice Module sw (master) 1
Public Member Functions | List of all members
SwDocInfoFieldType Class Referencefinal

#include <docufld.hxx>

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

Public Member Functions

 SwDocInfoFieldType (SwDoc *pDc)
 
OUString Expand (sal_uInt16 nSubType, sal_uInt32 nFormat, LanguageType nLang, const OUString &rName) const
 
virtual std::unique_ptr< SwFieldTypeCopy () const override
 
- Public Member Functions inherited from SwValueFieldType
SwDocGetDoc () const
 
void SetDoc (SwDoc *pNewDoc)
 
bool UseFormat () const
 
void EnableFormat (bool bFormat=true)
 
OUString ExpandValue (const double &rVal, sal_uInt32 nFormat, LanguageType nLng) const
 return value formatted as string More...
 
OUString DoubleToString (const double &rVal, LanguageType eLng) const
 
OUString DoubleToString (const double &rVal, sal_uInt32 nFormat) const
 
OUString GetInputOrDateTime (const OUString &rInput, const double &rVal, sal_uInt32 nFormat) const
 Query input or formatted value for dialog. More...
 
- 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< SwFieldTypeCopy () 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
 
SwFormatFieldFindFormatForField (const SwField *) const
 
SwFormatFieldFindFormatForPostItId (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 ()
 

Additional Inherited Members

- Static Public Member Functions inherited from SwFieldType
static const OUString & GetTypeStr (SwFieldTypesEnum nTypeId)
 
- Protected Member Functions inherited from SwValueFieldType
 SwValueFieldType (SwDoc *pDocPtr, SwFieldIds nWhichId)
 
 SwValueFieldType (const SwValueFieldType &rTyp)
 
- Protected Member Functions inherited from SwFieldType
 SwFieldType (SwFieldIds nWhichId)
 Single argument ctors shall be explicit. More...
 

Detailed Description

Definition at line 522 of file docufld.hxx.

Constructor & Destructor Documentation

◆ SwDocInfoFieldType()

SwDocInfoFieldType::SwDocInfoFieldType ( SwDoc pDc)

Definition at line 846 of file docufld.cxx.

References DocInfo.

Member Function Documentation

◆ Copy()

std::unique_ptr< SwFieldType > SwDocInfoFieldType::Copy ( ) const
overridevirtual

Implements SwFieldType.

Definition at line 851 of file docufld.cxx.

References SwValueFieldType::GetDoc().

◆ Expand()

OUString SwDocInfoFieldType::Expand ( sal_uInt16  nSubType,
sal_uInt32  nFormat,
LanguageType  nLang,
const OUString &  rName 
) const

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