LibreOffice Module sw (master)  1
Classes | Enumerations | Functions | Variables
fldmgr.cxx File Reference
#include <config_features.h>
#include <cmdid.h>
#include <hintids.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 <editeng/unolingu.hxx>
#include <unotools/localedatawrapper.hxx>
#include <tools/resary.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/linkmgr.hxx>
#include <sfx2/app.hxx>
#include <sfx2/viewfrm.hxx>
#include <svx/dialogs.hrc>
#include <svx/strarray.hxx>
#include <basic/basmgr.hxx>
#include <editeng/langitem.hxx>
#include <svl/macitem.hxx>
#include <basic/sbmod.hxx>
#include <fmtrfmrk.hxx>
#include <basic/sbmeth.hxx>
#include <basic/sbx.hxx>
#include <svl/zforlist.hxx>
#include <svl/zformat.hxx>
#include <vcl/mnemonic.hxx>
#include <view.hxx>
#include <wrtsh.hxx>
#include <doc.hxx>
#include <docsh.hxx>
#include <swmodule.hxx>
#include <charatr.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 <cnttab.hxx>
#include <unotools/useroptions.hxx>
Include dependency graph for fldmgr.cxx:

Go to the source code of this file.

Classes

struct  SwFieldPack
 

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

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

Enumeration Type Documentation

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 94 of file fldmgr.cxx.

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 115 of file fldmgr.cxx.

Function Documentation

static sal_uInt16 GetPackCount ( )
static

Definition at line 368 of file fldmgr.cxx.

References SAL_N_ELEMENTS.

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

static SwWrtShell* lcl_GetShell ( )
static

Variable Documentation

const SwFieldPack aSwFields[]
static

Definition at line 304 of file fldmgr.cxx.

const char* FLD_DATE_ARY[]
static
Initial value:
=
{
FLD_DATE_FIX,
FLD_DATE_STD,
}

Definition at line 165 of file fldmgr.cxx.

const char* FLD_EU_ARY[]
static
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 140 of file fldmgr.cxx.

const char* FLD_INPUT_ARY[]
static
Initial value:
=
{
FLD_INPUT_TEXT
}

Definition at line 219 of file fldmgr.cxx.

const char* FLD_PAGEREF_ARY[]
static
Initial value:
=
{
FLD_PAGEREF_OFF,
FLD_PAGEREF_ON
}

Definition at line 279 of file fldmgr.cxx.

const char* FLD_STAT_ARY[]
static
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 200 of file fldmgr.cxx.

const char* FLD_TIME_ARY[]
static
Initial value:
=
{
FLD_TIME_FIX,
FLD_TIME_STD
}

Definition at line 171 of file fldmgr.cxx.

const char* FMT_AUTHOR_ARY[]
static
Initial value:
=
{
FMT_AUTHOR_NAME,
FMT_AUTHOR_SCUT
}

Definition at line 159 of file fldmgr.cxx.

const char* FMT_CHAPTER_ARY[]
static
Initial value:
=
{
FMT_CHAPTER_NO,
FMT_CHAPTER_NAME,
FMT_CHAPTER_NAMENO,
FMT_CHAPTER_NO_NOSEPARATOR
}

Definition at line 211 of file fldmgr.cxx.

const char* FMT_DBFLD_ARY[]
static
Initial value:
=
{
FMT_DBFLD_DB,
FMT_DBFLD_SYS
}

Definition at line 255 of file fldmgr.cxx.

Referenced by SwFieldMgr::GetFormatCount().

const char* FMT_DDE_ARY[]
static
Initial value:
=
{
FMT_DDE_NORMAL,
FMT_DDE_HOT
}

Definition at line 273 of file fldmgr.cxx.

const char* FMT_FF_ARY[]
static
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 190 of file fldmgr.cxx.

const char* FMT_GETVAR_ARY[]
static
Initial value:
=
{
FMT_GETVAR_TEXT,
FMT_GETVAR_NAME
}

Definition at line 267 of file fldmgr.cxx.

Referenced by SwFieldMgr::GetFormatCount().

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

Definition at line 224 of file fldmgr.cxx.

const char* FMT_NUM_ARY[]
static
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 177 of file fldmgr.cxx.

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

const char* FMT_REF_ARY[]
static
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 233 of file fldmgr.cxx.

Referenced by SwFieldMgr::InsertField().

const char* FMT_REG_ARY[]
static
Initial value:
=
{
FMT_REG_AUTHOR,
FMT_REG_TIME,
FMT_REG_DATE
}

Definition at line 248 of file fldmgr.cxx.

const char* FMT_SETVAR_ARY[]
static
Initial value:
=
{
FMT_SETVAR_SYS,
FMT_SETVAR_TEXT
}

Definition at line 261 of file fldmgr.cxx.

Referenced by SwFieldMgr::GetFormatCount().

const char* FMT_USERVAR_ARY[]
static
Initial value:
=
{
FMT_USERVAR_TEXT,
FMT_USERVAR_CMD
}

Definition at line 285 of file fldmgr.cxx.

Referenced by SwFieldMgr::GetFormatCount().

const sal_uInt16 VF_COUNT = 1
static

Definition at line 136 of file fldmgr.cxx.

Referenced by SwFieldMgr::GetFormatCount().

const sal_uInt16 VF_DB_COUNT = 1
static

Definition at line 138 of file fldmgr.cxx.

Referenced by SwFieldMgr::GetFormatCount().

const sal_uInt16 VF_USR_COUNT = 2
static

Definition at line 137 of file fldmgr.cxx.

Referenced by SwFieldMgr::GetFormatCount().