LibreOffice Module sw (master) 1
|
#include <regionsw.hxx>
Public Member Functions | |
SwInsertSectionTabDialog (weld::Window *pParent, const SfxItemSet &rSet, SwWrtShell &rSh) | |
virtual | ~SwInsertSectionTabDialog () override |
void | SetSectionData (SwSectionData const &rSect) |
SwSectionData * | GetSectionData () |
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 |
Private Member Functions | |
virtual void | PageCreated (const OUString &rId, SfxTabPage &rPage) override |
virtual short | Ok () override |
Private Attributes | |
SwWrtShell & | m_rWrtSh |
std::unique_ptr< SwSectionData > | m_pSectionData |
Additional Inherited Members | |
Static Public Member Functions inherited from SfxTabDialogController | |
static bool | runAsync (const std::shared_ptr< SfxTabDialogController > &rController, const std::function< void(sal_Int32)> &) |
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 228 of file regionsw.hxx.
SwInsertSectionTabDialog::SwInsertSectionTabDialog | ( | weld::Window * | pParent, |
const SfxItemSet & | rSet, | ||
SwWrtShell & | rSh | ||
) |
Definition at line 1374 of file uiregionsw.cxx.
References SfxTabDialogController::AddTabPage(), SfxAbstractDialogFactory::Create(), SwInsertSectionTabPage::Create(), SwSectionFootnoteEndTabPage::Create(), SwSectionIndentTabPage::Create(), SwColumnPage::Create(), SwView::GetDocShell(), SvxHtmlOptions::GetExportMode(), SfxAbstractDialogFactory::GetTabPageCreatorFunc(), SwWrtShell::GetView(), HTML_CFG_NS40, HTML_CFG_WRITER, SfxTabDialogController::RemoveTabPage(), rSet, and SfxTabDialogController::SetCurPageId().
|
overridevirtual |
Definition at line 1400 of file uiregionsw.cxx.
|
inline |
Definition at line 240 of file regionsw.hxx.
References m_pSectionData.
|
overrideprivatevirtual |
Reimplemented from SfxTabDialogController.
Definition at line 1430 of file uiregionsw.cxx.
References SfxRequest::AppendItem(), sfx2::cTokenSeparator, SfxRequest::Done(), FN_INSERT_REGION, FN_PARAM_REGION_CONDITION, FN_PARAM_REGION_EDIT_IN_READONLY, FN_PARAM_REGION_HIDDEN, FN_PARAM_REGION_NAME, FN_PARAM_REGION_PROTECT, SfxViewFrame::GetBindings(), SfxItemSet::GetItemIfSet(), SfxTabDialogController::GetOutputItemSet(), SfxBindings::GetRecorder(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SwEditShell::InsertSection(), m_pSectionData, m_rWrtSh, n, SfxTabDialogController::Ok(), and RES_COL().
|
overrideprivatevirtual |
Reimplemented from SfxTabDialogController.
Definition at line 1404 of file uiregionsw.cxx.
References SfxItemSet::Get(), SfxTabDialogController::GetInputSetImpl(), SvxSizeItem::GetWidth(), m_rWrtSh, SfxTabPage::PageCreated(), SfxItemSet::Put(), and RES_FRM_SIZE().
void SwInsertSectionTabDialog::SetSectionData | ( | SwSectionData const & | rSect | ) |
Definition at line 1425 of file uiregionsw.cxx.
References m_pSectionData.
|
private |
Definition at line 231 of file regionsw.hxx.
Referenced by GetSectionData(), Ok(), and SetSectionData().
|
private |
Definition at line 230 of file regionsw.hxx.
Referenced by Ok(), and PageCreated().