LibreOffice Module sw (master) 1
|
#include <swuiidxmrk.hxx>
Public Member Functions | |
SwIndexMarkPane (std::shared_ptr< weld::Dialog > xDialog, weld::Builder &rBuilder, bool bNewDlg, SwWrtShell *pWrtShell) | |
~SwIndexMarkPane () | |
void | ReInitDlg (SwWrtShell &rWrtShell, SwTOXMark const *pCurTOXMark=nullptr) |
bool | IsTOXType (const OUString &rName) |
Private Member Functions | |
void | Apply () |
void | InitControls () |
void | InsertMark () |
void | UpdateMark () |
DECL_LINK (InsertHdl, weld::Button &, void) | |
DECL_LINK (CloseHdl, weld::Button &, void) | |
DECL_LINK (SyncSelectionHdl, weld::Button &, void) | |
DECL_LINK (DelHdl, weld::Button &, void) | |
DECL_LINK (NextHdl, weld::Button &, void) | |
DECL_LINK (NextSameHdl, weld::Button &, void) | |
DECL_LINK (PrevHdl, weld::Button &, void) | |
DECL_LINK (PrevSameHdl, weld::Button &, void) | |
DECL_LINK (ModifyListBoxHdl, weld::ComboBox &, void) | |
DECL_LINK (ModifyEditHdl, weld::Entry &, void) | |
void | ModifyHdl (const weld::Widget &rWidget) |
DECL_LINK (KeyDCBModifyHdl, weld::ComboBox &, void) | |
DECL_LINK (NewUserIdxHdl, weld::Button &, void) | |
DECL_LINK (SearchTypeHdl, weld::Toggleable &, void) | |
DECL_LINK (PhoneticEDModifyHdl, weld::Entry &, void) | |
void | UpdateLanguageDependenciesForPhoneticReading () |
OUString | GetDefaultPhoneticReading (const OUString &rText) |
void | UpdateKeyBoxes () |
void | UpdateDialog () |
void | InsertUpdate () |
void | Activate () |
Friends | |
class | SwIndexMarkFloatDlg |
class | SwIndexMarkModalDlg |
Definition at line 38 of file swuiidxmrk.hxx.
SwIndexMarkPane::SwIndexMarkPane | ( | std::shared_ptr< weld::Dialog > | xDialog, |
weld::Builder & | rBuilder, | ||
bool | bNewDlg, | ||
SwWrtShell * | pWrtShell | ||
) |
Definition at line 131 of file swuiidxmrk.cxx.
References getProcessComponentContext(), SvtCJKOptions::IsCJKFontEnabled(), LANGUAGE_CHINESE_SIMPLIFIED, LINK, m_bNewMark, m_xApplyToAllCB, m_xCloseBT, m_xDelBT, m_xDialog, m_xDialog, m_xEntryED, m_xExtendedIndexEntrySupplier, m_xKey1DCB, m_xKey2DCB, m_xNewBT, m_xNextBT, m_xNextSameBT, m_xOKBT, m_xPhoneticED0, m_xPhoneticED1, m_xPhoneticED2, m_xPhoneticFT0, m_xPhoneticFT1, m_xPhoneticFT2, m_xPrevBT, m_xPrevSameBT, m_xSyncED, m_xTypeDCB, and SwResId().
SwIndexMarkPane::~SwIndexMarkPane | ( | ) |
Definition at line 1005 of file swuiidxmrk.cxx.
|
private |
Definition at line 422 of file swuiidxmrk.cxx.
References SwCursorShell::GetCursorCnt(), m_bNewMark, m_pSh, and m_xSyncED.
Referenced by SwIndexMarkFloatDlg::Activate().
|
private |
Definition at line 450 of file swuiidxmrk.cxx.
References InsertUpdate(), m_bSelected, m_pSh, and SwWrtShell::ResetSelect().
Referenced by SwIndexMarkModalDlg::run().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 414 of file swuiidxmrk.cxx.
References LanguageTag::convertToLocale(), m_bIsPhoneticReadingEnabled, m_nLangForPhoneticReading, and m_xExtendedIndexEntrySupplier.
Referenced by ModifyHdl().
|
private |
Definition at line 232 of file swuiidxmrk.cxx.
References sw::sidebar::aArr, SwCursorShell::EndCursorMove(), FLY_ANY, FOOTER, SwCursorShell::GetCursorCnt(), SwFEShell::GetFrameType(), SwView::GetSelectionTextParam(), SwEditShell::GetTOIKeys(), SwEditShell::GetTOXType(), SwEditShell::GetTOXTypeCount(), SwTOXType::GetTypeName(), SwWrtShell::GetView(), SwCursorShell::GotoTOXMark(), SwWrtShell::HasSelection(), HEADER, i, last, m_aOrgStr, m_bNewMark, m_bSelected, m_pSh, m_pTOXMgr, m_xApplyToAllCB, m_xEntryED, m_xForSelectedEntry, m_xKey1DCB, m_xKey2DCB, m_xNextBT, m_xNextSameBT, m_xPrevBT, m_xPrevSameBT, m_xSearchCaseSensitiveCB, m_xSearchCaseWordOnlyCB, m_xTypeDCB, m_xTypeFT, ModifyHdl(), nCount, nTypePos, SwCursorShell::SttCursorMove(), TOI_PRIMARY, TOI_SECONDARY, TOX_CONTENT, TOX_INDEX, TOX_NXT, TOX_PRV, TOX_SAME_NXT, TOX_SAME_PRV, TOX_USER, UpdateDialog(), and UpdateLanguageDependenciesForPhoneticReading().
Referenced by ReInitDlg().
|
private |
Definition at line 519 of file swuiidxmrk.cxx.
References SwCursorShell::DeleteCurrent, SwEditShell::EndAllAction(), eType, SwTOXMgr::InsertTOXMark(), lcl_SelectSameStrings(), m_aOrgStr, m_pSh, m_xApplyToAllCB, m_xEntryED, m_xKey1DCB, m_xKey2DCB, m_xLevelNF, m_xMainEntryCB, m_xPhoneticED0, m_xPhoneticED1, m_xPhoneticED2, m_xSearchCaseSensitiveCB, m_xSearchCaseWordOnlyCB, m_xTypeDCB, nPos, SwWrtShell::Pop(), POS_CONTENT, POS_INDEX, SwTOXMarkDescription::SetAltStr(), SwTOXMarkDescription::SetLevel(), SwTOXMarkDescription::SetMainEntry(), SwTOXMarkDescription::SetPhoneticReadingOfAltStr(), SwTOXMarkDescription::SetPhoneticReadingOfPrimKey(), SwTOXMarkDescription::SetPhoneticReadingOfSecKey(), SwTOXMarkDescription::SetPrimKey(), SwTOXMarkDescription::SetSecKey(), SwTOXMarkDescription::SetTOUName(), SwEditShell::StartAllAction(), TOX_CONTENT, TOX_INDEX, TOX_USER, and UpdateKeyBoxes().
Referenced by InsertUpdate().
|
private |
Definition at line 458 of file swuiidxmrk.cxx.
References SwRewriter::AddRule(), SwEditShell::EndAllAction(), SwEditShell::EndUndo(), SwViewShell::GetLayout(), SwCursorShell::HasReadonlySel(), INDEX_ENTRY_DELETE, INDEX_ENTRY_INSERT, InsertMark(), m_bDel, m_bNewMark, m_pSh, m_pTOXMgr, m_xKey1DCB, m_xKey2DCB, m_xTypeDCB, nKey1Pos, nKey2Pos, nTypePos, SwEditShell::StartAllAction(), SwEditShell::StartUndo(), UndoArg1, and UpdateMark().
Referenced by Apply().
|
inline |
|
private |
Definition at line 713 of file swuiidxmrk.cxx.
References SwCursorShell::GetCursorCnt(), GetDefaultPhoneticReading(), SwCursorShell::HasReadonlySel(), m_bIsPhoneticReadingEnabled, m_bPhoneticED0_ChangedByUser, m_pSh, m_xEntryED, m_xKey1DCB, m_xKey1FT, m_xKey2DCB, m_xKey2FT, m_xLevelFT, m_xLevelNF, m_xMainEntryCB, m_xOKBT, m_xPhoneticED0, m_xPhoneticED1, m_xPhoneticED2, m_xPhoneticFT0, m_xPhoneticFT1, m_xPhoneticFT2, m_xTypeDCB, MAXLEVEL, nKey1Pos, nKey2Pos, nPos, and POS_INDEX.
Referenced by InitControls().
void SwIndexMarkPane::ReInitDlg | ( | SwWrtShell & | rWrtShell, |
SwTOXMark const * | pCurTOXMark = nullptr |
||
) |
Definition at line 1009 of file swuiidxmrk.cxx.
References i, InitControls(), m_pSh, and m_pTOXMgr.
Referenced by SwIndexMarkFloatDlg::ReInitDlg(), SwIndexMarkFloatDlg::SwIndexMarkFloatDlg(), and SwIndexMarkModalDlg::SwIndexMarkModalDlg().
|
private |
Definition at line 832 of file swuiidxmrk.cxx.
References SwCursorShell::EndCursorMove(), SwViewShell::GetLayout(), SwTOXMark::GetLevel(), SwTOXMark::GetPrimaryKey(), SwTOXMark::GetPrimaryKeyReading(), SwTOXMark::GetSecondaryKey(), SwTOXMark::GetSecondaryKeyReading(), SwTOXMark::GetText(), SwTOXMark::GetTextReading(), SwTOXMark::GetTextTOXMark(), SwTOXMark::GetTOXType(), SwTOXType::GetType(), SwTOXType::GetTypeName(), SwCursorShell::GotoTOXMark(), SwCursorShell::HasReadonlySel(), SwTOXMark::IsMainEntry(), m_aOrgStr, m_bIsPhoneticReadingEnabled, m_pSh, m_pTOXMgr, m_xDelBT, m_xDialog, m_xEntryED, m_xKey1DCB, m_xKey1FT, m_xKey2DCB, m_xKey2FT, m_xLevelFT, m_xLevelNF, m_xMainEntryCB, m_xNextBT, m_xNextSameBT, m_xOKBT, m_xPhoneticED0, m_xPhoneticED1, m_xPhoneticED2, m_xPhoneticFT0, m_xPhoneticFT1, m_xPhoneticFT2, m_xPrevBT, m_xPrevSameBT, m_xTypeDCB, MAXLEVEL, RES_TXTATR_TOXMARK(), SwWrtShell::SelectTextAttr(), SwViewShell::SetCareDialog(), SwCursorShell::SttCursorMove(), SwCursorShell::SwapPam(), TOX_CONTENT, TOX_INDEX, TOX_NXT, TOX_PRV, TOX_SAME_NXT, TOX_SAME_PRV, TOX_USER, and UpdateLanguageDependenciesForPhoneticReading().
Referenced by InitControls().
|
private |
Definition at line 610 of file swuiidxmrk.cxx.
References m_xKey1DCB, m_xKey2DCB, and nPos.
Referenced by InsertMark(), and UpdateMark().
|
private |
Definition at line 367 of file swuiidxmrk.cxx.
References SfxItemSet::Get(), SwViewShell::GetAttrPool(), SwEditShell::GetCurAttr(), SwTextNode::GetLang(), SwLangHelper::GetLanguage(), SwTextTOXMark::GetpTextNd(), SwEditShell::GetScriptType(), SwTextAttr::GetStart(), SwTOXMark::GetTextTOXMark(), m_bIsPhoneticReadingEnabled, m_bNewMark, m_nLangForPhoneticReading, m_pSh, m_pTOXMgr, m_xExtendedIndexEntrySupplier, RES_CHRATR_CJK_LANGUAGE(), RES_CHRATR_CTL_LANGUAGE(), and RES_CHRATR_LANGUAGE().
Referenced by InitControls(), and UpdateDialog().
|
private |
Definition at line 570 of file swuiidxmrk.cxx.
References eType, m_aOrgStr, m_pTOXMgr, m_xEntryED, m_xKey1DCB, m_xKey2DCB, m_xLevelNF, m_xMainEntryCB, m_xPhoneticED0, m_xPhoneticED1, m_xPhoneticED2, m_xTypeDCB, nPos, POS_CONTENT, POS_INDEX, SwTOXMarkDescription::SetAltStr(), SwTOXMarkDescription::SetLevel(), SwTOXMarkDescription::SetMainEntry(), SwTOXMarkDescription::SetPhoneticReadingOfAltStr(), SwTOXMarkDescription::SetPhoneticReadingOfPrimKey(), SwTOXMarkDescription::SetPhoneticReadingOfSecKey(), SwTOXMarkDescription::SetPrimKey(), SwTOXMarkDescription::SetSecKey(), TOX_CONTENT, TOX_INDEX, TOX_USER, and UpdateKeyBoxes().
Referenced by InsertUpdate().
|
friend |
Definition at line 42 of file swuiidxmrk.hxx.
|
friend |
Definition at line 43 of file swuiidxmrk.hxx.
|
private |
Definition at line 45 of file swuiidxmrk.hxx.
Referenced by InitControls(), InsertMark(), UpdateDialog(), and UpdateMark().
|
private |
Definition at line 46 of file swuiidxmrk.hxx.
Referenced by InsertUpdate().
|
private |
Definition at line 54 of file swuiidxmrk.hxx.
Referenced by GetDefaultPhoneticReading(), ModifyHdl(), UpdateDialog(), and UpdateLanguageDependenciesForPhoneticReading().
|
private |
Definition at line 47 of file swuiidxmrk.hxx.
Referenced by Activate(), InitControls(), InsertUpdate(), SwIndexMarkPane(), and UpdateLanguageDependenciesForPhoneticReading().
|
private |
Definition at line 50 of file swuiidxmrk.hxx.
Referenced by ModifyHdl().
|
private |
Definition at line 51 of file swuiidxmrk.hxx.
|
private |
Definition at line 52 of file swuiidxmrk.hxx.
|
private |
Definition at line 48 of file swuiidxmrk.hxx.
Referenced by Apply(), and InitControls().
|
private |
Definition at line 53 of file swuiidxmrk.hxx.
Referenced by GetDefaultPhoneticReading(), and UpdateLanguageDependenciesForPhoneticReading().
|
private |
Definition at line 60 of file swuiidxmrk.hxx.
Referenced by Activate(), Apply(), InitControls(), InsertMark(), InsertUpdate(), ModifyHdl(), ReInitDlg(), UpdateDialog(), and UpdateLanguageDependenciesForPhoneticReading().
|
private |
Definition at line 59 of file swuiidxmrk.hxx.
Referenced by InitControls(), InsertUpdate(), ReInitDlg(), UpdateDialog(), UpdateLanguageDependenciesForPhoneticReading(), and UpdateMark().
|
private |
Definition at line 80 of file swuiidxmrk.hxx.
Referenced by InitControls(), InsertMark(), and SwIndexMarkPane().
|
private |
Definition at line 84 of file swuiidxmrk.hxx.
Referenced by SwIndexMarkPane().
|
private |
Definition at line 85 of file swuiidxmrk.hxx.
Referenced by SwIndexMarkPane(), and UpdateDialog().
|
private |
Definition at line 40 of file swuiidxmrk.hxx.
Referenced by SwIndexMarkPane(), and UpdateDialog().
|
private |
Definition at line 65 of file swuiidxmrk.hxx.
Referenced by InitControls(), InsertMark(), ModifyHdl(), SwIndexMarkPane(), UpdateDialog(), and UpdateMark().
|
private |
Definition at line 56 of file swuiidxmrk.hxx.
Referenced by GetDefaultPhoneticReading(), SwIndexMarkPane(), and UpdateLanguageDependenciesForPhoneticReading().
|
private |
Definition at line 90 of file swuiidxmrk.hxx.
Referenced by InitControls().
|
private |
Definition at line 70 of file swuiidxmrk.hxx.
Referenced by InitControls(), InsertMark(), InsertUpdate(), ModifyHdl(), SwIndexMarkPane(), UpdateDialog(), UpdateKeyBoxes(), and UpdateMark().
|
private |
Definition at line 69 of file swuiidxmrk.hxx.
Referenced by ModifyHdl(), and UpdateDialog().
|
private |
Definition at line 74 of file swuiidxmrk.hxx.
Referenced by InitControls(), InsertMark(), InsertUpdate(), ModifyHdl(), SwIndexMarkPane(), UpdateDialog(), UpdateKeyBoxes(), and UpdateMark().
|
private |
Definition at line 73 of file swuiidxmrk.hxx.
Referenced by ModifyHdl(), and UpdateDialog().
|
private |
Definition at line 77 of file swuiidxmrk.hxx.
Referenced by ModifyHdl(), and UpdateDialog().
|
private |
Definition at line 78 of file swuiidxmrk.hxx.
Referenced by InsertMark(), ModifyHdl(), UpdateDialog(), and UpdateMark().
|
private |
Definition at line 79 of file swuiidxmrk.hxx.
Referenced by InsertMark(), ModifyHdl(), UpdateDialog(), and UpdateMark().
|
private |
Definition at line 64 of file swuiidxmrk.hxx.
Referenced by SwIndexMarkPane().
|
private |
Definition at line 89 of file swuiidxmrk.hxx.
Referenced by InitControls(), SwIndexMarkPane(), and UpdateDialog().
|
private |
Definition at line 87 of file swuiidxmrk.hxx.
Referenced by InitControls(), SwIndexMarkPane(), and UpdateDialog().
|
private |
Definition at line 83 of file swuiidxmrk.hxx.
Referenced by ModifyHdl(), SwIndexMarkPane(), and UpdateDialog().
|
private |
Definition at line 68 of file swuiidxmrk.hxx.
Referenced by InsertMark(), ModifyHdl(), SwIndexMarkPane(), UpdateDialog(), and UpdateMark().
|
private |
Definition at line 72 of file swuiidxmrk.hxx.
Referenced by InsertMark(), ModifyHdl(), SwIndexMarkPane(), UpdateDialog(), and UpdateMark().
|
private |
Definition at line 76 of file swuiidxmrk.hxx.
Referenced by InsertMark(), ModifyHdl(), SwIndexMarkPane(), UpdateDialog(), and UpdateMark().
|
private |
Definition at line 67 of file swuiidxmrk.hxx.
Referenced by ModifyHdl(), SwIndexMarkPane(), and UpdateDialog().
|
private |
Definition at line 71 of file swuiidxmrk.hxx.
Referenced by ModifyHdl(), SwIndexMarkPane(), and UpdateDialog().
|
private |
Definition at line 75 of file swuiidxmrk.hxx.
Referenced by ModifyHdl(), SwIndexMarkPane(), and UpdateDialog().
|
private |
Definition at line 88 of file swuiidxmrk.hxx.
Referenced by InitControls(), SwIndexMarkPane(), and UpdateDialog().
|
private |
Definition at line 86 of file swuiidxmrk.hxx.
Referenced by InitControls(), SwIndexMarkPane(), and UpdateDialog().
|
private |
Definition at line 81 of file swuiidxmrk.hxx.
Referenced by InitControls(), and InsertMark().
|
private |
Definition at line 82 of file swuiidxmrk.hxx.
Referenced by InitControls(), and InsertMark().
|
private |
Definition at line 66 of file swuiidxmrk.hxx.
Referenced by Activate(), and SwIndexMarkPane().
|
private |
Definition at line 63 of file swuiidxmrk.hxx.
Referenced by InitControls(), InsertMark(), InsertUpdate(), IsTOXType(), ModifyHdl(), SwIndexMarkPane(), UpdateDialog(), and UpdateMark().
|
private |
Definition at line 62 of file swuiidxmrk.hxx.
Referenced by InitControls().