diff options
author | Justin Luth <justin.luth@collabora.com> | 2023-04-25 16:45:52 -0400 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-04-26 09:35:31 +0200 |
commit | f6f14b98b8be8319c810708e73cffdb189c467ca (patch) | |
tree | 6e7014df6234f24dcc2bb836e3941c1edcf75609 /sw/inc/swabstdlg.hxx | |
parent | 8d0acd88214180f93cd09730baa1ed9a8169e987 (diff) |
tdf#86630 sw page number wizard: set page style numbering type
Giving the user the opportunity to change the number type
is rather important. Well, maybe not too critical since I
assume that the default page number style is relatively accurate
for each locale, and at least for English we always just
use numbers for the page style.
However, a wizard is the perfect place to expose such a setting,
otherwise it is buried in page style settings - far from
where anyone would look when inserting a page number.
Change-Id: I9053504fa55d16ebf5424946b480cb044b79988c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151005
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/inc/swabstdlg.hxx')
-rw-r--r-- | sw/inc/swabstdlg.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/inc/swabstdlg.hxx b/sw/inc/swabstdlg.hxx index cbe4cd9aaf80..9749539c5643 100644 --- a/sw/inc/swabstdlg.hxx +++ b/sw/inc/swabstdlg.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_INC_SWABSTDLG_HXX #define INCLUDED_SW_INC_SWABSTDLG_HXX +#include <editeng/svxenum.hxx> #include <rtl/ustring.hxx> #include <sfx2/sfxdlg.hxx> #include <com/sun/star/uno/Reference.h> @@ -237,6 +238,8 @@ protected: public: virtual int GetPageNumberPosition() const = 0; virtual int GetPageNumberAlignment() const = 0; + virtual SvxNumType GetPageNumberType() const = 0; + virtual void SetPageNumberType(SvxNumType nSet) = 0; }; /** |