LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SwIndexMarkPane Class Reference

#include <swuiidxmrk.hxx>

Collaboration diagram for SwIndexMarkPane:
[legend]

Public Member Functions

 SwIndexMarkPane (const std::shared_ptr< weld::Dialog > &rDialog, weld::Builder &rBuilder, bool bNewDlg, SwWrtShell &rWrtShell)
 
 ~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::ToggleButton &, void)
 
 DECL_LINK (PhoneticEDModifyHdl, weld::Entry &, void)
 
void UpdateLanguageDependenciesForPhoneticReading ()
 
OUString GetDefaultPhoneticReading (const OUString &rText)
 
void UpdateKeyBoxes ()
 
void UpdateDialog ()
 
void InsertUpdate ()
 
void Activate ()
 

Private Attributes

std::shared_ptr< weld::Dialogm_xDialog
 
OUString m_aOrgStr
 
bool m_bDel
 
bool const m_bNewMark
 
bool m_bSelected
 
bool m_bPhoneticED0_ChangedByUser
 
bool m_bPhoneticED1_ChangedByUser
 
bool m_bPhoneticED2_ChangedByUser
 
LanguageType m_nLangForPhoneticReading
 
bool m_bIsPhoneticReadingEnabled
 
css::uno::Reference< css::i18n::XExtendedIndexEntrySupplier > m_xExtendedIndexEntrySupplier
 
std::unique_ptr< SwTOXMgrm_pTOXMgr
 
SwWrtShellm_pSh
 
std::unique_ptr< weld::Labelm_xTypeFT
 
std::unique_ptr< weld::ComboBoxm_xTypeDCB
 
std::unique_ptr< weld::Buttonm_xNewBT
 
std::unique_ptr< weld::Entrym_xEntryED
 
std::unique_ptr< weld::Buttonm_xSyncED
 
std::unique_ptr< weld::Labelm_xPhoneticFT0
 
std::unique_ptr< weld::Entrym_xPhoneticED0
 
std::unique_ptr< weld::Labelm_xKey1FT
 
std::unique_ptr< weld::ComboBoxm_xKey1DCB
 
std::unique_ptr< weld::Labelm_xPhoneticFT1
 
std::unique_ptr< weld::Entrym_xPhoneticED1
 
std::unique_ptr< weld::Labelm_xKey2FT
 
std::unique_ptr< weld::ComboBoxm_xKey2DCB
 
std::unique_ptr< weld::Labelm_xPhoneticFT2
 
std::unique_ptr< weld::Entrym_xPhoneticED2
 
std::unique_ptr< weld::Labelm_xLevelFT
 
std::unique_ptr< weld::SpinButtonm_xLevelNF
 
std::unique_ptr< weld::CheckButtonm_xMainEntryCB
 
std::unique_ptr< weld::CheckButtonm_xApplyToAllCB
 
std::unique_ptr< weld::CheckButtonm_xSearchCaseSensitiveCB
 
std::unique_ptr< weld::CheckButtonm_xSearchCaseWordOnlyCB
 
std::unique_ptr< weld::Buttonm_xOKBT
 
std::unique_ptr< weld::Buttonm_xCloseBT
 
std::unique_ptr< weld::Buttonm_xDelBT
 
std::unique_ptr< weld::Buttonm_xPrevSameBT
 
std::unique_ptr< weld::Buttonm_xNextSameBT
 
std::unique_ptr< weld::Buttonm_xPrevBT
 
std::unique_ptr< weld::Buttonm_xNextBT
 

Friends

class SwIndexMarkFloatDlg
 
class SwIndexMarkModalDlg
 

Detailed Description

Definition at line 38 of file swuiidxmrk.hxx.

Constructor & Destructor Documentation

SwIndexMarkPane::SwIndexMarkPane ( const std::shared_ptr< weld::Dialog > &  rDialog,
weld::Builder rBuilder,
bool  bNewDlg,
SwWrtShell rWrtShell 
)
SwIndexMarkPane::~SwIndexMarkPane ( )

Definition at line 931 of file swuiidxmrk.cxx.

Member Function Documentation

void SwIndexMarkPane::Activate ( )
private

Definition at line 356 of file swuiidxmrk.cxx.

References SwCursorShell::GetCursorCnt(), m_bNewMark, m_pSh, and m_xSyncED.

Referenced by SwIndexMarkFloatDlg::Activate().

void SwIndexMarkPane::Apply ( )
private

Definition at line 384 of file swuiidxmrk.cxx.

References InsertUpdate(), m_bSelected, m_pSh, and SwWrtShell::ResetSelect().

Referenced by SwIndexMarkModalDlg::run().

SwIndexMarkPane::DECL_LINK ( InsertHdl  ,
weld::Button ,
void   
)
private
SwIndexMarkPane::DECL_LINK ( CloseHdl  ,
weld::Button ,
void   
)
private
SwIndexMarkPane::DECL_LINK ( SyncSelectionHdl  ,
weld::Button ,
void   
)
private
SwIndexMarkPane::DECL_LINK ( DelHdl  ,
weld::Button ,
void   
)
private
SwIndexMarkPane::DECL_LINK ( NextHdl  ,
weld::Button ,
void   
)
private
SwIndexMarkPane::DECL_LINK ( NextSameHdl  ,
weld::Button ,
void   
)
private
SwIndexMarkPane::DECL_LINK ( PrevHdl  ,
weld::Button ,
void   
)
private
SwIndexMarkPane::DECL_LINK ( PrevSameHdl  ,
weld::Button ,
void   
)
private
SwIndexMarkPane::DECL_LINK ( ModifyListBoxHdl  ,
weld::ComboBox ,
void   
)
private
SwIndexMarkPane::DECL_LINK ( ModifyEditHdl  ,
weld::Entry ,
void   
)
private
SwIndexMarkPane::DECL_LINK ( KeyDCBModifyHdl  ,
weld::ComboBox ,
void   
)
private
SwIndexMarkPane::DECL_LINK ( NewUserIdxHdl  ,
weld::Button ,
void   
)
private
SwIndexMarkPane::DECL_LINK ( SearchTypeHdl  ,
weld::ToggleButton ,
void   
)
private
SwIndexMarkPane::DECL_LINK ( PhoneticEDModifyHdl  ,
weld::Entry ,
void   
)
private
OUString SwIndexMarkPane::GetDefaultPhoneticReading ( const OUString &  rText)
private
void SwIndexMarkPane::InitControls ( )
private
void SwIndexMarkPane::InsertMark ( )
private
void SwIndexMarkPane::InsertUpdate ( )
private
bool SwIndexMarkPane::IsTOXType ( const OUString &  rName)
inline

Definition at line 133 of file swuiidxmrk.hxx.

void SwIndexMarkPane::ModifyHdl ( const weld::Widget rWidget)
private
void SwIndexMarkPane::ReInitDlg ( SwWrtShell rWrtShell,
SwTOXMark const *  pCurTOXMark = nullptr 
)
void SwIndexMarkPane::UpdateDialog ( )
private
void SwIndexMarkPane::UpdateKeyBoxes ( )
private

Definition at line 544 of file swuiidxmrk.cxx.

References m_xKey1DCB, m_xKey2DCB, and nPos.

Referenced by InsertMark(), and UpdateMark().

void SwIndexMarkPane::UpdateLanguageDependenciesForPhoneticReading ( )
private
void SwIndexMarkPane::UpdateMark ( )
private

Friends And Related Function Documentation

friend class SwIndexMarkFloatDlg
friend

Definition at line 42 of file swuiidxmrk.hxx.

friend class SwIndexMarkModalDlg
friend

Definition at line 43 of file swuiidxmrk.hxx.

Member Data Documentation

OUString SwIndexMarkPane::m_aOrgStr
private

Definition at line 45 of file swuiidxmrk.hxx.

Referenced by InitControls(), InsertMark(), UpdateDialog(), and UpdateMark().

bool SwIndexMarkPane::m_bDel
private

Definition at line 46 of file swuiidxmrk.hxx.

Referenced by InsertUpdate().

bool SwIndexMarkPane::m_bIsPhoneticReadingEnabled
private
bool const SwIndexMarkPane::m_bNewMark
private
bool SwIndexMarkPane::m_bPhoneticED0_ChangedByUser
private

Definition at line 50 of file swuiidxmrk.hxx.

Referenced by ModifyHdl().

bool SwIndexMarkPane::m_bPhoneticED1_ChangedByUser
private

Definition at line 51 of file swuiidxmrk.hxx.

bool SwIndexMarkPane::m_bPhoneticED2_ChangedByUser
private

Definition at line 52 of file swuiidxmrk.hxx.

bool SwIndexMarkPane::m_bSelected
private

Definition at line 48 of file swuiidxmrk.hxx.

Referenced by Apply(), and InitControls().

LanguageType SwIndexMarkPane::m_nLangForPhoneticReading
private
SwWrtShell* SwIndexMarkPane::m_pSh
private
std::unique_ptr<SwTOXMgr> SwIndexMarkPane::m_pTOXMgr
private
std::unique_ptr<weld::CheckButton> SwIndexMarkPane::m_xApplyToAllCB
private

Definition at line 80 of file swuiidxmrk.hxx.

Referenced by InitControls(), InsertMark(), and SwIndexMarkPane().

std::unique_ptr<weld::Button> SwIndexMarkPane::m_xCloseBT
private

Definition at line 84 of file swuiidxmrk.hxx.

Referenced by SwIndexMarkPane().

std::unique_ptr<weld::Button> SwIndexMarkPane::m_xDelBT
private

Definition at line 85 of file swuiidxmrk.hxx.

Referenced by SwIndexMarkPane(), and UpdateDialog().

std::shared_ptr<weld::Dialog> SwIndexMarkPane::m_xDialog
private

Definition at line 40 of file swuiidxmrk.hxx.

Referenced by SwIndexMarkPane(), and UpdateDialog().

std::unique_ptr<weld::Entry> SwIndexMarkPane::m_xEntryED
private
css::uno::Reference< css::i18n::XExtendedIndexEntrySupplier > SwIndexMarkPane::m_xExtendedIndexEntrySupplier
private
std::unique_ptr<weld::ComboBox> SwIndexMarkPane::m_xKey1DCB
private
std::unique_ptr<weld::Label> SwIndexMarkPane::m_xKey1FT
private

Definition at line 69 of file swuiidxmrk.hxx.

Referenced by ModifyHdl(), and UpdateDialog().

std::unique_ptr<weld::ComboBox> SwIndexMarkPane::m_xKey2DCB
private
std::unique_ptr<weld::Label> SwIndexMarkPane::m_xKey2FT
private

Definition at line 73 of file swuiidxmrk.hxx.

Referenced by ModifyHdl(), and UpdateDialog().

std::unique_ptr<weld::Label> SwIndexMarkPane::m_xLevelFT
private

Definition at line 77 of file swuiidxmrk.hxx.

Referenced by ModifyHdl(), and UpdateDialog().

std::unique_ptr<weld::SpinButton> SwIndexMarkPane::m_xLevelNF
private

Definition at line 78 of file swuiidxmrk.hxx.

Referenced by InsertMark(), ModifyHdl(), UpdateDialog(), and UpdateMark().

std::unique_ptr<weld::CheckButton> SwIndexMarkPane::m_xMainEntryCB
private

Definition at line 79 of file swuiidxmrk.hxx.

Referenced by InsertMark(), ModifyHdl(), UpdateDialog(), and UpdateMark().

std::unique_ptr<weld::Button> SwIndexMarkPane::m_xNewBT
private

Definition at line 64 of file swuiidxmrk.hxx.

Referenced by SwIndexMarkPane().

std::unique_ptr<weld::Button> SwIndexMarkPane::m_xNextBT
private

Definition at line 89 of file swuiidxmrk.hxx.

Referenced by InitControls(), SwIndexMarkPane(), and UpdateDialog().

std::unique_ptr<weld::Button> SwIndexMarkPane::m_xNextSameBT
private

Definition at line 87 of file swuiidxmrk.hxx.

Referenced by InitControls(), SwIndexMarkPane(), and UpdateDialog().

std::unique_ptr<weld::Button> SwIndexMarkPane::m_xOKBT
private

Definition at line 83 of file swuiidxmrk.hxx.

Referenced by ModifyHdl(), SwIndexMarkPane(), and UpdateDialog().

std::unique_ptr<weld::Entry> SwIndexMarkPane::m_xPhoneticED0
private

Definition at line 68 of file swuiidxmrk.hxx.

Referenced by InsertMark(), ModifyHdl(), SwIndexMarkPane(), UpdateDialog(), and UpdateMark().

std::unique_ptr<weld::Entry> SwIndexMarkPane::m_xPhoneticED1
private

Definition at line 72 of file swuiidxmrk.hxx.

Referenced by InsertMark(), ModifyHdl(), SwIndexMarkPane(), UpdateDialog(), and UpdateMark().

std::unique_ptr<weld::Entry> SwIndexMarkPane::m_xPhoneticED2
private

Definition at line 76 of file swuiidxmrk.hxx.

Referenced by InsertMark(), ModifyHdl(), SwIndexMarkPane(), UpdateDialog(), and UpdateMark().

std::unique_ptr<weld::Label> SwIndexMarkPane::m_xPhoneticFT0
private

Definition at line 67 of file swuiidxmrk.hxx.

Referenced by ModifyHdl(), SwIndexMarkPane(), and UpdateDialog().

std::unique_ptr<weld::Label> SwIndexMarkPane::m_xPhoneticFT1
private

Definition at line 71 of file swuiidxmrk.hxx.

Referenced by ModifyHdl(), SwIndexMarkPane(), and UpdateDialog().

std::unique_ptr<weld::Label> SwIndexMarkPane::m_xPhoneticFT2
private

Definition at line 75 of file swuiidxmrk.hxx.

Referenced by ModifyHdl(), SwIndexMarkPane(), and UpdateDialog().

std::unique_ptr<weld::Button> SwIndexMarkPane::m_xPrevBT
private

Definition at line 88 of file swuiidxmrk.hxx.

Referenced by InitControls(), SwIndexMarkPane(), and UpdateDialog().

std::unique_ptr<weld::Button> SwIndexMarkPane::m_xPrevSameBT
private

Definition at line 86 of file swuiidxmrk.hxx.

Referenced by InitControls(), SwIndexMarkPane(), and UpdateDialog().

std::unique_ptr<weld::CheckButton> SwIndexMarkPane::m_xSearchCaseSensitiveCB
private

Definition at line 81 of file swuiidxmrk.hxx.

Referenced by InitControls(), and InsertMark().

std::unique_ptr<weld::CheckButton> SwIndexMarkPane::m_xSearchCaseWordOnlyCB
private

Definition at line 82 of file swuiidxmrk.hxx.

Referenced by InitControls(), and InsertMark().

std::unique_ptr<weld::Button> SwIndexMarkPane::m_xSyncED
private

Definition at line 66 of file swuiidxmrk.hxx.

Referenced by Activate(), and SwIndexMarkPane().

std::unique_ptr<weld::ComboBox> SwIndexMarkPane::m_xTypeDCB
private
std::unique_ptr<weld::Label> SwIndexMarkPane::m_xTypeFT
private

Definition at line 62 of file swuiidxmrk.hxx.

Referenced by InitControls().


The documentation for this class was generated from the following files: