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 () |
![]() | |
SfxTabDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *=nullptr, bool bEditFmt=false) | |
virtual | ~SfxTabDialogController () override |
void | AddTabPage (const OString &rName, CreateTabPage pCreateFunc, GetTabPageRanges pRangesFunc) |
void | AddTabPage (const OString &rName, sal_uInt16 nPageCreateId) |
void | AddTabPage (const OString &rName, const OUString &rLabel, CreateTabPage pCreateFunc) |
void | AddTabPage (const OString &rName, const OUString &rLabel, sal_uInt16 nPageCreateId) |
void | RemoveTabPage (const OString &rName) |
void | SetCurPageId (const OString &rName) |
void | ShowPage (const OString &rName) |
OString | 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< OString > | getAllPageUIXMLDescriptions () const |
bool | selectPageByUIXMLDescription (const OString &rUIXMLDescription) |
BitmapEx | createScreenshot () const |
OString | GetScreenshotId () const |
![]() | |
SfxOkDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OString &rID) | |
virtual weld::Button & | GetOKButton () const=0 |
virtual const SfxItemSet * | GetExampleSet () const=0 |
![]() | |
SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId) | |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | ChildWinDispose () |
virtual void | Close () |
virtual void | EndDialog (int nResponse) |
Static Public Member Functions | |
static sal_uInt16 | GetActNumLevel () |
static void | SetActNumLevel (sal_uInt16 nSet) |
![]() | |
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 OString &, void) | |
virtual void | PageCreated (const OString &rPageId, SfxTabPage &rPage) override |
virtual short | Ok () override |
Private Attributes | |
OUString | aCollNames [MAXLEVEL] |
SwWrtShell & | rWrtSh |
std::unique_ptr< SwNumRule > | xNumRule |
SwChapterNumRules * | pChapterNumRules |
bool | bModified: 1 |
std::unique_ptr< weld::MenuButton > | m_xMenuButton |
Static Private Attributes | |
static sal_uInt16 | nNumLevel = 1 |
Additional Inherited Members | |
![]() | |
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 OString &rName) |
virtual void | PageCreated (const OString &rName, SfxTabPage &rPage) |
SfxItemSet * | GetInputSetImpl () |
SfxTabPage * | GetTabPage (std::string_view rPageId) const |
bool | PrepareLeaveCurrentPage () |
void | SavePosAndId () |
![]() | |
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 141 of file outline.cxx.
References aCollNames, SfxTabDialogController::AddTabPage(), weld::Button::connect_clicked(), SwNumPositionTabPage::Create(), SwOutlineSettingsTabPage::Create(), SwTextFormatColl::GetAssignedOutlineStyleLevel(), SfxTabDialogController::GetCancelButton(), SwFormat::GetName(), SwEditShell::GetOutlineNumRule(), SwWrtShell::GetParaStyle(), SwEditShell::GetTextFormatColl(), SwEditShell::GetTextFormatCollCount(), SwStyleNameMapper::GetUIName(), i, SwTextFormatColl::IsAssignedToListLevelOfOutlineStyle(), SwFormat::IsDefault(), LINK, m_xMenuButton, MAXLEVEL, nCount, RES_POOLCOLL_HEADLINE1, rWrtSh, and xNumRule.
|
overridevirtual |
Definition at line 186 of file outline.cxx.
|
private |
|
private |
|
private |
|
inlinestatic |
Definition at line 62 of file outline.hxx.
References nNumLevel.
Referenced by SwNumPositionTabPage::ActivatePage(), SwOutlineSettingsTabPage::ActivatePage(), and SwNumPositionTabPage::Reset().
|
inline |
Definition at line 60 of file outline.hxx.
References aCollNames.
sal_uInt16 SwOutlineTabDialog::GetLevel | ( | std::u16string_view | rFormatName | ) | const |
Definition at line 289 of file outline.cxx.
References aCollNames, i, and MAXLEVEL.
Referenced by Ok().
|
inline |
Definition at line 58 of file outline.hxx.
References xNumRule.
Referenced by SwNumPositionTabPage::FillItemSet(), and SwNumPositionTabPage::Reset().
|
overrideprivatevirtual |
Reimplemented from SfxTabDialogController.
Definition at line 299 of file outline.cxx.
References aCollNames, 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(), MAXLEVEL, nCount, SfxTabDialogController::Ok(), RES_PARATR_NUMRULE(), RES_POOLCOLL_HEADLINE1, SwTextFormatColl::ResetFormatAttr(), RET_OK, rWrtSh, SwTextFormatColl::SetFormatAttr(), SwEditShell::SetOutlineNumRule(), SwCursorShell::StartAction(), and xNumRule.
|
overrideprivatevirtual |
Reimplemented from SfxTabDialogController.
Definition at line 190 of file outline.cxx.
References rWrtSh.
|
inlinestatic |
Definition at line 63 of file outline.hxx.
References nNumLevel.
Referenced by SwNumPositionTabPage::DeactivatePage(), and SwOutlineSettingsTabPage::DeactivatePage().
|
private |
Definition at line 37 of file outline.hxx.
Referenced by GetCollNames(), GetLevel(), Ok(), and SwOutlineTabDialog().
|
private |
Definition at line 43 of file outline.hxx.
|
private |
Definition at line 45 of file outline.hxx.
Referenced by SwOutlineTabDialog().
|
staticprivate |
Definition at line 35 of file outline.hxx.
Referenced by GetActNumLevel(), and SetActNumLevel().
|
private |
Definition at line 41 of file outline.hxx.
|
private |
Definition at line 39 of file outline.hxx.
Referenced by Ok(), PageCreated(), and SwOutlineTabDialog().
|
private |
Definition at line 40 of file outline.hxx.
Referenced by GetNumRule(), Ok(), and SwOutlineTabDialog().