LibreOffice Module sw (master) 1
|
#include <outline.hxx>
Public Member Functions | |
SwOutlineTabDialog (weld::Window *pParent, const SfxItemSet *pSwItemSet, SwWrtShell &) | |
virtual | ~SwOutlineTabDialog () override |
SwNumRule * | GetNumRule () |
sal_uInt16 | GetLevel (std::u16string_view rFormatName) const |
OUString * | GetCollNames () |
Public Member Functions inherited from SfxTabDialogController | |
SfxTabDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *=nullptr, bool bEditFmt=false) | |
virtual | ~SfxTabDialogController () override |
void | AddTabPage (const OUString &rName, CreateTabPage pCreateFunc, GetTabPageRanges pRangesFunc) |
void | AddTabPage (const OUString &rName, sal_uInt16 nPageCreateId) |
void | AddTabPage (const OUString &rName, const OUString &rLabel, CreateTabPage pCreateFunc) |
void | AddTabPage (const OUString &rName, const OUString &rLabel, sal_uInt16 nPageCreateId) |
void | RemoveTabPage (const OUString &rName) |
void | SetCurPageId (const OUString &rName) |
void | ShowPage (const OUString &rName) |
OUString | GetCurPageId () const |
SfxTabPage * | GetCurTabPage () const |
const WhichRangesContainer & | GetInputRanges (const SfxItemPool &) |
void | SetInputSet (const SfxItemSet *pInSet) |
const SfxItemSet * | GetOutputItemSet () const |
virtual weld::Button & | GetOKButton () const override |
weld::Button & | GetCancelButton () const |
weld::Button * | GetUserButton () const |
weld::Button * | GetStandardButton () const |
weld::Button * | GetApplyButton () const |
weld::Button * | GetResetButton () const |
void | RemoveResetButton () |
void | RemoveStandardButton () |
virtual short | run () override |
virtual const SfxItemSet * | GetExampleSet () const override |
void | SetApplyHandler (const Link< weld::Button &, void > &_rHdl) |
bool | Apply () |
void | Applied () |
std::vector< OUString > | getAllPageUIXMLDescriptions () const |
bool | selectPageByUIXMLDescription (const OUString &rUIXMLDescription) |
BitmapEx | createScreenshot () const |
OUString | GetScreenshotId () const |
Public Member Functions inherited from SfxOkDialogController | |
SfxOkDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID) | |
virtual weld::Button & | GetOKButton () const=0 |
virtual const SfxItemSet * | GetExampleSet () const=0 |
Public Member Functions inherited from SfxDialogController | |
SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId) | |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | ChildWinDispose () |
virtual void | Close () |
virtual void | EndDialog (int nResponse) |
virtual bool | CloseOnHide () const |
Static Public Member Functions | |
static sal_uInt16 | GetActNumLevel () |
static void | SetActNumLevel (sal_uInt16 nSet) |
Static Public Member Functions inherited from SfxTabDialogController | |
static bool | runAsync (const std::shared_ptr< SfxTabDialogController > &rController, const std::function< void(sal_Int32)> &) |
Private Member Functions | |
DECL_LINK (CancelHdl, weld::Button &, void) | |
DECL_LINK (FormHdl, weld::Toggleable &, void) | |
DECL_LINK (MenuSelectHdl, const OUString &, void) | |
virtual void | PageCreated (const OUString &rPageId, SfxTabPage &rPage) override |
virtual short | Ok () override |
Private Attributes | |
OUString | m_aCollNames [MAXLEVEL] |
SwWrtShell & | m_rWrtSh |
std::unique_ptr< SwNumRule > | m_xNumRule |
SwChapterNumRules * | m_pChapterNumRules |
bool | m_bModified: 1 |
std::unique_ptr< weld::MenuButton > | m_xMenuButton |
Static Private Attributes | |
static sal_uInt16 | s_nNumLevel = 1 |
Additional Inherited Members | |
Protected Member Functions inherited from SfxTabDialogController | |
DECL_LINK (OkHdl, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (ResetHdl, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (BaseFmtHdl, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (UserHdl, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (CancelHdl, weld::Button &, void) | |
virtual short | Ok () |
virtual void | RefreshInputSet () |
virtual SfxItemSet * | CreateInputItemSet (const OUString &rName) |
virtual void | PageCreated (const OUString &rName, SfxTabPage &rPage) |
virtual void | ActivatePage (const OUString &rPage) |
bool | DeactivatePage (std::u16string_view aPage) |
SfxItemSet * | GetInputSetImpl () |
SfxTabPage * | GetTabPage (std::u16string_view rPageId) const |
bool | PrepareLeaveCurrentPage () |
void | SavePosAndId () |
Protected Attributes inherited from SfxTabDialogController | |
std::unique_ptr< weld::Notebook > | m_xTabCtrl |
std::unique_ptr< SfxItemSet > | m_xExampleSet |
Definition at line 33 of file outline.hxx.
SwOutlineTabDialog::SwOutlineTabDialog | ( | weld::Window * | pParent, |
const SfxItemSet * | pSwItemSet, | ||
SwWrtShell & | rSh | ||
) |
Definition at line 143 of file outline.cxx.
References SfxTabDialogController::AddTabPage(), weld::Button::connect_clicked(), SwNumPositionTabPage::Create(), SwOutlineSettingsTabPage::Create(), SwTextFormatColl::GetAssignedOutlineStyleLevel(), SfxTabDialogController::GetCancelButton(), SwViewShell::getIDocumentOutlineNodesAccess(), SwFormat::GetName(), IDocumentOutlineNodes::getOutlineLevel(), SwEditShell::GetOutlineNumRule(), SwCursorShell::GetOutlinePos(), SwWrtShell::GetParaStyle(), SwEditShell::GetTextFormatColl(), SwEditShell::GetTextFormatCollCount(), SwStyleNameMapper::GetUIName(), i, SwTextFormatColl::IsAssignedToListLevelOfOutlineStyle(), SwFormat::IsDefault(), LINK, m_aCollNames, m_rWrtSh, m_xMenuButton, m_xNumRule, MAXLEVEL, nCount, SwOutlineNodes::npos, RES_POOLCOLL_HEADLINE1, and SetActNumLevel().
|
overridevirtual |
Definition at line 195 of file outline.cxx.
|
private |
|
private |
|
private |
|
inlinestatic |
Definition at line 63 of file outline.hxx.
References s_nNumLevel.
Referenced by SwNumPositionTabPage::ActivatePage(), SwOutlineSettingsTabPage::ActivatePage(), and SwNumPositionTabPage::Reset().
|
inline |
Definition at line 61 of file outline.hxx.
References m_aCollNames.
sal_uInt16 SwOutlineTabDialog::GetLevel | ( | std::u16string_view | rFormatName | ) | const |
Definition at line 298 of file outline.cxx.
References i, m_aCollNames, and MAXLEVEL.
Referenced by Ok().
|
inline |
Definition at line 59 of file outline.hxx.
References m_xNumRule.
Referenced by SwNumPositionTabPage::FillItemSet(), and SwNumPositionTabPage::Reset().
|
overrideprivatevirtual |
Reimplemented from SfxTabDialogController.
Definition at line 308 of file outline.cxx.
References SwTextFormatColl::AssignToListLevelOfOutlineStyle(), SwTextFormatColl::DeleteAssignmentToListLevelOfOutlineStyle(), SwCursorShell::EndAction(), SwStyleNameMapper::FillUIName(), SwEditShell::FindTextFormatCollByName(), SwFormat::GetFormatAttr(), GetLevel(), SwFormat::GetName(), SwNumRule::GetName(), SwEditShell::GetOutlineNumRule(), SwWrtShell::GetParaStyle(), SwWrtShell::GETSTYLE_CREATESOME, SwEditShell::GetTextCollFromPool(), SwEditShell::GetTextFormatColl(), SwEditShell::GetTextFormatCollCount(), GetValue, i, SwTextFormatColl::IsAssignedToListLevelOfOutlineStyle(), SwFormat::IsDefault(), m_aCollNames, m_rWrtSh, m_xNumRule, MAXLEVEL, nCount, SfxTabDialogController::Ok(), RES_PARATR_NUMRULE(), RES_POOLCOLL_HEADLINE1, SwTextFormatColl::ResetFormatAttr(), RET_OK, SwTextFormatColl::SetFormatAttr(), SwEditShell::SetOutlineNumRule(), and SwCursorShell::StartAction().
|
overrideprivatevirtual |
Reimplemented from SfxTabDialogController.
Definition at line 199 of file outline.cxx.
References m_rWrtSh.
|
inlinestatic |
Definition at line 64 of file outline.hxx.
References s_nNumLevel.
Referenced by SwNumPositionTabPage::DeactivatePage(), SwOutlineSettingsTabPage::DeactivatePage(), and SwOutlineTabDialog().
|
private |
Definition at line 38 of file outline.hxx.
Referenced by GetCollNames(), GetLevel(), Ok(), and SwOutlineTabDialog().
|
private |
Definition at line 44 of file outline.hxx.
|
private |
Definition at line 42 of file outline.hxx.
|
private |
Definition at line 40 of file outline.hxx.
Referenced by Ok(), PageCreated(), and SwOutlineTabDialog().
|
private |
Definition at line 46 of file outline.hxx.
Referenced by SwOutlineTabDialog().
|
private |
Definition at line 41 of file outline.hxx.
Referenced by GetNumRule(), Ok(), and SwOutlineTabDialog().
|
staticprivate |
Definition at line 35 of file outline.hxx.
Referenced by GetActNumLevel(), and SetActNumLevel().