LibreOffice Module sw (master)  1
Macros | Enumerations | Functions | Variables
fldref.cxx File Reference
#include <swtypes.hxx>
#include <view.hxx>
#include <IMark.hxx>
#include <expfld.hxx>
#include <swmodule.hxx>
#include "fldref.hxx"
#include <reffld.hxx>
#include <wrtsh.hxx>
#include <fldref.hrc>
#include <globals.hrc>
#include <strings.hrc>
#include <SwNodeNum.hxx>
#include <IDocumentMarkAccess.hxx>
#include <ndtxt.hxx>
#include <unotools/configmgr.hxx>
#include <unotools/syslocaleoptions.hxx>
#include <unotools/charclass.hxx>
#include <comphelper/string.hxx>
Include dependency graph for fldref.cxx:

Go to the source code of this file.

Macros

#define REFFLDFLAG   0x4000
 
#define REFFLDFLAG_BOOKMARK   0x4800
 
#define REFFLDFLAG_FOOTNOTE   0x5000
 
#define REFFLDFLAG_ENDNOTE   0x6000
 
#define REFFLDFLAG_HEADING   0x7100
 
#define REFFLDFLAG_NUMITEM   0x7200
 
#define USER_DATA_VERSION_1   "1"
 
#define USER_DATA_VERSION   USER_DATA_VERSION_1
 

Enumerations

enum  FMT_REF_IDX {
  FMT_REF_PAGE_IDX = 0,
  FMT_REF_CHAPTER_IDX = 1,
  FMT_REF_TEXT_IDX = 2,
  FMT_REF_UPDOWN_IDX = 3,
  FMT_REF_PAGE_PGDSC_IDX = 4,
  FMT_REF_ONLYNUMBER_IDX = 5,
  FMT_REF_ONLYCAPTION_IDX = 6,
  FMT_REF_ONLYSEQNO_IDX = 7,
  FMT_REF_NUMBER_IDX = 8,
  FMT_REF_NUMBER_NO_CONTEXT_IDX = 9,
  FMT_REF_NUMBER_FULL_CONTEXT_IDX = 10
}
 

Functions

 IMPL_LINK_NOARG (SwFieldRefPage, ModifyHdl_Impl, weld::Entry &, void)
 
 IMPL_LINK_NOARG (SwFieldRefPage, TypeHdl, weld::TreeView &, void)
 
 IMPL_LINK_NOARG (SwFieldRefPage, SubTypeTreeListBoxHdl, weld::TreeView &, void)
 
 IMPL_LINK_NOARG (SwFieldRefPage, SubTypeListBoxHdl, weld::TreeView &, void)
 
 IMPL_LINK_NOARG (SwFieldRefPage, ModifyHdl, weld::Entry &, void)
 

Variables

static sal_uInt16 nFieldDlgFormatSel = 0
 
static const char * FMT_REF_ARY []
 

Macro Definition Documentation

#define REFFLDFLAG   0x4000
#define REFFLDFLAG_BOOKMARK   0x4800
#define REFFLDFLAG_ENDNOTE   0x6000
#define REFFLDFLAG_FOOTNOTE   0x5000
#define REFFLDFLAG_HEADING   0x7100
#define REFFLDFLAG_NUMITEM   0x7200
#define USER_DATA_VERSION   USER_DATA_VERSION_1

Definition at line 52 of file fldref.cxx.

Referenced by SwFieldRefPage::FillUserData().

#define USER_DATA_VERSION_1   "1"

Definition at line 51 of file fldref.cxx.

Referenced by SwFieldRefPage::Reset().

Enumeration Type Documentation

Enumerator
FMT_REF_PAGE_IDX 
FMT_REF_CHAPTER_IDX 
FMT_REF_TEXT_IDX 
FMT_REF_UPDOWN_IDX 
FMT_REF_PAGE_PGDSC_IDX 
FMT_REF_ONLYNUMBER_IDX 
FMT_REF_ONLYCAPTION_IDX 
FMT_REF_ONLYSEQNO_IDX 
FMT_REF_NUMBER_IDX 
FMT_REF_NUMBER_NO_CONTEXT_IDX 
FMT_REF_NUMBER_FULL_CONTEXT_IDX 

Definition at line 720 of file fldref.cxx.

Function Documentation

IMPL_LINK_NOARG ( SwFieldRefPage  ,
ModifyHdl_Impl  ,
weld::Entry ,
void   
)

Definition at line 116 of file fldref.cxx.

References comphelper::string::strip().

IMPL_LINK_NOARG ( SwFieldRefPage  ,
TypeHdl  ,
weld::TreeView ,
void   
)
IMPL_LINK_NOARG ( SwFieldRefPage  ,
SubTypeTreeListBoxHdl  ,
weld::TreeView ,
void   
)

Definition at line 413 of file fldref.cxx.

IMPL_LINK_NOARG ( SwFieldRefPage  ,
SubTypeListBoxHdl  ,
weld::TreeView ,
void   
)

Definition at line 418 of file fldref.cxx.

IMPL_LINK_NOARG ( SwFieldRefPage  ,
ModifyHdl  ,
weld::Entry ,
void   
)

Definition at line 889 of file fldref.cxx.

References aName, REFFLDFLAG_BOOKMARK, TYP_GETREFFLD, and TYP_SETREFFLD.

Variable Documentation

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 735 of file fldref.cxx.

Referenced by SwFieldRefPage::FillFormatLB().

sal_uInt16 nFieldDlgFormatSel = 0
static

Definition at line 49 of file fldref.cxx.

Referenced by SwFieldRefPage::FillFormatLB(), IMPL_LINK_NOARG(), and SwFieldRefPage::Reset().