LibreOffice Module sw (master) 1
Enumerations | Functions | Variables
fldmgr.cxx File Reference
#include <config_features.h>
#include <config_fuzzers.h>
#include <cmdid.h>
#include <hintids.hxx>
#include <svl/numformat.hxx>
#include <svl/stritem.hxx>
#include <com/sun/star/text/DefaultNumberingProvider.hpp>
#include <com/sun/star/text/XDefaultNumberingProvider.hpp>
#include <com/sun/star/text/XNumberingTypeInfo.hpp>
#include <com/sun/star/style/NumberingType.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/sdbc/XConnection.hpp>
#include <com/sun/star/sdbc/XDataSource.hpp>
#include <com/sun/star/uri/UriReferenceFactory.hpp>
#include <com/sun/star/uri/XVndSunStarScriptUrl.hpp>
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
#include <o3tl/string_view.hxx>
#include <tools/resary.hxx>
#include <osl/diagnose.h>
#include <sfx2/dispatch.hxx>
#include <sfx2/linkmgr.hxx>
#include <sfx2/app.hxx>
#include <sfx2/viewfrm.hxx>
#include <svx/strarray.hxx>
#include <fmtrfmrk.hxx>
#include <svl/zforlist.hxx>
#include <svl/zformat.hxx>
#include <vcl/mnemonic.hxx>
#include <view.hxx>
#include <wrtsh.hxx>
#include <doc.hxx>
#include <swmodule.hxx>
#include <fmtinfmt.hxx>
#include <cellatr.hxx>
#include <dbmgr.hxx>
#include <shellres.hxx>
#include <fldbas.hxx>
#include <docufld.hxx>
#include <chpfld.hxx>
#include <ddefld.hxx>
#include <expfld.hxx>
#include <reffld.hxx>
#include <usrfld.hxx>
#include <dbfld.hxx>
#include <authfld.hxx>
#include <flddat.hxx>
#include <fldmgr.hxx>
#include <flddropdown.hxx>
#include <strings.hrc>
#include <tox.hxx>
#include <viewopt.hxx>
#include <txmsrt.hxx>
#include <unotools/useroptions.hxx>
#include <IDocumentContentOperations.hxx>
#include <translatehelper.hxx>
Include dependency graph for fldmgr.cxx:

Go to the source code of this file.

Enumerations

enum  {
  GRP_DOC_BEGIN = 0 ,
  GRP_DOC_END = GRP_DOC_BEGIN + 12 ,
  GRP_FKT_BEGIN = GRP_DOC_END ,
  GRP_FKT_END = GRP_FKT_BEGIN + 8 ,
  GRP_REF_BEGIN = GRP_FKT_END ,
  GRP_REF_END = GRP_REF_BEGIN + 2 ,
  GRP_REG_BEGIN = GRP_REF_END ,
  GRP_REG_END = GRP_REG_BEGIN + 1 ,
  GRP_DB_BEGIN = GRP_REG_END ,
  GRP_DB_END = GRP_DB_BEGIN + 5 ,
  GRP_VAR_BEGIN = GRP_DB_END ,
  GRP_VAR_END = GRP_VAR_BEGIN + 9
}
 
enum  {
  GRP_WEB_DOC_BEGIN = 0 ,
  GRP_WEB_DOC_END = GRP_WEB_DOC_BEGIN + 9 ,
  GRP_WEB_FKT_BEGIN = GRP_WEB_DOC_END + 2 ,
  GRP_WEB_FKT_END = GRP_WEB_FKT_BEGIN + 0 ,
  GRP_WEB_REF_BEGIN = GRP_WEB_FKT_END + 6 ,
  GRP_WEB_REF_END = GRP_WEB_REF_BEGIN + 0 ,
  GRP_WEB_REG_BEGIN = GRP_WEB_REF_END + 2 ,
  GRP_WEB_REG_END = GRP_WEB_REG_BEGIN + 1 ,
  GRP_WEB_DB_BEGIN = GRP_WEB_REG_END ,
  GRP_WEB_DB_END = GRP_WEB_DB_BEGIN + 0 ,
  GRP_WEB_VAR_BEGIN = GRP_WEB_DB_END + 5 ,
  GRP_WEB_VAR_END = GRP_WEB_VAR_BEGIN + 1
}
 

Functions

static SwWrtShelllcl_GetShell ()
 
static sal_uInt16 GetPackCount ()
 

Variables

const sal_uInt16 VF_COUNT = 1
 
const sal_uInt16 VF_USR_COUNT = 2
 
const sal_uInt16 VF_DB_COUNT = 1
 
const TranslateId FLD_EU_ARY []
 
const TranslateId FMT_AUTHOR_ARY []
 
const TranslateId FLD_DATE_ARY []
 
const TranslateId FLD_TIME_ARY []
 
const TranslateId FMT_NUM_ARY []
 
const TranslateId FMT_FF_ARY []
 
const TranslateId FLD_STAT_ARY []
 
const TranslateId FMT_CHAPTER_ARY []
 
const TranslateId FLD_INPUT_ARY []
 
const TranslateId FMT_MARK_ARY []
 
const TranslateId FMT_REF_ARY []
 
const TranslateId FMT_REG_ARY []
 
const TranslateId FMT_DBFLD_ARY []
 
const TranslateId FMT_SETVAR_ARY []
 
const TranslateId FMT_GETVAR_ARY []
 
const TranslateId FMT_DDE_ARY []
 
const TranslateId FLD_PAGEREF_ARY []
 
const TranslateId FMT_USERVAR_ARY []
 
const SwFieldPack aSwFields []
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
GRP_DOC_BEGIN 
GRP_DOC_END 
GRP_FKT_BEGIN 
GRP_FKT_END 
GRP_REF_BEGIN 
GRP_REF_END 
GRP_REG_BEGIN 
GRP_REG_END 
GRP_DB_BEGIN 
GRP_DB_END 
GRP_VAR_BEGIN 
GRP_VAR_END 

Definition at line 89 of file fldmgr.cxx.

◆ anonymous enum

anonymous enum
Enumerator
GRP_WEB_DOC_BEGIN 
GRP_WEB_DOC_END 
GRP_WEB_FKT_BEGIN 
GRP_WEB_FKT_END 
GRP_WEB_REF_BEGIN 
GRP_WEB_REF_END 
GRP_WEB_REG_BEGIN 
GRP_WEB_REG_END 
GRP_WEB_DB_BEGIN 
GRP_WEB_DB_END 
GRP_WEB_VAR_BEGIN 
GRP_WEB_VAR_END 

Definition at line 110 of file fldmgr.cxx.

Function Documentation

◆ GetPackCount()

static sal_uInt16 GetPackCount ( )
static

Definition at line 365 of file fldmgr.cxx.

References aSwFields, and SAL_N_ELEMENTS.

Referenced by SwFieldMgr::GetPos(), SwFieldMgr::GetTypeId(), and SwFieldMgr::GetTypeStr().

◆ lcl_GetShell()

static SwWrtShell * lcl_GetShell ( )
static

Variable Documentation

◆ aSwFields

const SwFieldPack aSwFields[]

◆ FLD_DATE_ARY

const TranslateId FLD_DATE_ARY[]
Initial value:
=
{
FLD_DATE_STD,
FLD_DATE_FIX
}

Definition at line 160 of file fldmgr.cxx.

◆ FLD_EU_ARY

const TranslateId FLD_EU_ARY[]
Initial value:
=
{
FLD_EU_COMPANY,
FLD_EU_GIVENNAME,
FLD_EU_SURNAME,
FLD_EU_INITIALS,
FLD_EU_STREET,
FLD_EU_COUNTRY,
FLD_EU_POSTCODE,
FLD_EU_TOWN,
FLD_EU_TITLE,
FLD_EU_POS,
FLD_EU_TELPERSONAL,
FLD_EU_TELWORK,
FLD_EU_FAX,
FLD_EU_EMAIL,
FLD_EU_REGION
}

Definition at line 135 of file fldmgr.cxx.

◆ FLD_INPUT_ARY

const TranslateId FLD_INPUT_ARY[]
Initial value:
=
{
FLD_INPUT_TEXT
}

Definition at line 214 of file fldmgr.cxx.

◆ FLD_PAGEREF_ARY

const TranslateId FLD_PAGEREF_ARY[]
Initial value:
=
{
FLD_PAGEREF_OFF,
FLD_PAGEREF_ON
}

Definition at line 274 of file fldmgr.cxx.

◆ FLD_STAT_ARY

const TranslateId FLD_STAT_ARY[]
Initial value:
=
{
FLD_STAT_PAGE,
FLD_STAT_PARA,
FLD_STAT_WORD,
FLD_STAT_CHAR,
FLD_STAT_TABLE,
FLD_STAT_GRF,
FLD_STAT_OBJ
}

Definition at line 195 of file fldmgr.cxx.

◆ FLD_TIME_ARY

const TranslateId FLD_TIME_ARY[]
Initial value:
=
{
FLD_TIME_STD,
FLD_TIME_FIX
}

Definition at line 166 of file fldmgr.cxx.

◆ FMT_AUTHOR_ARY

const TranslateId FMT_AUTHOR_ARY[]
Initial value:
=
{
FMT_AUTHOR_NAME,
FMT_AUTHOR_SCUT
}

Definition at line 154 of file fldmgr.cxx.

◆ FMT_CHAPTER_ARY

const TranslateId FMT_CHAPTER_ARY[]
Initial value:
=
{
FMT_CHAPTER_NO,
FMT_CHAPTER_NAME,
FMT_CHAPTER_NAMENO,
FMT_CHAPTER_NO_NOSEPARATOR
}

Definition at line 206 of file fldmgr.cxx.

◆ FMT_DBFLD_ARY

const TranslateId FMT_DBFLD_ARY[]
Initial value:
=
{
FMT_DBFLD_DB,
FMT_DBFLD_SYS
}

Definition at line 250 of file fldmgr.cxx.

Referenced by SwFieldMgr::GetFormatCount().

◆ FMT_DDE_ARY

const TranslateId FMT_DDE_ARY[]
Initial value:
=
{
FMT_DDE_NORMAL,
FMT_DDE_HOT
}

Definition at line 268 of file fldmgr.cxx.

◆ FMT_FF_ARY

const TranslateId FMT_FF_ARY[]
Initial value:
=
{
FMT_FF_NAME,
FMT_FF_PATHNAME,
FMT_FF_PATH,
FMT_FF_NAME_NOEXT,
FMT_FF_UI_NAME,
FMT_FF_UI_RANGE
}

Definition at line 185 of file fldmgr.cxx.

◆ FMT_GETVAR_ARY

const TranslateId FMT_GETVAR_ARY[]
Initial value:
=
{
FMT_GETVAR_TEXT,
FMT_GETVAR_NAME
}

Definition at line 262 of file fldmgr.cxx.

Referenced by SwFieldMgr::GetFormatCount().

◆ FMT_MARK_ARY

const TranslateId FMT_MARK_ARY[]
Initial value:
=
{
FMT_MARK_TEXT,
FMT_MARK_TABLE,
FMT_MARK_FRAME,
FMT_MARK_GRAFIC,
FMT_MARK_OLE
}

Definition at line 219 of file fldmgr.cxx.

◆ FMT_NUM_ARY

const TranslateId FMT_NUM_ARY[]
Initial value:
=
{
FMT_NUM_ABC,
FMT_NUM_SABC,
FMT_NUM_ABC_N,
FMT_NUM_SABC_N,
FMT_NUM_ROMAN,
FMT_NUM_SROMAN,
FMT_NUM_ARABIC,
FMT_NUM_PAGEDESC,
FMT_NUM_PAGESPECIAL
}

Definition at line 172 of file fldmgr.cxx.

Referenced by SwFieldMgr::GetFormatCount(), and SwFieldMgr::GetFormatStr().

◆ FMT_REF_ARY

const TranslateId FMT_REF_ARY[]
Initial value:
=
{
FMT_REF_PAGE,
FMT_REF_CHAPTER,
FMT_REF_TEXT,
FMT_REF_UPDOWN,
FMT_REF_PAGE_PGDSC,
FMT_REF_ONLYNUMBER,
FMT_REF_ONLYCAPTION,
FMT_REF_ONLYSEQNO,
FMT_REF_NUMBER,
FMT_REF_NUMBER_NO_CONTEXT,
FMT_REF_NUMBER_FULL_CONTEXT
}

Definition at line 228 of file fldmgr.cxx.

Referenced by SwFieldMgr::InsertField().

◆ FMT_REG_ARY

const TranslateId FMT_REG_ARY[]
Initial value:
=
{
FMT_REG_AUTHOR,
FMT_REG_TIME,
FMT_REG_DATE
}

Definition at line 243 of file fldmgr.cxx.

◆ FMT_SETVAR_ARY

const TranslateId FMT_SETVAR_ARY[]
Initial value:
=
{
FMT_SETVAR_SYS,
FMT_SETVAR_TEXT
}

Definition at line 256 of file fldmgr.cxx.

Referenced by SwFieldMgr::GetFormatCount().

◆ FMT_USERVAR_ARY

const TranslateId FMT_USERVAR_ARY[]
Initial value:
=
{
FMT_USERVAR_TEXT,
FMT_USERVAR_CMD
}

Definition at line 280 of file fldmgr.cxx.

Referenced by SwFieldMgr::GetFormatCount().

◆ VF_COUNT

const sal_uInt16 VF_COUNT = 1

Definition at line 131 of file fldmgr.cxx.

Referenced by SwFieldMgr::GetFormatCount().

◆ VF_DB_COUNT

const sal_uInt16 VF_DB_COUNT = 1

Definition at line 133 of file fldmgr.cxx.

Referenced by SwFieldMgr::GetFormatCount().

◆ VF_USR_COUNT

const sal_uInt16 VF_USR_COUNT = 2

Definition at line 132 of file fldmgr.cxx.

Referenced by SwFieldMgr::GetFormatCount().