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

#include <swuicnttab.hxx>

Collaboration diagram for SwTokenWindow:
[legend]

Public Member Functions

 SwTokenWindow (std::unique_ptr< weld::Container > xParent)
 
weld::Containerget_child_container ()
 
 ~SwTokenWindow ()
 
void SetTabPage (SwTOXEntryTabPage *pParent)
 
void SetForm (SwForm &rForm, sal_uInt16 nLevel)
 
sal_uInt16 GetLastLevel () const
 
bool IsValid () const
 
void SetInvalid ()
 
OUString GetPattern () const
 
void SetButtonSelectedHdl (const Link< SwFormToken &, void > &rLink)
 
void SetModifyHdl (const Link< LinkParamNone *, void > &rLink)
 
SwTOXWidgetGetActiveControl ()
 
void InsertAtSelection (const SwFormToken &aToken)
 
void RemoveControl (const SwTOXButton *pDel, bool bInternalCall=false)
 
bool Contains (FormTokenType) const
 
OUString CreateQuickHelp (const SwFormToken &rToken)
 
void SetFocus2theAllBtn ()
 

Private Member Functions

 DECL_LINK (EditResize, SwTOXEdit &, void)
 
 DECL_LINK (NextItemHdl, SwTOXEdit &, void)
 
 DECL_LINK (TbxFocusHdl, SwTOXWidget &, void)
 
 DECL_LINK (NextItemBtnHdl, SwTOXButton &, void)
 
 DECL_LINK (TbxFocusBtnHdl, SwTOXWidget &, void)
 
 DECL_LINK (ScrollBtnHdl, weld::Button &, void)
 
 DECL_LINK (ScrollHdl, weld::ScrolledWindow &, void)
 
 DECL_LINK (AdjustPositionsHdl, const Size &, void)
 
void SetActiveControl (SwTOXWidget *pSet)
 
SwTOXWidgetInsertItem (const OUString &rText, const SwFormToken &aToken)
 
void AdjustPositions ()
 
void AdjustScrolling ()
 
void MoveControls (long nOffset)
 
sal_uInt32 GetControlIndex (FormTokenType eType) const
 

Private Attributes

SwFormm_pForm
 
sal_uInt16 m_nLevel
 
bool m_bValid
 
OUString m_aButtonTexts [TOKEN_END]
 
OUString m_aButtonHelpTexts [TOKEN_END]
 
OUString const m_sCharStyle
 
Link< SwFormToken &, voidm_aButtonSelectedHdl
 
SwTOXWidgetm_pActiveCtrl
 
Link< LinkParamNone *, voidm_aModifyHdl
 
OUString m_sAccessibleName
 
OUString m_sAdditionalAccnameString1
 
OUString m_sAdditionalAccnameString2
 
OUString m_sAdditionalAccnameString3
 
Idle m_aAdjustPositionsIdle
 
SwTOXEntryTabPagem_pParent
 
std::unique_ptr< weld::Containerm_xParentWidget
 
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 
std::unique_ptr< weld::Buttonm_xLeftScrollWin
 
std::unique_ptr< weld::Containerm_xCtrlParentWin
 
std::unique_ptr< weld::ScrolledWindowm_xScrollWin
 
std::unique_ptr< weld::Buttonm_xRightScrollWin
 
std::vector< std::unique_ptr< SwTOXWidget > > m_aControlList
 

Detailed Description

Definition at line 223 of file swuicnttab.hxx.

Constructor & Destructor Documentation

SwTokenWindow::SwTokenWindow ( std::unique_ptr< weld::Container xParent)
SwTokenWindow::~SwTokenWindow ( )

Definition at line 2601 of file cnttab.cxx.

Member Function Documentation

void SwTokenWindow::AdjustPositions ( )
private

Definition at line 3010 of file cnttab.cxx.

References AdjustScrolling(), i, and m_aControlList.

Referenced by InsertAtSelection(), and RemoveControl().

void SwTokenWindow::AdjustScrolling ( )
private
bool SwTokenWindow::Contains ( FormTokenType  eSearchFor) const
OUString SwTokenWindow::CreateQuickHelp ( const SwFormToken rToken)
SwTokenWindow::DECL_LINK ( EditResize  ,
SwTOXEdit ,
void   
)
private
SwTokenWindow::DECL_LINK ( NextItemHdl  ,
SwTOXEdit ,
void   
)
private
SwTokenWindow::DECL_LINK ( TbxFocusHdl  ,
SwTOXWidget ,
void   
)
private
SwTokenWindow::DECL_LINK ( NextItemBtnHdl  ,
SwTOXButton ,
void   
)
private
SwTokenWindow::DECL_LINK ( TbxFocusBtnHdl  ,
SwTOXWidget ,
void   
)
private
SwTokenWindow::DECL_LINK ( ScrollBtnHdl  ,
weld::Button ,
void   
)
private
SwTokenWindow::DECL_LINK ( ScrollHdl  ,
weld::ScrolledWindow ,
void   
)
private
SwTokenWindow::DECL_LINK ( AdjustPositionsHdl  ,
const Size ,
void   
)
private
weld::Container* SwTokenWindow::get_child_container ( )
inline

Definition at line 269 of file swuicnttab.hxx.

SwTOXWidget* SwTokenWindow::GetActiveControl ( )
inline

Definition at line 288 of file swuicnttab.hxx.

References m_pActiveCtrl.

Referenced by SetForm().

sal_uInt32 SwTokenWindow::GetControlIndex ( FormTokenType  eType) const
private
sal_uInt16 SwTokenWindow::GetLastLevel ( ) const
inline

Definition at line 275 of file swuicnttab.hxx.

References m_nLevel.

OUString SwTokenWindow::GetPattern ( ) const
void SwTokenWindow::InsertAtSelection ( const SwFormToken aToken)
SwTOXWidget * SwTokenWindow::InsertItem ( const OUString &  rText,
const SwFormToken aToken 
)
private
bool SwTokenWindow::IsValid ( ) const
inline

Definition at line 277 of file swuicnttab.hxx.

References m_bValid.

void SwTokenWindow::MoveControls ( long  nOffset)
private

Definition at line 3017 of file cnttab.cxx.

References m_xScrollWin.

Referenced by AdjustScrolling().

void SwTokenWindow::RemoveControl ( const SwTOXButton pDel,
bool  bInternalCall = false 
)
void SwTokenWindow::SetActiveControl ( SwTOXWidget pSet)
private
void SwTokenWindow::SetButtonSelectedHdl ( const Link< SwFormToken &, void > &  rLink)
inline

Definition at line 283 of file swuicnttab.hxx.

void SwTokenWindow::SetFocus2theAllBtn ( )

Definition at line 3312 of file cnttab.cxx.

References m_pParent, and SwTOXEntryTabPage::SetFocus2theAllBtn().

void SwTokenWindow::SetForm ( SwForm rForm,
sal_uInt16  nLevel 
)
void SwTokenWindow::SetInvalid ( )
inline

Definition at line 279 of file swuicnttab.hxx.

void SwTokenWindow::SetModifyHdl ( const Link< LinkParamNone *, void > &  rLink)
inline

Definition at line 286 of file swuicnttab.hxx.

void SwTokenWindow::SetTabPage ( SwTOXEntryTabPage pParent)
inline

Definition at line 272 of file swuicnttab.hxx.

Member Data Documentation

Idle SwTokenWindow::m_aAdjustPositionsIdle
private

Definition at line 239 of file swuicnttab.hxx.

OUString SwTokenWindow::m_aButtonHelpTexts[TOKEN_END]
private

Definition at line 229 of file swuicnttab.hxx.

Referenced by CreateQuickHelp(), InsertItem(), and SwTokenWindow().

Link<SwFormToken&,void> SwTokenWindow::m_aButtonSelectedHdl
private

Definition at line 231 of file swuicnttab.hxx.

Referenced by SetActiveControl().

OUString SwTokenWindow::m_aButtonTexts[TOKEN_END]
private

Definition at line 228 of file swuicnttab.hxx.

Referenced by InsertAtSelection(), InsertItem(), and SwTokenWindow().

std::vector<std::unique_ptr<SwTOXWidget> > SwTokenWindow::m_aControlList
private
Link<LinkParamNone*,void> SwTokenWindow::m_aModifyHdl
private

Definition at line 233 of file swuicnttab.hxx.

Referenced by RemoveControl().

bool SwTokenWindow::m_bValid
private

Definition at line 227 of file swuicnttab.hxx.

Referenced by IsValid(), and SetForm().

sal_uInt16 SwTokenWindow::m_nLevel
private

Definition at line 226 of file swuicnttab.hxx.

Referenced by GetLastLevel(), and SetForm().

SwTOXWidget* SwTokenWindow::m_pActiveCtrl
private
SwForm* SwTokenWindow::m_pForm
private

Definition at line 225 of file swuicnttab.hxx.

Referenced by RemoveControl(), and SetForm().

SwTOXEntryTabPage* SwTokenWindow::m_pParent
private

Definition at line 241 of file swuicnttab.hxx.

Referenced by RemoveControl(), and SetFocus2theAllBtn().

OUString SwTokenWindow::m_sAccessibleName
private

Definition at line 234 of file swuicnttab.hxx.

Referenced by InsertAtSelection(), InsertItem(), and SwTokenWindow().

OUString SwTokenWindow::m_sAdditionalAccnameString1
private

Definition at line 235 of file swuicnttab.hxx.

Referenced by InsertAtSelection(), InsertItem(), and SwTokenWindow().

OUString SwTokenWindow::m_sAdditionalAccnameString2
private

Definition at line 236 of file swuicnttab.hxx.

Referenced by InsertAtSelection(), InsertItem(), and SwTokenWindow().

OUString SwTokenWindow::m_sAdditionalAccnameString3
private

Definition at line 237 of file swuicnttab.hxx.

Referenced by InsertAtSelection(), InsertItem(), and SwTokenWindow().

OUString const SwTokenWindow::m_sCharStyle
private

Definition at line 230 of file swuicnttab.hxx.

Referenced by CreateQuickHelp().

std::unique_ptr<weld::Builder> SwTokenWindow::m_xBuilder
private

Definition at line 243 of file swuicnttab.hxx.

std::unique_ptr<weld::Container> SwTokenWindow::m_xContainer
private

Definition at line 244 of file swuicnttab.hxx.

std::unique_ptr<weld::Container> SwTokenWindow::m_xCtrlParentWin
private

Definition at line 246 of file swuicnttab.hxx.

Referenced by AdjustScrolling(), and SwTokenWindow().

std::unique_ptr<weld::Button> SwTokenWindow::m_xLeftScrollWin
private

Definition at line 245 of file swuicnttab.hxx.

Referenced by AdjustScrolling(), and SwTokenWindow().

std::unique_ptr<weld::Container> SwTokenWindow::m_xParentWidget
private

Definition at line 242 of file swuicnttab.hxx.

std::unique_ptr<weld::Button> SwTokenWindow::m_xRightScrollWin
private

Definition at line 248 of file swuicnttab.hxx.

Referenced by AdjustScrolling(), and SwTokenWindow().

std::unique_ptr<weld::ScrolledWindow> SwTokenWindow::m_xScrollWin
private

Definition at line 247 of file swuicnttab.hxx.

Referenced by AdjustScrolling(), MoveControls(), and SwTokenWindow().


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