LibreOffice Module sw (master) 1
Macros | Functions | Variables
swuiidxmrk.cxx File Reference
#include <swuiidxmrk.hxx>
#include <hintids.hxx>
#include <helpids.h>
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
#include <comphelper/processfactory.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/frame/Bibliography.hpp>
#include <com/sun/star/i18n/IndexEntrySupplier.hpp>
#include <com/sun/star/util/SearchAlgorithms2.hpp>
#include <com/sun/star/util/SearchFlags.hpp>
#include <com/sun/star/uri/UriReferenceFactory.hpp>
#include <rtl/ustrbuf.hxx>
#include <i18nutil/searchopt.hxx>
#include <utility>
#include <vcl/svapp.hxx>
#include <vcl/weld.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/viewfrm.hxx>
#include <svl/itemset.hxx>
#include <editeng/langitem.hxx>
#include <osl/diagnose.h>
#include <o3tl/string_view.hxx>
#include <swtypes.hxx>
#include <toxmgr.hxx>
#include <txttxmrk.hxx>
#include <wrtsh.hxx>
#include <view.hxx>
#include <swundo.hxx>
#include <cmdid.h>
#include <swmodule.hxx>
#include <fldmgr.hxx>
#include <fldbas.hxx>
#include <strings.hrc>
#include <svl/cjkoptions.hxx>
#include <sfx2/filedlghelper.hxx>
#include <ndtxt.hxx>
#include <SwRewriter.hxx>
#include <doc.hxx>
#include <docsh.hxx>
Include dependency graph for swuiidxmrk.cxx:

Go to the source code of this file.

Macros

#define POS_CONTENT   0
 
#define POS_INDEX   1
 

Functions

 IMPL_LINK_NOARG (SwIndexMarkPane, SyncSelectionHdl, weld::Button &, void)
 
static void lcl_SelectSameStrings (SwWrtShell &rSh, bool bWordOnly, bool bCaseSensitive)
 
 IMPL_LINK (SwNewUserIdxDlg, ModifyHdl, weld::Entry &, rEdit, void)
 
 IMPL_LINK_NOARG (SwIndexMarkPane, NewUserIdxHdl, weld::Button &, void)
 
 IMPL_LINK (SwIndexMarkPane, SearchTypeHdl, weld::Toggleable &, rBox, void)
 
 IMPL_LINK (SwIndexMarkPane, InsertHdl, weld::Button &, rButton, void)
 
 IMPL_LINK_NOARG (SwIndexMarkPane, CloseHdl, weld::Button &, void)
 
 IMPL_LINK (SwIndexMarkPane, ModifyListBoxHdl, weld::ComboBox &, rBox, void)
 
 IMPL_LINK (SwIndexMarkPane, ModifyEditHdl, weld::Entry &, rEdit, void)
 
 IMPL_LINK_NOARG (SwIndexMarkPane, NextHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SwIndexMarkPane, NextSameHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SwIndexMarkPane, PrevHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SwIndexMarkPane, PrevSameHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SwIndexMarkPane, DelHdl, weld::Button &, void)
 
 IMPL_LINK (SwIndexMarkPane, PhoneticEDModifyHdl, weld::Entry &, rEdit, void)
 
 IMPL_LINK (SwIndexMarkPane, KeyDCBModifyHdl, weld::ComboBox &, rBox, void)
 
static OUString lcl_FindColumnEntry (const uno::Sequence< beans::PropertyValue > &rFields, std::u16string_view rColumnTitle)
 
 IMPL_LINK_NOARG (SwAuthorMarkPane, CloseHdl, weld::Button &, void)
 
 IMPL_LINK (SwAuthorMarkPane, CompEntryHdl, weld::ComboBox &, rBox, void)
 
 IMPL_LINK_NOARG (SwAuthorMarkPane, InsertHdl, weld::Button &, void)
 
 IMPL_LINK (SwAuthorMarkPane, CreateEntryHdl, weld::Button &, rButton, void)
 
 IMPL_LINK_NOARG (SwAuthorMarkPane, ChangeSourceHdl, weld::Toggleable &, void)
 
 IMPL_LINK (SwAuthorMarkPane, EditModifyHdl, weld::Entry &, rEdit, void)
 
 IMPL_LINK (SwAuthorMarkPane, IsEntryAllowedHdl, weld::Entry &, rEdit, bool)
 
 IMPL_LINK (SwAuthorMarkPane, IsEditAllowedHdl, weld::Entry &, rEdit, bool)
 
 IMPL_LINK (SwCreateAuthEntryDlg_Impl, IdentifierHdl, weld::ComboBox &, rBox, void)
 
 IMPL_LINK (SwCreateAuthEntryDlg_Impl, ShortNameHdl, weld::Entry &, rEdit, void)
 
 IMPL_LINK (SwCreateAuthEntryDlg_Impl, EnableHdl, weld::ComboBox &, rBox, void)
 
 IMPL_LINK (SwCreateAuthEntryDlg_Impl, TargetTypeHdl, weld::ComboBox &, rBox, void)
 
 IMPL_LINK (SwCreateAuthEntryDlg_Impl, BrowseHdl, weld::Button &, rButton, void)
 
 IMPL_LINK (SwCreateAuthEntryDlg_Impl, PageNumHdl, weld::Toggleable &, rPageCB, void)
 

Variables

static sal_Int32 nTypePos = 1
 
static sal_uInt16 nKey1Pos = USHRT_MAX
 
static sal_uInt16 nKey2Pos = USHRT_MAX
 
const TextInfo aTextInfoArr []
 

Macro Definition Documentation

◆ POS_CONTENT

#define POS_CONTENT   0

Definition at line 61 of file swuiidxmrk.cxx.

◆ POS_INDEX

#define POS_INDEX   1

Definition at line 62 of file swuiidxmrk.cxx.

Function Documentation

◆ IMPL_LINK() [1/18]

IMPL_LINK ( SwAuthorMarkPane  ,
CompEntryHdl  ,
weld::ComboBox ,
rBox  ,
void   
)

◆ IMPL_LINK() [2/18]

IMPL_LINK ( SwAuthorMarkPane  ,
CreateEntryHdl  ,
weld::Button ,
rButton  ,
void   
)

◆ IMPL_LINK() [3/18]

IMPL_LINK ( SwAuthorMarkPane  ,
EditModifyHdl  ,
weld::Entry ,
rEdit  ,
void   
)

◆ IMPL_LINK() [4/18]

IMPL_LINK ( SwAuthorMarkPane  ,
IsEditAllowedHdl  ,
weld::Entry ,
rEdit  ,
bool   
)

◆ IMPL_LINK() [5/18]

IMPL_LINK ( SwAuthorMarkPane  ,
IsEntryAllowedHdl  ,
weld::Entry ,
rEdit  ,
bool   
)

◆ IMPL_LINK() [6/18]

IMPL_LINK ( SwCreateAuthEntryDlg_Impl  ,
BrowseHdl  ,
weld::Button ,
rButton  ,
void   
)

◆ IMPL_LINK() [7/18]

IMPL_LINK ( SwCreateAuthEntryDlg_Impl  ,
EnableHdl  ,
weld::ComboBox ,
rBox  ,
void   
)

Definition at line 1854 of file swuiidxmrk.cxx.

◆ IMPL_LINK() [8/18]

IMPL_LINK ( SwCreateAuthEntryDlg_Impl  ,
IdentifierHdl  ,
weld::ComboBox ,
rBox  ,
void   
)

◆ IMPL_LINK() [9/18]

IMPL_LINK ( SwCreateAuthEntryDlg_Impl  ,
PageNumHdl  ,
weld::Toggleable ,
rPageCB  ,
void   
)

Definition at line 1906 of file swuiidxmrk.cxx.

◆ IMPL_LINK() [10/18]

IMPL_LINK ( SwCreateAuthEntryDlg_Impl  ,
ShortNameHdl  ,
weld::Entry ,
rEdit  ,
void   
)

Definition at line 1844 of file swuiidxmrk.cxx.

◆ IMPL_LINK() [11/18]

IMPL_LINK ( SwCreateAuthEntryDlg_Impl  ,
TargetTypeHdl  ,
weld::ComboBox ,
rBox  ,
void   
)

Definition at line 1860 of file swuiidxmrk.cxx.

◆ IMPL_LINK() [12/18]

IMPL_LINK ( SwIndexMarkPane  ,
InsertHdl  ,
weld::Button ,
rButton  ,
void   
)

Definition at line 678 of file swuiidxmrk.cxx.

◆ IMPL_LINK() [13/18]

IMPL_LINK ( SwIndexMarkPane  ,
KeyDCBModifyHdl  ,
weld::ComboBox ,
rBox  ,
void   
)

Definition at line 951 of file swuiidxmrk.cxx.

◆ IMPL_LINK() [14/18]

IMPL_LINK ( SwIndexMarkPane  ,
ModifyEditHdl  ,
weld::Entry ,
rEdit  ,
void   
)

Definition at line 708 of file swuiidxmrk.cxx.

◆ IMPL_LINK() [15/18]

IMPL_LINK ( SwIndexMarkPane  ,
ModifyListBoxHdl  ,
weld::ComboBox ,
rBox  ,
void   
)

Definition at line 703 of file swuiidxmrk.cxx.

◆ IMPL_LINK() [16/18]

IMPL_LINK ( SwIndexMarkPane  ,
PhoneticEDModifyHdl  ,
weld::Entry ,
rEdit  ,
void   
)

Definition at line 934 of file swuiidxmrk.cxx.

◆ IMPL_LINK() [17/18]

IMPL_LINK ( SwIndexMarkPane  ,
SearchTypeHdl  ,
weld::Toggleable ,
rBox  ,
void   
)

Definition at line 671 of file swuiidxmrk.cxx.

◆ IMPL_LINK() [18/18]

IMPL_LINK ( SwNewUserIdxDlg  ,
ModifyHdl  ,
weld::Entry ,
rEdit  ,
void   
)

Definition at line 655 of file swuiidxmrk.cxx.

References SwIndexMarkPane::IsTOXType().

◆ IMPL_LINK_NOARG() [1/11]

IMPL_LINK_NOARG ( SwAuthorMarkPane  ,
ChangeSourceHdl  ,
weld::Toggleable ,
void   
)

◆ IMPL_LINK_NOARG() [2/11]

IMPL_LINK_NOARG ( SwAuthorMarkPane  ,
CloseHdl  ,
weld::Button ,
void   
)

Definition at line 1229 of file swuiidxmrk.cxx.

References SfxViewFrame::Current(), FN_INSERT_AUTH_ENTRY_DLG, and RET_CANCEL.

◆ IMPL_LINK_NOARG() [3/11]

IMPL_LINK_NOARG ( SwAuthorMarkPane  ,
InsertHdl  ,
weld::Button ,
void   
)

◆ IMPL_LINK_NOARG() [4/11]

IMPL_LINK_NOARG ( SwIndexMarkPane  ,
CloseHdl  ,
weld::Button ,
void   
)

Definition at line 686 of file swuiidxmrk.cxx.

References SfxViewFrame::Current(), FN_INSERT_IDX_ENTRY_DLG, m_xDialog, and RET_CLOSE.

◆ IMPL_LINK_NOARG() [5/11]

IMPL_LINK_NOARG ( SwIndexMarkPane  ,
DelHdl  ,
weld::Button ,
void   
)

Definition at line 815 of file swuiidxmrk.cxx.

References SfxViewFrame::Current(), and FN_EDIT_IDX_ENTRY_DLG.

◆ IMPL_LINK_NOARG() [6/11]

IMPL_LINK_NOARG ( SwIndexMarkPane  ,
NewUserIdxHdl  ,
weld::Button ,
void   
)

Definition at line 660 of file swuiidxmrk.cxx.

References m_xDialog, and RET_OK.

◆ IMPL_LINK_NOARG() [7/11]

IMPL_LINK_NOARG ( SwIndexMarkPane  ,
NextHdl  ,
weld::Button ,
void   
)

Definition at line 787 of file swuiidxmrk.cxx.

◆ IMPL_LINK_NOARG() [8/11]

IMPL_LINK_NOARG ( SwIndexMarkPane  ,
NextSameHdl  ,
weld::Button ,
void   
)

Definition at line 794 of file swuiidxmrk.cxx.

◆ IMPL_LINK_NOARG() [9/11]

IMPL_LINK_NOARG ( SwIndexMarkPane  ,
PrevHdl  ,
weld::Button ,
void   
)

Definition at line 801 of file swuiidxmrk.cxx.

◆ IMPL_LINK_NOARG() [10/11]

IMPL_LINK_NOARG ( SwIndexMarkPane  ,
PrevSameHdl  ,
weld::Button ,
void   
)

Definition at line 808 of file swuiidxmrk.cxx.

◆ IMPL_LINK_NOARG() [11/11]

IMPL_LINK_NOARG ( SwIndexMarkPane  ,
SyncSelectionHdl  ,
weld::Button ,
void   
)

Definition at line 431 of file swuiidxmrk.cxx.

References FLY_ANY, FOOTER, and HEADER.

◆ lcl_FindColumnEntry()

static OUString lcl_FindColumnEntry ( const uno::Sequence< beans::PropertyValue > &  rFields,
std::u16string_view  rColumnTitle 
)
static

Definition at line 1164 of file swuiidxmrk.cxx.

Referenced by IMPL_LINK().

◆ lcl_SelectSameStrings()

static void lcl_SelectSameStrings ( SwWrtShell rSh,
bool  bWordOnly,
bool  bCaseSensitive 
)
static

Variable Documentation

◆ aTextInfoArr

const TextInfo aTextInfoArr[]

Definition at line 1126 of file swuiidxmrk.cxx.

Referenced by IMPL_LINK().

◆ nKey1Pos

sal_uInt16 nKey1Pos = USHRT_MAX
static

Definition at line 65 of file swuiidxmrk.cxx.

Referenced by SwIndexMarkPane::InsertUpdate(), and SwIndexMarkPane::ModifyHdl().

◆ nKey2Pos

sal_uInt16 nKey2Pos = USHRT_MAX
static

Definition at line 67 of file swuiidxmrk.cxx.

Referenced by SwIndexMarkPane::InsertUpdate(), and SwIndexMarkPane::ModifyHdl().

◆ nTypePos

sal_Int32 nTypePos = 1
static

Definition at line 64 of file swuiidxmrk.cxx.

Referenced by SwIndexMarkPane::InitControls(), and SwIndexMarkPane::InsertUpdate().