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 <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 |
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 60 of file swuiidxmrk.cxx.
Referenced by SwIndexMarkPane::InsertMark(), and SwIndexMarkPane::UpdateMark().
#define POS_INDEX 1 |
Definition at line 61 of file swuiidxmrk.cxx.
Referenced by SwIndexMarkPane::InsertMark(), SwIndexMarkPane::ModifyHdl(), and SwIndexMarkPane::UpdateMark().
IMPL_LINK | ( | SwNewUserIdxDlg | , |
ModifyHdl | , | ||
weld::Entry & | , | ||
rEdit | , | ||
void | |||
) |
Definition at line 653 of file swuiidxmrk.cxx.
References weld::Entry::get_text(), SwIndexMarkPane::IsTOXType(), and rEdit.
IMPL_LINK | ( | SwIndexMarkPane | , |
SearchTypeHdl | , | ||
weld::Toggleable & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 669 of file swuiidxmrk.cxx.
IMPL_LINK | ( | SwIndexMarkPane | , |
InsertHdl | , | ||
weld::Button & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 676 of file swuiidxmrk.cxx.
IMPL_LINK | ( | SwIndexMarkPane | , |
ModifyListBoxHdl | , | ||
weld::ComboBox & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 698 of file swuiidxmrk.cxx.
IMPL_LINK | ( | SwIndexMarkPane | , |
ModifyEditHdl | , | ||
weld::Entry & | , | ||
rEdit | , | ||
void | |||
) |
Definition at line 703 of file swuiidxmrk.cxx.
References rEdit.
IMPL_LINK | ( | SwIndexMarkPane | , |
PhoneticEDModifyHdl | , | ||
weld::Entry & | , | ||
rEdit | , | ||
void | |||
) |
Definition at line 928 of file swuiidxmrk.cxx.
References weld::Entry::get_text(), and rEdit.
IMPL_LINK | ( | SwIndexMarkPane | , |
KeyDCBModifyHdl | , | ||
weld::ComboBox & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 945 of file swuiidxmrk.cxx.
IMPL_LINK | ( | SwAuthorMarkPane | , |
CompEntryHdl | , | ||
weld::ComboBox & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 1229 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 1327 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 1433 of file swuiidxmrk.cxx.
References AUTH_FIELD_IDENTIFIER, weld::Entry::get_text(), LINK, and rEdit.
IMPL_LINK | ( | SwAuthorMarkPane | , |
IsEntryAllowedHdl | , | ||
weld::Entry & | , | ||
rEdit | , | ||
bool | |||
) |
Definition at line 1446 of file swuiidxmrk.cxx.
References weld::Entry::get_text(), SwAuthorityFieldType::GetEntryByIdentifier(), rEdit, and TableOfAuthorities.
IMPL_LINK | ( | SwAuthorMarkPane | , |
IsEditAllowedHdl | , | ||
weld::Entry & | , | ||
rEdit | , | ||
bool | |||
) |
Definition at line 1468 of file swuiidxmrk.cxx.
References weld::Entry::get_text(), SwAuthorityFieldType::GetEntryByIdentifier(), rEdit, and TableOfAuthorities.
IMPL_LINK | ( | SwCreateAuthEntryDlg_Impl | , |
IdentifierHdl | , | ||
weld::ComboBox & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 1759 of file swuiidxmrk.cxx.
References AUTH_FIELD_AUTHORITY_TYPE, AUTH_FIELD_END, AUTH_FIELD_IDENTIFIER, SwAuthEntry::GetAuthorField(), SwAuthorityFieldType::GetEntryByIdentifier(), i, and TableOfAuthorities.
IMPL_LINK | ( | SwCreateAuthEntryDlg_Impl | , |
ShortNameHdl | , | ||
weld::Entry & | , | ||
rEdit | , | ||
void | |||
) |
Definition at line 1785 of file swuiidxmrk.cxx.
References rEdit.
IMPL_LINK | ( | SwCreateAuthEntryDlg_Impl | , |
EnableHdl | , | ||
weld::ComboBox & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 1795 of file swuiidxmrk.cxx.
IMPL_LINK | ( | SwCreateAuthEntryDlg_Impl | , |
BrowseHdl | , | ||
weld::Button & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 1801 of file swuiidxmrk.cxx.
References AUTH_FIELD_END, AUTH_FIELD_LOCAL_URL, ERRCODE_NONE, sfx2::FileDialogHelper::Execute(), sfx2::FileDialogHelper::GetPath(), nIndex, and sfx2::FileDialogHelper::SetDisplayDirectory().
IMPL_LINK | ( | SwCreateAuthEntryDlg_Impl | , |
PageNumHdl | , | ||
weld::Toggleable & | , | ||
rPageCB | , | ||
void | |||
) |
Definition at line 1841 of file swuiidxmrk.cxx.
IMPL_LINK_NOARG | ( | SwIndexMarkPane | , |
SyncSelectionHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 428 of file swuiidxmrk.cxx.
IMPL_LINK_NOARG | ( | SwIndexMarkPane | , |
NewUserIdxHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 658 of file swuiidxmrk.cxx.
IMPL_LINK_NOARG | ( | SwIndexMarkPane | , |
CloseHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 684 of file swuiidxmrk.cxx.
References SfxViewFrame::Current(), SfxDispatcher::Execute(), FN_INSERT_IDX_ENTRY_DLG, SfxViewFrame::GetDispatcher(), m_xDialog, and RET_CLOSE.
IMPL_LINK_NOARG | ( | SwIndexMarkPane | , |
NextHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 782 of file swuiidxmrk.cxx.
IMPL_LINK_NOARG | ( | SwIndexMarkPane | , |
NextSameHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 789 of file swuiidxmrk.cxx.
IMPL_LINK_NOARG | ( | SwIndexMarkPane | , |
PrevHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 796 of file swuiidxmrk.cxx.
IMPL_LINK_NOARG | ( | SwIndexMarkPane | , |
PrevSameHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 803 of file swuiidxmrk.cxx.
IMPL_LINK_NOARG | ( | SwIndexMarkPane | , |
DelHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 810 of file swuiidxmrk.cxx.
References SfxViewFrame::Current(), FN_EDIT_IDX_ENTRY_DLG, SfxViewFrame::GetBindings(), and SfxBindings::Invalidate().
IMPL_LINK_NOARG | ( | SwAuthorMarkPane | , |
CloseHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 1216 of file swuiidxmrk.cxx.
References SfxViewFrame::Current(), SfxDispatcher::Execute(), FN_INSERT_AUTH_ENTRY_DLG, SfxViewFrame::GetDispatcher(), and RET_CANCEL.
IMPL_LINK_NOARG | ( | SwAuthorMarkPane | , |
InsertHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 1272 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 | ( | SwAuthorMarkPane | , |
ChangeSourceHdl | , | ||
weld::Toggleable & | , | ||
void | |||
) |
Definition at line 1377 of file swuiidxmrk.cxx.
References aSeq, AUTH_FIELD_END, AUTH_FIELD_IDENTIFIER, SwAuthorityFieldType::GetAllEntryIdentifiers(), getProcessComponentContext(), i, and TableOfAuthorities.
|
static |
Definition at line 1153 of file swuiidxmrk.cxx.
Referenced by IMPL_LINK().
|
static |
Definition at line 493 of file swuiidxmrk.cxx.
References SwCursorShell::ClearMark(), End, SwCursorShell::Find_Text(), GetAppLanguageTag(), LanguageTag::getLocale(), SwCursorShell::GetSelText(), InBodyOnly, InSelAll, SwCursorShell::Push(), and Start.
Referenced by SwIndexMarkPane::InsertMark().
const TextInfo aTextInfoArr[] |
Definition at line 1117 of file swuiidxmrk.cxx.
|
static |
Definition at line 64 of file swuiidxmrk.cxx.
Referenced by SwIndexMarkPane::InsertUpdate(), and SwIndexMarkPane::ModifyHdl().
|
static |
Definition at line 66 of file swuiidxmrk.cxx.
Referenced by SwIndexMarkPane::InsertUpdate(), and SwIndexMarkPane::ModifyHdl().
|
static |
Definition at line 63 of file swuiidxmrk.cxx.
Referenced by SwIndexMarkPane::InitControls(), and SwIndexMarkPane::InsertUpdate().