diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-10-18 13:00:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-10-20 13:52:34 +0200 |
commit | 8947c9b1d8cd407131fdfb6fc3c77c8532e9d2a0 (patch) | |
tree | f47becc099d139ae601fc41d9e8f49f24672f0e0 /include | |
parent | b361413eef7e46f340d921708faca9986c63c9f8 (diff) |
weld SchAttribTabDlg
Change-Id: Ia53547b7b42a3ff8848085ab8f8d214259d5cc7b
Reviewed-on: https://gerrit.libreoffice.org/61959
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/tabdlg.hxx | 15 | ||||
-rw-r--r-- | include/vcl/weld.hxx | 1 |
2 files changed, 13 insertions, 3 deletions
diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx index 79748b30afe9..d46d243f4252 100644 --- a/include/sfx2/tabdlg.hxx +++ b/include/sfx2/tabdlg.hxx @@ -262,12 +262,21 @@ public: const SfxItemSet * = nullptr, bool bEditFmt = false); virtual ~SfxTabDialogController() override; - void AddTabPage(const OString& rName, // Name of the label for the page in the notebook .ui + void AddTabPage(const OString& rName, // Name of the label for the existing page in the notebook .ui CreateTabPage pCreateFunc, // != 0 GetTabPageRanges pRangesFunc); // can be 0 - void AddTabPage(const OString &rName, // Name of the label for the page in the notebook .ui - sal_uInt16 nPageCreateId); // Identifier of the Factory Method to create the page + void AddTabPage(const OString& rName, // Name of the label for the existing page in the notebook .ui + sal_uInt16 nPageCreateId); // Identifier of the Factory Method to create the page + + void AddTabPage(const OString& rName, // Name of the label for the new page to create + const OUString& rLabel, // UI Label for the new page to create + CreateTabPage pCreateFunc, // != 0 + GetTabPageRanges pRangesFunc); // can be 0 + + void AddTabPage(const OString& rName, // Name of the label for the new page to create + const OUString& rLabel, // UI Label for the new page to create + sal_uInt16 nPageCreateId); // Identifier of the Factory Method to create the page void RemoveTabPage( const OString& rName ); // Name of the label for the page in the notebook .ui diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index 93e3e6a0c5e6..c854468ffa5b 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -175,6 +175,7 @@ public: virtual void set_current_page(int nPage) = 0; virtual void set_current_page(const OString& rIdent) = 0; virtual void remove_page(const OString& rIdent) = 0; + virtual void append_page(const OString& rIdent, const OUString& rLabel) = 0; virtual OUString get_tab_label_text(const OString& rIdent) const = 0; virtual int get_n_pages() const = 0; virtual weld::Container* get_page(const OString& rIdent) const = 0; |