diff options
author | Justin Luth <jluth@mail.com> | 2024-06-21 10:42:08 -0400 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2024-07-03 15:40:45 +0200 |
commit | 4e7ac2acefc8cedf95be03d3145b6ef2e6027767 (patch) | |
tree | 63acf91be048be2d5ff27631af856e6f69bd52d7 /sw/inc | |
parent | 574d5ce168cd0f628a361cd0689039daf8b82387 (diff) |
tdf#161646 sw page number wizard: fit into existing margins
Often page numbers are inserted when a document is finished,
and at that point it would be annoying to repaginate everything,
so offer this option of trying to fit the page number
into the existing margins.
I was tempted to enable it by default,
except that it would then mismatch any pages
that had header/footers created via other methods.
Problem:
-how to know which font is really needed: western, CTL, CJK?
This patch depends on NFC b7fce2b26ee4ba585544457adc742807a2129d2c
Change-Id: I285a99f8e2f12c87a8bdee20a9c86a1d79f80dd0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169827
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/swabstdlg.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/swabstdlg.hxx b/sw/inc/swabstdlg.hxx index a9ceb855b337..1f147255d6d8 100644 --- a/sw/inc/swabstdlg.hxx +++ b/sw/inc/swabstdlg.hxx @@ -240,6 +240,7 @@ public: virtual int GetPageNumberAlignment() const = 0; virtual bool GetMirrorOnEvenPages() const = 0; virtual bool GetIncludePageTotal() const = 0; + virtual bool GetFitIntoExistingMargins() const = 0; virtual SvxNumType GetPageNumberType() const = 0; virtual void SetPageNumberType(SvxNumType nSet) = 0; }; |