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 (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 ()
 

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
 
std::unique_ptr< weld::Labelm_xForSelectedEntry
 

Friends

class SwIndexMarkFloatDlg
 
class SwIndexMarkModalDlg
 

Detailed Description

Definition at line 38 of file swuiidxmrk.hxx.

Constructor & Destructor Documentation

◆ SwIndexMarkPane()

SwIndexMarkPane::SwIndexMarkPane ( std::shared_ptr< weld::Dialog xDialog,
weld::Builder rBuilder,
bool  bNewDlg,
SwWrtShell pWrtShell 
)

◆ ~SwIndexMarkPane()

SwIndexMarkPane::~SwIndexMarkPane ( )

Definition at line 1005 of file swuiidxmrk.cxx.

Member Function Documentation

◆ Activate()

void SwIndexMarkPane::Activate ( )
private

Definition at line 422 of file swuiidxmrk.cxx.

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

Referenced by SwIndexMarkFloatDlg::Activate().

◆ Apply()

void SwIndexMarkPane::Apply ( )
private

Definition at line 450 of file swuiidxmrk.cxx.

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

Referenced by SwIndexMarkModalDlg::run().

◆ DECL_LINK() [1/14]

SwIndexMarkPane::DECL_LINK ( CloseHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/14]

SwIndexMarkPane::DECL_LINK ( DelHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/14]

SwIndexMarkPane::DECL_LINK ( InsertHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/14]

SwIndexMarkPane::DECL_LINK ( KeyDCBModifyHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [5/14]

SwIndexMarkPane::DECL_LINK ( ModifyEditHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [6/14]

SwIndexMarkPane::DECL_LINK ( ModifyListBoxHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [7/14]

SwIndexMarkPane::DECL_LINK ( NewUserIdxHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [8/14]

SwIndexMarkPane::DECL_LINK ( NextHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [9/14]

SwIndexMarkPane::DECL_LINK ( NextSameHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [10/14]

SwIndexMarkPane::DECL_LINK ( PhoneticEDModifyHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [11/14]

SwIndexMarkPane::DECL_LINK ( PrevHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [12/14]

SwIndexMarkPane::DECL_LINK ( PrevSameHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [13/14]

SwIndexMarkPane::DECL_LINK ( SearchTypeHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [14/14]

SwIndexMarkPane::DECL_LINK ( SyncSelectionHdl  ,
weld::Button ,
void   
)
private

◆ GetDefaultPhoneticReading()

OUString SwIndexMarkPane::GetDefaultPhoneticReading ( const OUString &  rText)
private

◆ InitControls()

void SwIndexMarkPane::InitControls ( )
private

◆ InsertMark()

void SwIndexMarkPane::InsertMark ( )
private

◆ InsertUpdate()

void SwIndexMarkPane::InsertUpdate ( )
private

◆ IsTOXType()

bool SwIndexMarkPane::IsTOXType ( const OUString &  rName)
inline

Definition at line 134 of file swuiidxmrk.hxx.

References m_xTypeDCB.

Referenced by IMPL_LINK().

◆ ModifyHdl()

void SwIndexMarkPane::ModifyHdl ( const weld::Widget rWidget)
private

◆ ReInitDlg()

void SwIndexMarkPane::ReInitDlg ( SwWrtShell rWrtShell,
SwTOXMark const *  pCurTOXMark = nullptr 
)

◆ UpdateDialog()

void SwIndexMarkPane::UpdateDialog ( )
private

◆ UpdateKeyBoxes()

void SwIndexMarkPane::UpdateKeyBoxes ( )
private

Definition at line 610 of file swuiidxmrk.cxx.

References m_xKey1DCB, m_xKey2DCB, and nPos.

Referenced by InsertMark(), and UpdateMark().

◆ UpdateLanguageDependenciesForPhoneticReading()

void SwIndexMarkPane::UpdateLanguageDependenciesForPhoneticReading ( )
private

◆ UpdateMark()

void SwIndexMarkPane::UpdateMark ( )
private

Friends And Related Function Documentation

◆ SwIndexMarkFloatDlg

friend class SwIndexMarkFloatDlg
friend

Definition at line 42 of file swuiidxmrk.hxx.

◆ SwIndexMarkModalDlg

friend class SwIndexMarkModalDlg
friend

Definition at line 43 of file swuiidxmrk.hxx.

Member Data Documentation

◆ m_aOrgStr

OUString SwIndexMarkPane::m_aOrgStr
private

Definition at line 45 of file swuiidxmrk.hxx.

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

◆ m_bDel

bool SwIndexMarkPane::m_bDel
private

Definition at line 46 of file swuiidxmrk.hxx.

Referenced by InsertUpdate().

◆ m_bIsPhoneticReadingEnabled

bool SwIndexMarkPane::m_bIsPhoneticReadingEnabled
private

◆ m_bNewMark

bool const SwIndexMarkPane::m_bNewMark
private

◆ m_bPhoneticED0_ChangedByUser

bool SwIndexMarkPane::m_bPhoneticED0_ChangedByUser
private

Definition at line 50 of file swuiidxmrk.hxx.

Referenced by ModifyHdl().

◆ m_bPhoneticED1_ChangedByUser

bool SwIndexMarkPane::m_bPhoneticED1_ChangedByUser
private

Definition at line 51 of file swuiidxmrk.hxx.

◆ m_bPhoneticED2_ChangedByUser

bool SwIndexMarkPane::m_bPhoneticED2_ChangedByUser
private

Definition at line 52 of file swuiidxmrk.hxx.

◆ m_bSelected

bool SwIndexMarkPane::m_bSelected
private

Definition at line 48 of file swuiidxmrk.hxx.

Referenced by Apply(), and InitControls().

◆ m_nLangForPhoneticReading

LanguageType SwIndexMarkPane::m_nLangForPhoneticReading
private

◆ m_pSh

SwWrtShell* SwIndexMarkPane::m_pSh
private

◆ m_pTOXMgr

std::unique_ptr<SwTOXMgr> SwIndexMarkPane::m_pTOXMgr
private

◆ m_xApplyToAllCB

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

Definition at line 80 of file swuiidxmrk.hxx.

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

◆ m_xCloseBT

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

Definition at line 84 of file swuiidxmrk.hxx.

Referenced by SwIndexMarkPane().

◆ m_xDelBT

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

Definition at line 85 of file swuiidxmrk.hxx.

Referenced by SwIndexMarkPane(), and UpdateDialog().

◆ m_xDialog

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

Definition at line 40 of file swuiidxmrk.hxx.

Referenced by SwIndexMarkPane(), and UpdateDialog().

◆ m_xEntryED

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

◆ m_xExtendedIndexEntrySupplier

css::uno::Reference< css::i18n::XExtendedIndexEntrySupplier > SwIndexMarkPane::m_xExtendedIndexEntrySupplier
private

◆ m_xForSelectedEntry

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

Definition at line 90 of file swuiidxmrk.hxx.

Referenced by InitControls().

◆ m_xKey1DCB

std::unique_ptr<weld::ComboBox> SwIndexMarkPane::m_xKey1DCB
private

◆ m_xKey1FT

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

Definition at line 69 of file swuiidxmrk.hxx.

Referenced by ModifyHdl(), and UpdateDialog().

◆ m_xKey2DCB

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

◆ m_xKey2FT

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

Definition at line 73 of file swuiidxmrk.hxx.

Referenced by ModifyHdl(), and UpdateDialog().

◆ m_xLevelFT

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

Definition at line 77 of file swuiidxmrk.hxx.

Referenced by ModifyHdl(), and UpdateDialog().

◆ m_xLevelNF

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

Definition at line 78 of file swuiidxmrk.hxx.

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

◆ m_xMainEntryCB

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

Definition at line 79 of file swuiidxmrk.hxx.

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

◆ m_xNewBT

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

Definition at line 64 of file swuiidxmrk.hxx.

Referenced by SwIndexMarkPane().

◆ m_xNextBT

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

Definition at line 89 of file swuiidxmrk.hxx.

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

◆ m_xNextSameBT

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

Definition at line 87 of file swuiidxmrk.hxx.

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

◆ m_xOKBT

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

Definition at line 83 of file swuiidxmrk.hxx.

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

◆ m_xPhoneticED0

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().

◆ m_xPhoneticED1

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().

◆ m_xPhoneticED2

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().

◆ m_xPhoneticFT0

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

Definition at line 67 of file swuiidxmrk.hxx.

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

◆ m_xPhoneticFT1

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

Definition at line 71 of file swuiidxmrk.hxx.

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

◆ m_xPhoneticFT2

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

Definition at line 75 of file swuiidxmrk.hxx.

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

◆ m_xPrevBT

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

Definition at line 88 of file swuiidxmrk.hxx.

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

◆ m_xPrevSameBT

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

Definition at line 86 of file swuiidxmrk.hxx.

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

◆ m_xSearchCaseSensitiveCB

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

Definition at line 81 of file swuiidxmrk.hxx.

Referenced by InitControls(), and InsertMark().

◆ m_xSearchCaseWordOnlyCB

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

Definition at line 82 of file swuiidxmrk.hxx.

Referenced by InitControls(), and InsertMark().

◆ m_xSyncED

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

Definition at line 66 of file swuiidxmrk.hxx.

Referenced by Activate(), and SwIndexMarkPane().

◆ m_xTypeDCB

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

◆ m_xTypeFT

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: