diff options
author | Justin Luth <jluth@mail.com> | 2024-06-21 10:42:08 -0400 |
---|---|---|
committer | Justin Luth <jluth@mail.com> | 2024-07-03 16:44:26 +0200 |
commit | 433c4180acd5c5a699e71ab2f749713db36dc165 (patch) | |
tree | 1b9badb156ec7950d1681079d59d028f74bd1d6c /sw/inc | |
parent | 79a77bba092dce84f7fee3e72da9600ec2d1bd2b (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/+/169349
Tested-by: Jenkins
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 1d205f18624f..d6a5dbb90eac 100644 --- a/sw/inc/swabstdlg.hxx +++ b/sw/inc/swabstdlg.hxx @@ -241,6 +241,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; }; |