25 : GenericDialogController(pParent,
"modules/swriter/ui/selectindexdialog.ui",
29 , m_xTextFT(m_xBuilder->weld_label(
"type"))
30 , m_xTOXLB(m_xBuilder->weld_tree_view(
"treeview"))
38 for (sal_uInt16
i = 0;
i < nSize; ++
i)
47 if (rBox.get_selected_index() != -1)
49 SwTOXMark* pMark = m_rMgr.GetTOXMark(rBox.get_selected_index());
51 m_nPos = rBox.get_selected_index();
57 short nRet = GenericDialogController::run();
std::unique_ptr< weld::TreeView > m_xTOXLB
virtual short run() override
std::unique_ptr< weld::Label > m_xTextFT
SwMultiTOXMarkDlg(weld::Window *pParent, SwTOXMgr &rTOXMgr)
virtual ~SwMultiTOXMarkDlg() override
const SwTOXType * GetTOXType() const
OUString GetText(SwRootFrame const *pLayout) const
Built on top of SwWrtShell, provides functionality to insert, update or perform other actions on vari...
void SetCurTOXMark(sal_uInt16 nId)
SwTOXMark * GetTOXMark(sal_uInt16 nId)
sal_uInt16 GetTOXMarkCount() const
const OUString & GetTypeName() const
SwRootFrame * GetLayout() const
#define LINK(Instance, Class, Member)
IMPL_LINK(SwMultiTOXMarkDlg, SelectHdl, weld::TreeView &, rBox, void)