LibreOffice Module sw (master) 1
Macros | Functions
docufld.cxx File Reference
#include <config_features.h>
#include <config_fuzzers.h>
#include <textapi.hxx>
#include <hintids.hxx>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/text/XText.hpp>
#include <com/sun/star/script/Converter.hpp>
#include <com/sun/star/text/PlaceholderType.hpp>
#include <com/sun/star/text/TemplateDisplayFormat.hpp>
#include <com/sun/star/text/PageNumberType.hpp>
#include <com/sun/star/text/FilenameDisplayFormat.hpp>
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <com/sun/star/document/XDocumentProperties.hpp>
#include <com/sun/star/util/Date.hpp>
#include <com/sun/star/util/Duration.hpp>
#include <o3tl/any.hxx>
#include <o3tl/string_view.hxx>
#include <unotools/localedatawrapper.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
#include <tools/urlobj.hxx>
#include <svl/numformat.hxx>
#include <svl/urihelper.hxx>
#include <unotools/useroptions.hxx>
#include <unotools/syslocale.hxx>
#include <libxml/xmlstring.h>
#include <libxml/xmlwriter.h>
#include <tools/time.hxx>
#include <tools/datetime.hxx>
#include <com/sun/star/util/DateTime.hpp>
#include <swmodule.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/doctempl.hxx>
#include <fmtfld.hxx>
#include <txtfld.hxx>
#include <charfmt.hxx>
#include <docstat.hxx>
#include <pagedesc.hxx>
#include <fmtpdsc.hxx>
#include <doc.hxx>
#include <IDocumentFieldsAccess.hxx>
#include <IDocumentStatistics.hxx>
#include <IDocumentStylePoolAccess.hxx>
#include <IDocumentLayoutAccess.hxx>
#include <rootfrm.hxx>
#include <pagefrm.hxx>
#include <cntfrm.hxx>
#include <pam.hxx>
#include <utility>
#include <viewsh.hxx>
#include <dbmgr.hxx>
#include <shellres.hxx>
#include <docufld.hxx>
#include <flddat.hxx>
#include <docfld.hxx>
#include <ndtxt.hxx>
#include <expfld.hxx>
#include <poolfmt.hxx>
#include <docsh.hxx>
#include <unofldmid.h>
#include <swunohelper.hxx>
#include <strings.hrc>
#include <editeng/outlobj.hxx>
#include <calbck.hxx>
#include <hints.hxx>
Include dependency graph for docufld.cxx:

Go to the source code of this file.

Macros

#define URL_DECODE   INetURLObject::DecodeMechanism::Unambiguous
 

Functions

static void lcl_GetLocalDataWrapper (LanguageType nLang, const LocaleDataWrapper **ppAppLocalData, const LocaleDataWrapper **ppLocalData)
 
template<class T >
static double lcl_TimeToDouble (const T &rTime)
 
template<class D >
static double lcl_DateToDouble (const D &rDate, const Date &rNullDate)
 

Macro Definition Documentation

◆ URL_DECODE

Definition at line 92 of file docufld.cxx.

Function Documentation

◆ lcl_DateToDouble()

template<class D >
static double lcl_DateToDouble ( const D &  rDate,
const Date rNullDate 
)
static

Definition at line 1037 of file docufld.cxx.

References Date::DateToDays(), Date::GetDay(), Date::GetMonth(), and Date::GetYear().

◆ lcl_GetLocalDataWrapper()

static void lcl_GetLocalDataWrapper ( LanguageType  nLang,
const LocaleDataWrapper **  ppAppLocalData,
const LocaleDataWrapper **  ppLocalData 
)
static

Definition at line 856 of file docufld.cxx.

References SvtSysLocale::GetLocaleData(), and nLang.

Referenced by SwDocInfoFieldType::Expand().

◆ lcl_TimeToDouble()

template<class T >
static double lcl_TimeToDouble ( const T &  rTime)
static

Definition at line 1026 of file docufld.cxx.