LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwTOXEdit Class Reference
Inheritance diagram for SwTOXEdit:
[legend]
Collaboration diagram for SwTOXEdit:
[legend]

Public Member Functions

 SwTOXEdit (SwTokenWindow *pTokenWin, const SwFormToken &rToken)
 
virtual WindowType GetType () const override
 
virtual void GrabFocus () override
 
virtual void Hide () override
 
void Show ()
 
void SetAccessibleName (const OUString &rName)
 
virtual void set_grid_left_attach (int nPos) override
 
virtual void get_extents_relative_to (weld::Widget &rRelative, int &x, int &y, int &width, int &height) override
 
OUString GetText () const
 
void SetText (const OUString &rText)
 
void get_selection_bounds (int &rStartPos, int &rEndPos)
 
void select_region (int nStartPos, int nEndPos)
 
void SetModifyHdl (const Link< SwTOXEdit &, void > &rLink)
 
 DECL_LINK (KeyInputHdl, const KeyEvent &, bool)
 
 DECL_LINK (FocusInHdl, weld::Widget &, void)
 
bool IsNextControl () const
 
void SetPrevNextLink (const Link< SwTOXEdit &, void > &rLink)
 
const SwFormTokenGetFormToken ()
 
void SetCharStyleName (const OUString &rSet, sal_uInt16 nPoolId)
 
void AdjustSize ()
 
- Public Member Functions inherited from SwTOXWidget
void SetGetFocusHdl (const Link< SwTOXWidget &, void > &rLink)
 
virtual ~SwTOXWidget ()
 

Private Member Functions

 DECL_LINK (ModifyHdl, weld::Entry &, void)
 

Private Attributes

std::unique_ptr< weld::Builderm_xBuilder
 
SwFormToken aFormToken
 
Link< SwTOXEdit &, voidaModifiedLink
 
Link< SwTOXEdit &, voidaPrevNextControlLink
 
bool bNextControl
 
SwTokenWindowm_pParent
 
std::unique_ptr< weld::Entrym_xEntry
 

Additional Inherited Members

- Protected Attributes inherited from SwTOXWidget
Link< SwTOXWidget &, voidaGetFocusLink
 

Detailed Description

Definition at line 1432 of file cnttab.cxx.

Constructor & Destructor Documentation

SwTOXEdit::SwTOXEdit ( SwTokenWindow pTokenWin,
const SwFormToken rToken 
)
inline

Definition at line 1444 of file cnttab.cxx.

References SwTokenWindow::CreateQuickHelp(), and LINK.

Member Function Documentation

void SwTOXEdit::AdjustSize ( )

Definition at line 1584 of file cnttab.cxx.

References f, GetText(), and m_xEntry.

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

SwTOXEdit::DECL_LINK ( ModifyHdl  ,
weld::Entry ,
void   
)
private
SwTOXEdit::DECL_LINK ( KeyInputHdl  ,
const KeyEvent ,
bool   
)
SwTOXEdit::DECL_LINK ( FocusInHdl  ,
weld::Widget ,
void   
)
virtual void SwTOXEdit::get_extents_relative_to ( weld::Widget rRelative,
int x,
int y,
int width,
int height 
)
inlineoverridevirtual

Implements SwTOXWidget.

Definition at line 1487 of file cnttab.cxx.

void SwTOXEdit::get_selection_bounds ( int rStartPos,
int rEndPos 
)
inline

Definition at line 1502 of file cnttab.cxx.

const SwFormToken& SwTOXEdit::GetFormToken ( )
inline
OUString SwTOXEdit::GetText ( ) const
inline

Definition at line 1492 of file cnttab.cxx.

Referenced by AdjustSize().

virtual WindowType SwTOXEdit::GetType ( ) const
inlineoverridevirtual

Implements SwTOXWidget.

Definition at line 1457 of file cnttab.cxx.

virtual void SwTOXEdit::GrabFocus ( )
inlineoverridevirtual

Implements SwTOXWidget.

Definition at line 1462 of file cnttab.cxx.

virtual void SwTOXEdit::Hide ( )
inlineoverridevirtual

Implements SwTOXWidget.

Definition at line 1467 of file cnttab.cxx.

bool SwTOXEdit::IsNextControl ( ) const
inline

Definition at line 1520 of file cnttab.cxx.

References bNextControl.

void SwTOXEdit::select_region ( int  nStartPos,
int  nEndPos 
)
inline

Definition at line 1507 of file cnttab.cxx.

virtual void SwTOXEdit::set_grid_left_attach ( int  nPos)
inlineoverridevirtual

Implements SwTOXWidget.

Definition at line 1482 of file cnttab.cxx.

Referenced by SwTokenWindow::InsertItem().

void SwTOXEdit::SetAccessibleName ( const OUString &  rName)
inline

Definition at line 1477 of file cnttab.cxx.

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

void SwTOXEdit::SetCharStyleName ( const OUString &  rSet,
sal_uInt16  nPoolId 
)
inline

Definition at line 1529 of file cnttab.cxx.

References SwFormToken::nPoolId, and SwFormToken::sCharStyleName.

void SwTOXEdit::SetModifyHdl ( const Link< SwTOXEdit &, void > &  rLink)
inline

Definition at line 1512 of file cnttab.cxx.

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

void SwTOXEdit::SetPrevNextLink ( const Link< SwTOXEdit &, void > &  rLink)
inline

Definition at line 1521 of file cnttab.cxx.

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

void SwTOXEdit::SetText ( const OUString &  rText)
inline

Definition at line 1497 of file cnttab.cxx.

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

void SwTOXEdit::Show ( )
inline

Definition at line 1472 of file cnttab.cxx.

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

Member Data Documentation

SwFormToken SwTOXEdit::aFormToken
private

Definition at line 1435 of file cnttab.cxx.

Referenced by GetFormToken().

Link<SwTOXEdit&,void> SwTOXEdit::aModifiedLink
private

Definition at line 1436 of file cnttab.cxx.

Link<SwTOXEdit&,void> SwTOXEdit::aPrevNextControlLink
private

Definition at line 1437 of file cnttab.cxx.

bool SwTOXEdit::bNextControl
private

Definition at line 1438 of file cnttab.cxx.

Referenced by IsNextControl().

SwTokenWindow* SwTOXEdit::m_pParent
private

Definition at line 1439 of file cnttab.cxx.

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

Definition at line 1434 of file cnttab.cxx.

std::unique_ptr<weld::Entry> SwTOXEdit::m_xEntry
private

Definition at line 1440 of file cnttab.cxx.

Referenced by AdjustSize().


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