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 <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 <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 <comphelper/fileurl.hxx>
#include <sfx2/filedlghelper.hxx>
#include <officecfg/Office/Common.hxx>
#include <tools/urlobj.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 61 of file swuiidxmrk.cxx.
Referenced by SwIndexMarkPane::InsertMark(), and SwIndexMarkPane::UpdateMark().
#define POS_INDEX 1 |
Definition at line 62 of file swuiidxmrk.cxx.
Referenced by SwIndexMarkPane::InsertMark(), SwIndexMarkPane::ModifyHdl(), and SwIndexMarkPane::UpdateMark().
IMPL_LINK | ( | SwNewUserIdxDlg | , |
ModifyHdl | , | ||
weld::Entry & | , | ||
rEdit | , | ||
void | |||
) |
Definition at line 613 of file swuiidxmrk.cxx.
References weld::Entry::get_text(), SwIndexMarkPane::IsTOXType(), and rEdit.
IMPL_LINK | ( | SwIndexMarkPane | , |
SearchTypeHdl | , | ||
weld::ToggleButton & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 629 of file swuiidxmrk.cxx.
IMPL_LINK | ( | SwIndexMarkPane | , |
InsertHdl | , | ||
weld::Button & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 636 of file swuiidxmrk.cxx.
IMPL_LINK | ( | SwIndexMarkPane | , |
ModifyListBoxHdl | , | ||
weld::ComboBox & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 658 of file swuiidxmrk.cxx.
IMPL_LINK | ( | SwIndexMarkPane | , |
ModifyEditHdl | , | ||
weld::Entry & | , | ||
rEdit | , | ||
void | |||
) |
Definition at line 663 of file swuiidxmrk.cxx.
References rEdit.
IMPL_LINK | ( | SwIndexMarkPane | , |
PhoneticEDModifyHdl | , | ||
weld::Entry & | , | ||
rEdit | , | ||
void | |||
) |
Definition at line 888 of file swuiidxmrk.cxx.
References weld::Entry::get_text(), and rEdit.
IMPL_LINK | ( | SwIndexMarkPane | , |
KeyDCBModifyHdl | , | ||
weld::ComboBox & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 905 of file swuiidxmrk.cxx.
IMPL_LINK | ( | SwAuthorMarkPane | , |
CompEntryHdl | , | ||
weld::ComboBox & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 1185 of file swuiidxmrk.cxx.
References AUTH_FIELD_AUTHOR, AUTH_FIELD_END, AUTH_FIELD_TITLE, SwAuthEntry::GetAuthorField(), SwAuthorityFieldType::GetEntryByIdentifier(), i, lcl_FindColumnEntry(), and TableOfAuthorities.
IMPL_LINK | ( | SwAuthorMarkPane | , |
CreateEntryHdl | , | ||
weld::Button & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 1283 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 1389 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 1402 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 1424 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 1696 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 1722 of file swuiidxmrk.cxx.
References rEdit.
IMPL_LINK | ( | SwCreateAuthEntryDlg_Impl | , |
EnableHdl | , | ||
weld::ComboBox & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 1732 of file swuiidxmrk.cxx.
References AUTH_TYPE_END, and nType.
IMPL_LINK_NOARG | ( | SwIndexMarkPane | , |
SyncSelectionHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 388 of file swuiidxmrk.cxx.
IMPL_LINK_NOARG | ( | SwIndexMarkPane | , |
NewUserIdxHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 618 of file swuiidxmrk.cxx.
IMPL_LINK_NOARG | ( | SwIndexMarkPane | , |
CloseHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 644 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 742 of file swuiidxmrk.cxx.
IMPL_LINK_NOARG | ( | SwIndexMarkPane | , |
NextSameHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 749 of file swuiidxmrk.cxx.
IMPL_LINK_NOARG | ( | SwIndexMarkPane | , |
PrevHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 756 of file swuiidxmrk.cxx.
IMPL_LINK_NOARG | ( | SwIndexMarkPane | , |
PrevSameHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 763 of file swuiidxmrk.cxx.
IMPL_LINK_NOARG | ( | SwIndexMarkPane | , |
DelHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 770 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 1172 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 1228 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::ToggleButton & | , | ||
void | |||
) |
Definition at line 1333 of file swuiidxmrk.cxx.
References aSeq, AUTH_FIELD_END, AUTH_FIELD_IDENTIFIER, SwAuthorityFieldType::GetAllEntryIdentifiers(), getProcessComponentContext(), i, and TableOfAuthorities.
IMPL_LINK_NOARG | ( | SwCreateAuthEntryDlg_Impl | , |
BrowseHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 1749 of file swuiidxmrk.cxx.
References AUTH_FIELD_END, ERRCODE_NONE, sfx2::FileDialogHelper::Execute(), sw::proofreadingiterator::get(), INetURLObject::GetAbsURL(), SwDocShell::GetDoc(), SwDoc::GetDocShell(), SfxObjectShell::getDocumentBaseURL(), sfx2::FileDialogHelper::GetPath(), INetURLObject::GetRelURL(), nIndex, sfx2::FileDialogHelper::SetDisplayDirectory(), INetURLObject::WasEncoded, and INetURLObject::WithCharset.
|
static |
Definition at line 1109 of file swuiidxmrk.cxx.
Referenced by IMPL_LINK().
|
static |
Definition at line 453 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 1074 of file swuiidxmrk.cxx.
|
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().