LibreOffice Module sw (master) 1
|
#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>
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 [] |
#define POS_CONTENT 0 |
Definition at line 61 of file swuiidxmrk.cxx.
#define POS_INDEX 1 |
Definition at line 62 of file swuiidxmrk.cxx.
IMPL_LINK | ( | SwAuthorMarkPane | , |
CompEntryHdl | , | ||
weld::ComboBox & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 1245 of file swuiidxmrk.cxx.
References AUTH_FIELD_AUTHOR, AUTH_FIELD_END, AUTH_FIELD_TITLE, SwAuthEntry::GetAuthorField(), SwAuthorityFieldType::GetEntryByIdentifier(), i, lcl_FindColumnEntry(), min(), and TableOfAuthorities.
IMPL_LINK | ( | SwAuthorMarkPane | , |
CreateEntryHdl | , | ||
weld::Button & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 1343 of file swuiidxmrk.cxx.
References AUTH_FIELD_AUTHOR, AUTH_FIELD_END, AUTH_FIELD_IDENTIFIER, AUTH_FIELD_TITLE, i, LINK, and RET_OK.
IMPL_LINK | ( | SwAuthorMarkPane | , |
EditModifyHdl | , | ||
weld::Entry & | , | ||
rEdit | , | ||
void | |||
) |
Definition at line 1449 of file swuiidxmrk.cxx.
References AUTH_FIELD_IDENTIFIER, Link< typename Arg, typename Ret >::Call(), and LINK.
IMPL_LINK | ( | SwAuthorMarkPane | , |
IsEditAllowedHdl | , | ||
weld::Entry & | , | ||
rEdit | , | ||
bool | |||
) |
Definition at line 1484 of file swuiidxmrk.cxx.
References SwAuthorityFieldType::GetEntryByIdentifier(), and TableOfAuthorities.
IMPL_LINK | ( | SwAuthorMarkPane | , |
IsEntryAllowedHdl | , | ||
weld::Entry & | , | ||
rEdit | , | ||
bool | |||
) |
Definition at line 1462 of file swuiidxmrk.cxx.
References SwAuthorityFieldType::GetEntryByIdentifier(), and TableOfAuthorities.
IMPL_LINK | ( | SwCreateAuthEntryDlg_Impl | , |
BrowseHdl | , | ||
weld::Button & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 1866 of file swuiidxmrk.cxx.
References aTextInfoArr, AUTH_FIELD_END, AUTH_FIELD_LOCAL_URL, ERRCODE_NONE, sfx2::FileDialogHelper::Execute(), sfx2::FileDialogHelper::GetPath(), nIndex, and sfx2::FileDialogHelper::SetDisplayDirectory().
IMPL_LINK | ( | SwCreateAuthEntryDlg_Impl | , |
EnableHdl | , | ||
weld::ComboBox & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 1854 of file swuiidxmrk.cxx.
IMPL_LINK | ( | SwCreateAuthEntryDlg_Impl | , |
IdentifierHdl | , | ||
weld::ComboBox & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 1818 of file swuiidxmrk.cxx.
References aTextInfoArr, AUTH_FIELD_AUTHORITY_TYPE, AUTH_FIELD_END, AUTH_FIELD_IDENTIFIER, SwAuthEntry::GetAuthorField(), SwAuthorityFieldType::GetEntryByIdentifier(), i, and TableOfAuthorities.
IMPL_LINK | ( | SwCreateAuthEntryDlg_Impl | , |
PageNumHdl | , | ||
weld::Toggleable & | , | ||
rPageCB | , | ||
void | |||
) |
Definition at line 1906 of file swuiidxmrk.cxx.
IMPL_LINK | ( | SwCreateAuthEntryDlg_Impl | , |
ShortNameHdl | , | ||
weld::Entry & | , | ||
rEdit | , | ||
void | |||
) |
Definition at line 1844 of file swuiidxmrk.cxx.
IMPL_LINK | ( | SwCreateAuthEntryDlg_Impl | , |
TargetTypeHdl | , | ||
weld::ComboBox & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 1860 of file swuiidxmrk.cxx.
IMPL_LINK | ( | SwIndexMarkPane | , |
InsertHdl | , | ||
weld::Button & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 678 of file swuiidxmrk.cxx.
IMPL_LINK | ( | SwIndexMarkPane | , |
KeyDCBModifyHdl | , | ||
weld::ComboBox & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 951 of file swuiidxmrk.cxx.
IMPL_LINK | ( | SwIndexMarkPane | , |
ModifyEditHdl | , | ||
weld::Entry & | , | ||
rEdit | , | ||
void | |||
) |
Definition at line 708 of file swuiidxmrk.cxx.
IMPL_LINK | ( | SwIndexMarkPane | , |
ModifyListBoxHdl | , | ||
weld::ComboBox & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 703 of file swuiidxmrk.cxx.
IMPL_LINK | ( | SwIndexMarkPane | , |
PhoneticEDModifyHdl | , | ||
weld::Entry & | , | ||
rEdit | , | ||
void | |||
) |
Definition at line 934 of file swuiidxmrk.cxx.
IMPL_LINK | ( | SwIndexMarkPane | , |
SearchTypeHdl | , | ||
weld::Toggleable & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 671 of file swuiidxmrk.cxx.
IMPL_LINK | ( | SwNewUserIdxDlg | , |
ModifyHdl | , | ||
weld::Entry & | , | ||
rEdit | , | ||
void | |||
) |
Definition at line 655 of file swuiidxmrk.cxx.
References SwIndexMarkPane::IsTOXType().
IMPL_LINK_NOARG | ( | SwAuthorMarkPane | , |
ChangeSourceHdl | , | ||
weld::Toggleable & | , | ||
void | |||
) |
Definition at line 1393 of file swuiidxmrk.cxx.
References aSeq, AUTH_FIELD_END, AUTH_FIELD_IDENTIFIER, SwAuthorityFieldType::GetAllEntryIdentifiers(), getProcessComponentContext(), i, and TableOfAuthorities.
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 | ( | SwAuthorMarkPane | , |
InsertHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 1288 of file swuiidxmrk.cxx.
References SL::aData, AUTH_FIELD_AUTHORITY_TYPE, AUTH_FIELD_END, AUTH_FIELD_IDENTIFIER, Authority, Application::CreateMessageDialog(), SwAuthEntry::GetAuthorField(), SwFieldMgr::GetCurField(), SwAuthorityFieldType::GetEntryByIdentifier(), i, SwFieldMgr::InsertField(), RET_YES, SwResId(), TableOfAuthorities, TOX_STYLE_DELIMITER, and SwFieldMgr::UpdateCurField().
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 | ( | 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 | ( | SwIndexMarkPane | , |
NewUserIdxHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 660 of file swuiidxmrk.cxx.
IMPL_LINK_NOARG | ( | SwIndexMarkPane | , |
NextHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 787 of file swuiidxmrk.cxx.
IMPL_LINK_NOARG | ( | SwIndexMarkPane | , |
NextSameHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 794 of file swuiidxmrk.cxx.
IMPL_LINK_NOARG | ( | SwIndexMarkPane | , |
PrevHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 801 of file swuiidxmrk.cxx.
IMPL_LINK_NOARG | ( | SwIndexMarkPane | , |
PrevSameHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 808 of file swuiidxmrk.cxx.
IMPL_LINK_NOARG | ( | SwIndexMarkPane | , |
SyncSelectionHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 431 of file swuiidxmrk.cxx.
|
static |
Definition at line 1164 of file swuiidxmrk.cxx.
Referenced by IMPL_LINK().
|
static |
Definition at line 496 of file swuiidxmrk.cxx.
References SwCursorShell::ClearMark(), End, SwCursorShell::Find_Text(), GetAppLanguageTag(), getLocale(), SwCursorShell::GetSelText(), InBodyOnly, InSelAll, SwCursorShell::Push(), and Start.
Referenced by SwIndexMarkPane::InsertMark().
const TextInfo aTextInfoArr[] |
Definition at line 1126 of file swuiidxmrk.cxx.
Referenced by IMPL_LINK().
|
static |
Definition at line 65 of file swuiidxmrk.cxx.
Referenced by SwIndexMarkPane::InsertUpdate(), and SwIndexMarkPane::ModifyHdl().
|
static |
Definition at line 67 of file swuiidxmrk.cxx.
Referenced by SwIndexMarkPane::InsertUpdate(), and SwIndexMarkPane::ModifyHdl().
|
static |
Definition at line 64 of file swuiidxmrk.cxx.
Referenced by SwIndexMarkPane::InitControls(), and SwIndexMarkPane::InsertUpdate().