19#ifndef INCLUDED_SW_SOURCE_UIBASE_INC_SWUICNTTAB_HXX
20#define INCLUDED_SW_SOURCE_UIBASE_INC_SWUICNTTAB_HXX
83 virtual short Ok()
override;
113 TOXTypes nTOXIndex, sal_uInt16 nPage = 0, sal_uInt16 nCurLevel = USHRT_MAX);
SfxOkDialogController * GetDialogController() const
const CurTOXType & GetCurrentTOXType() const
std::vector< TypeData > m_vTypeData
void CreateOrUpdateExample(TOXTypes nTOXIndex, sal_uInt16 nPage=0, sal_uInt16 nCurLevel=USHRT_MAX)
static bool IsNoNum(SwWrtShell &rSh, const OUString &rName)
sal_uInt16 m_nInitialTOXType
std::unique_ptr< SwTOXDescription > CreateTOXDescFromTOXBase(const SwTOXBase *pCurTOX)
virtual short Ok() override
std::unique_ptr< SwTOXMgr > m_pMgr
DECL_LINK(ShowPreviewHdl, weld::Toggleable &, void)
void SetCurrentTOXType(const CurTOXType &eSet)
std::unique_ptr< SwOneExampleFrame > m_xExampleFrame
virtual ~SwMultiTOXTabDialog() override
OUString m_sUserDefinedIndex
std::unique_ptr< weld::CheckButton > m_xShowExampleCB
SwTOXBase * m_pParamTOXBase
bool IsTOXEditMode() const
std::unique_ptr< weld::CustomWeld > m_xExampleFrameWin
DECL_LINK(CreateExample_Hdl, SwOneExampleFrame &, void)
SwWrtShell & GetWrtShell()
virtual void PageCreated(const OUString &rId, SfxTabPage &rPage) override
SwTOXDescription & GetTOXDescription(CurTOXType eTOXTypes)
CurTOXType m_eCurrentTOXType
SwForm * GetForm(CurTOXType eType)
SwMultiTOXTabDialog(weld::Widget *pParent, const SfxItemSet &rSet, SwWrtShell &rShell, SwTOXBase *pCurTOX, sal_uInt16 nToxType, bool bGlobal)
void ShowHideControls(int eType)
DECL_LINK(NumberFormatHdl, weld::ComboBox &, void)
virtual void ActivatePage(const SfxItemSet &) override
DECL_LINK(ToggleHdl, weld::Toggleable &, void)
std::unique_ptr< weld::ComboBox > m_xFillCharCB
std::unique_ptr< weld::ToggleButton > m_xFirstSortDownRB
std::unique_ptr< weld::ComboBox > m_xFirstKeyLB
std::unique_ptr< weld::Button > m_xTabPB
std::unique_ptr< weld::ToggleButton > m_xSecondSortDownRB
std::unique_ptr< SwTokenWindow > m_xTokenWIN
std::unique_ptr< weld::Button > m_xPageNoPB
virtual void Reset(const SfxItemSet *) override
std::unique_ptr< weld::CheckButton > m_xAlphaDelimCB
DECL_LINK(ChapterInfoHdl, weld::ComboBox &, void)
std::unique_ptr< weld::ComboBox > m_xThirdKeyLB
DECL_LINK(LevelHdl, weld::TreeView &, void)
DECL_LINK(FillCharHdl, weld::ComboBox &, void)
std::unique_ptr< weld::ComboBox > m_xNumberFormatLB
format for numbering (E#)
std::unique_ptr< weld::Label > m_xLevelFT
DECL_LINK(ModifyClickHdl, weld::Toggleable &, void)
DECL_LINK(StyleSelectHdl, weld::ComboBox &, void)
std::unique_ptr< weld::ComboBox > m_xSecondKeyLB
std::unique_ptr< weld::Button > m_xEntryNoPB
std::unique_ptr< weld::ComboBox > m_xAuthFieldsLB
std::unique_ptr< weld::Button > m_xChapterInfoPB
std::unique_ptr< weld::Label > m_xEntryOutlineLevelFT
Fixed text, for i53420.
std::unique_ptr< weld::Label > m_xNumberFormatFT
CurTOXType m_aLastTOXType
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
DECL_LINK(AutoRightHdl, weld::Toggleable &, void)
std::unique_ptr< weld::CheckButton > m_xCommaSeparatedCB
std::unique_ptr< weld::Label > m_xChapterEntryFT
std::unique_ptr< weld::Label > m_xTabPosFT
void SetFocus2theAllBtn()
std::unique_ptr< weld::ToggleButton > m_xThirdSortDownRB
DECL_LINK(EditStyleHdl, weld::Button &, void)
DECL_LINK(InsertTokenHdl, weld::Button &, void)
void SetWrtShell(SwWrtShell &rSh)
std::unique_ptr< weld::SpinButton > m_xEntryOutlineLevelNF
level to evaluate outline level to, for i53420
DECL_LINK(ChapterInfoOutlineHdl, weld::SpinButton &, void)
std::unique_ptr< weld::TreeView > m_xLevelLB
DECL_LINK(RemoveInsertAuthHdl, weld::Button &, void)
std::unique_ptr< weld::ComboBox > m_xCharStyleLB
std::unique_ptr< weld::ToggleButton > m_xSecondSortUpRB
void PreTokenButtonRemoved(const SwFormToken &rToken)
std::unique_ptr< weld::Widget > m_xSortingFrame
DECL_LINK(TokenSelectedHdl, SwFormToken &, void)
std::unique_ptr< weld::CheckButton > m_xAutoRightCB
std::unique_ptr< weld::Button > m_xEntryPB
virtual bool FillItemSet(SfxItemSet *) override
DECL_LINK(SortKeyHdl, weld::Toggleable &, void)
DECL_LINK(AllLevelsHdl, weld::Button &, void)
std::unique_ptr< weld::RadioButton > m_xSortContentRB
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
std::unique_ptr< weld::Widget > m_xSortKeyFrame
std::unique_ptr< weld::Button > m_xAllLevelsPB
std::unique_ptr< weld::ToggleButton > m_xFirstSortUpRB
std::unique_ptr< weld::Button > m_xEditStylePB
DECL_LINK(ModifyHdl, LinkParamNone *, void)
void OnModify(bool bAllLevels)
std::unique_ptr< weld::Label > m_xMainEntryStyleFT
SwTOXEntryTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rAttrSet)
std::unique_ptr< weld::ComboBox > m_xMainEntryStyleLB
std::unique_ptr< weld::RadioButton > m_xSortDocPosRB
std::unique_ptr< weld::Label > m_xTypeFT
std::unique_ptr< weld::Button > m_xHyperLinkPB
std::unique_ptr< weld::Widget > m_xFormatFrame
std::unique_ptr< weld::MetricSpinButton > m_xTabPosMF
virtual ~SwTOXEntryTabPage() override
std::unique_ptr< weld::Label > m_xFillCharFT
std::unique_ptr< weld::ToggleButton > m_xThirdSortUpRB
std::unique_ptr< weld::Widget > m_xFieldBox
std::unique_ptr< weld::Button > m_xAuthInsertPB
std::unique_ptr< weld::Button > m_xAuthRemovePB
DECL_LINK(TabPosHdl, weld::MetricSpinButton &, void)
std::unique_ptr< weld::ComboBox > m_xChapterEntryLB
std::unique_ptr< weld::CheckButton > m_xRelToStyleCB
std::unique_ptr< weld::CheckButton > m_xFromHeadingsCB
DECL_LINK(ModifyEntryHdl, weld::Entry &, void)
void LanguageHdl(const weld::ComboBox *)
std::unique_ptr< weld::RadioButton > m_xFromCaptionsRB
std::unique_ptr< weld::ComboBox > m_xCaptionSequenceLB
std::unique_ptr< weld::CheckButton > m_xCaseSensitiveCB
std::unique_ptr< weld::ComboBox > m_xDisplayTypeLB
std::unique_ptr< weld::Widget > m_xFromObjFrame
OUString m_aStyleArr[MAXLEVEL]
bool m_bWaitingInitialSettings
std::unique_ptr< weld::RadioButton > m_xFromObjectNamesRB
std::unique_ptr< weld::CheckButton > m_xInitialCapsCB
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
std::unique_ptr< weld::Button > m_xAddStylesPB
std::unique_ptr< weld::CheckButton > m_xFromTablesCB
std::unique_ptr< weld::CheckButton > m_xParaStyleCB
std::unique_ptr< const IndexEntrySupplierWrapper > m_pIndexEntryWrapper
std::unique_ptr< weld::Widget > m_xIdxOptionsFrame
std::unique_ptr< SvxLanguageBox > m_xLanguageLB
OUString m_sAddStyleContent
std::unique_ptr< weld::Label > m_xCaptionSequenceFT
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
DECL_LINK(ModifySpinHdl, weld::SpinButton &, void)
std::unique_ptr< weld::CheckButton > m_xFromFileCB
std::unique_ptr< weld::Entry > m_xTitleED
std::unique_ptr< weld::Label > m_xDisplayTypeFT
std::unique_ptr< weld::Widget > m_xAreaFrame
DECL_LINK(MenuExecuteHdl, const OUString &, void)
std::unique_ptr< weld::Label > m_xTypeFT
DECL_LINK(RadioButtonHdl, weld::Toggleable &, void)
std::unique_ptr< weld::CheckButton > m_xAddStylesCB
DECL_LINK(TOXTypeHdl, weld::ComboBox &, void)
virtual ~SwTOXSelectTabPage() override
std::unique_ptr< weld::ComboBox > m_xSortAlgorithmLB
std::unique_ptr< weld::CheckButton > m_xFromFramesCB
std::unique_ptr< weld::CheckButton > m_xUseDashCB
std::unique_ptr< weld::CheckButton > m_xSequenceCB
std::unique_ptr< weld::ComboBox > m_xBracketLB
std::unique_ptr< IndexEntryResource > m_pIndexRes
std::unique_ptr< weld::CheckButton > m_xTOXMarksCB
std::unique_ptr< weld::CheckButton > m_xFromOLECB
DECL_LINK(MenuEnableHdl, weld::Toggleable &, void)
void ApplyTOXDescription()
std::unique_ptr< weld::CheckButton > m_xCollectSameCB
void FillTOXDescription()
DECL_LINK(CheckBoxHdl, weld::Toggleable &, void)
virtual void Reset(const SfxItemSet *) override
std::unique_ptr< weld::CheckButton > m_xLevelFromChapterCB
SwTOXSelectTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rAttrSet)
std::unique_ptr< weld::CheckButton > m_xKeyAsEntryCB
std::unique_ptr< weld::CheckButton > m_xStylesCB
std::unique_ptr< weld::TreeView > m_xFromObjCLB
void SetWrtShell(SwWrtShell const &rSh)
std::unique_ptr< weld::ComboBox > m_xTypeLB
std::unique_ptr< weld::ComboBox > m_xAreaLB
std::unique_ptr< weld::Widget > m_xAuthorityFrame
DECL_LINK(LanguageListBoxHdl, weld::ComboBox &, void)
std::unique_ptr< weld::MenuButton > m_xAutoMarkPB
std::unique_ptr< weld::CheckButton > m_xReadOnlyCB
void SelectType(TOXTypes eSet)
virtual void ActivatePage(const SfxItemSet &) override
std::unique_ptr< weld::ComboBox > m_xParaStyleLB
std::unique_ptr< weld::SpinButton > m_xLevelNF
std::unique_ptr< weld::Widget > m_xSortFrame
virtual bool FillItemSet(SfxItemSet *) override
std::unique_ptr< weld::Widget > m_xLevelFT
std::unique_ptr< weld::CheckButton > m_xFromGraphicsCB
std::unique_ptr< weld::Widget > m_xCreateFrame
std::unique_ptr< weld::CheckButton > m_xUseFFCB
DECL_LINK(ModifyListBoxHdl, weld::ComboBox &, void)
DECL_LINK(AddStylesHdl, weld::Button &, void)
SwTOXStylesTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rAttrSet)
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
DECL_LINK(DoubleClickHdl, weld::TreeView &, bool)
std::unique_ptr< weld::Button > m_xAssignBT
virtual void Reset(const SfxItemSet *) override
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
std::unique_ptr< SwForm > m_pCurrentForm
virtual bool FillItemSet(SfxItemSet *) override
std::unique_ptr< weld::Button > m_xEditStyleBT
virtual ~SwTOXStylesTabPage() override
DECL_LINK(EnableSelectHdl, weld::TreeView &, void)
DECL_LINK(AssignHdl, weld::Button &, void)
virtual void ActivatePage(const SfxItemSet &) override
std::unique_ptr< weld::TreeView > m_xLevelLB
std::unique_ptr< weld::Button > m_xStdBT
DECL_LINK(StdHdl, weld::Button &, void)
DECL_LINK(EditStyleHdl, weld::Button &, void)
std::unique_ptr< weld::TreeView > m_xParaLayLB
std::unique_ptr< weld::Container > m_xCtrlParentWin
OUString m_sAdditionalAccnameString3
std::unique_ptr< weld::ScrolledWindow > m_xScrollWin
std::vector< std::unique_ptr< SwTOXWidget > > m_aControlList
DECL_LINK(NextItemHdl, SwTOXEdit &, void)
void RemoveControl(const SwTOXButton *pDel, bool bInternalCall=false)
Link< SwFormToken &, void > m_aButtonSelectedHdl
OUString m_sAdditionalAccnameString1
weld::Container * get_child_container()
void SetButtonSelectedHdl(const Link< SwFormToken &, void > &rLink)
void SetForm(SwForm &rForm, sal_uInt16 nLevel)
DECL_LINK(EditResize, SwTOXEdit &, void)
void SetModifyHdl(const Link< LinkParamNone *, void > &rLink)
DECL_LINK(TbxFocusBtnHdl, SwTOXWidget &, void)
OUString GetPattern() const
SwTOXWidget * GetActiveControl()
OUString m_aButtonHelpTexts[TOKEN_END]
sal_uInt32 GetControlIndex(FormTokenType eType) const
OUString m_sAccessibleName
void SetFocus2theAllBtn()
SwTokenWindow(std::unique_ptr< weld::Container > xParent)
SwTOXWidget * InsertItem(const OUString &rText, const SwFormToken &aToken)
std::unique_ptr< weld::Container > m_xContainer
void SetTabPage(SwTOXEntryTabPage *pParent)
OUString CreateQuickHelp(const SwFormToken &rToken)
std::unique_ptr< weld::Button > m_xLeftScrollWin
void SetActiveControl(SwTOXWidget *pSet)
void InsertAtSelection(const SwFormToken &aToken)
std::unique_ptr< weld::Builder > m_xBuilder
bool Contains(FormTokenType) const
void MoveControls(tools::Long nOffset)
SwTOXEntryTabPage * m_pParent
OUString m_aButtonTexts[TOKEN_END]
Idle m_aAdjustPositionsIdle
OUString m_sAdditionalAccnameString2
std::unique_ptr< weld::Container > m_xParentWidget
Link< LinkParamNone *, void > m_aModifyHdl
DECL_LINK(AdjustPositionsHdl, const Size &, void)
DECL_LINK(TbxFocusHdl, SwTOXWidget &, void)
std::unique_ptr< weld::Button > m_xRightScrollWin
SwTOXWidget * m_pActiveCtrl
DECL_LINK(NextItemBtnHdl, SwTOXButton &, void)
DECL_LINK(ScrollBtnHdl, weld::Button &, void)
sal_uInt16 GetLastLevel() const
DECL_LINK(ScrollHdl, weld::ScrolledWindow &, void)
Used by the UI to modify the document model.
css::uno::Reference< css::text::XDocumentIndex > xDocumentIndex
css::uno::Reference< css::text::XTextSection > xContainerSection
std::unique_ptr< SwForm > m_pForm
std::unique_ptr< SwTOXDescription > m_pDescription
std::optional< SwIndexSections_Impl > m_oIndexSections
constexpr sal_uInt8 MAXLEVEL