LibreOffice Module sw (master) 1
Macros | Functions | Variables
fldref.cxx File Reference
#include <swtypes.hxx>
#include <IMark.hxx>
#include <expfld.hxx>
#include <swmodule.hxx>
#include "fldref.hxx"
#include <frmatr.hxx>
#include <reffld.hxx>
#include <wrtsh.hxx>
#include <fldref.hrc>
#include <strings.hrc>
#include <SwNodeNum.hxx>
#include <IDocumentMarkAccess.hxx>
#include <unotools/syslocaleoptions.hxx>
#include <unotools/charclass.hxx>
#include <osl/diagnose.h>
#include <comphelper/string.hxx>
#include <editeng/frmdiritem.hxx>
#include <o3tl/safeint.hxx>
#include <o3tl/string_view.hxx>
#include <vcl/settings.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
 

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
 
const TranslateId FMT_REF_ARY []
 

Macro Definition Documentation

◆ REFFLDFLAG

#define REFFLDFLAG   0x4000

Definition at line 43 of file fldref.cxx.

◆ REFFLDFLAG_BOOKMARK

#define REFFLDFLAG_BOOKMARK   0x4800

Definition at line 44 of file fldref.cxx.

◆ REFFLDFLAG_ENDNOTE

#define REFFLDFLAG_ENDNOTE   0x6000

Definition at line 46 of file fldref.cxx.

◆ REFFLDFLAG_FOOTNOTE

#define REFFLDFLAG_FOOTNOTE   0x5000

Definition at line 45 of file fldref.cxx.

◆ REFFLDFLAG_HEADING

#define REFFLDFLAG_HEADING   0x7100

Definition at line 48 of file fldref.cxx.

◆ REFFLDFLAG_NUMITEM

#define REFFLDFLAG_NUMITEM   0x7200

Definition at line 49 of file fldref.cxx.

◆ USER_DATA_VERSION

#define USER_DATA_VERSION   USER_DATA_VERSION_1

Definition at line 54 of file fldref.cxx.

◆ USER_DATA_VERSION_1

#define USER_DATA_VERSION_1   "1"

Definition at line 53 of file fldref.cxx.

Function Documentation

◆ IMPL_LINK_NOARG() [1/5]

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

Definition at line 933 of file fldref.cxx.

References aName, GetRef, REFFLDFLAG_BOOKMARK, and SetRef.

◆ IMPL_LINK_NOARG() [2/5]

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

Definition at line 122 of file fldref.cxx.

References comphelper::string::strip().

◆ IMPL_LINK_NOARG() [3/5]

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

Definition at line 440 of file fldref.cxx.

◆ IMPL_LINK_NOARG() [4/5]

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

Definition at line 435 of file fldref.cxx.

◆ IMPL_LINK_NOARG() [5/5]

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

Variable Documentation

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

Referenced by SwFieldRefPage::FillFormatLB().

◆ nFieldDlgFormatSel

sal_uInt16 nFieldDlgFormatSel = 0
static

Definition at line 51 of file fldref.cxx.

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