LibreOffice Module sw (master) 1
|
#include <docufld.hxx>
Public Member Functions | |
SwDocInfoFieldType (SwDoc *pDc) | |
OUString | Expand (sal_uInt16 nSubType, sal_uInt32 nFormat, LanguageType nLang, const OUString &rName) const |
virtual std::unique_ptr< SwFieldType > | Copy () const override |
Public Member Functions inherited from SwValueFieldType | |
SwDoc * | GetDoc () 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< 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 () |
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... | |
Definition at line 522 of file docufld.hxx.
SwDocInfoFieldType::SwDocInfoFieldType | ( | SwDoc * | pDc | ) |
Definition at line 846 of file docufld.cxx.
References DocInfo.
|
overridevirtual |
Implements SwFieldType.
Definition at line 851 of file docufld.cxx.
References SwValueFieldType::GetDoc().
OUString SwDocInfoFieldType::Expand | ( | sal_uInt16 | nSubType, |
sal_uInt32 | nFormat, | ||
LanguageType | nLang, | ||
const OUString & | rName | ||
) | const |
Definition at line 867 of file docufld.cxx.
References aName, aStr, nsSwDocInfoSubType::DI_CHANGE, nsSwDocInfoSubType::DI_COMMENT, nsSwDocInfoSubType::DI_CREATE, nsSwDocInfoSubType::DI_CUSTOM, nsSwDocInfoSubType::DI_DOCNO, nsSwDocInfoSubType::DI_EDIT, nsSwDocInfoSubType::DI_KEYS, nsSwDocInfoSubType::DI_PRINT, nsSwDocInfoSubType::DI_SUB_AUTHOR, nsSwDocInfoSubType::DI_SUB_DATE, nsSwDocInfoSubType::DI_SUB_FIXED, nsSwDocInfoSubType::DI_SUB_TIME, nsSwDocInfoSubType::DI_SUBJECT, nsSwDocInfoSubType::DI_TITLE, SwValueFieldType::ExpandValue(), SwDateTimeField::GetDateTime(), SwValueFieldType::GetDoc(), SfxObjectShell::GetModel(), comphelper::getProcessComponentContext(), tools::Time::GetTimeInDays(), Date::IsValidAndGregorian(), lcl_GetLocalDataWrapper(), nLang, and xConverter.
Referenced by sw::DocumentFieldsManager::SetFixFields().