diff options
author | Eilidh McAdam <eilidh@lanedo.com> | 2013-11-02 20:35:44 +0000 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-11-04 09:40:03 -0600 |
commit | 7e4f8eb5eff642c7fc8bfa665289d55a1c5b054b (patch) | |
tree | ecb84ba465c3721a5150a05af629f5c0a015ba3c /sc/inc/printopt.hxx | |
parent | Fix for Calc page scaling - see #i54993# (diff) | |
download | core-7e4f8eb5eff642c7fc8bfa665289d55a1c5b054b.tar.gz core-7e4f8eb5eff642c7fc8bfa665289d55a1c5b054b.zip |
fdo#40788: Allow manual breaks in Calc to be forced
If the scale settings specify that the print ranges must be scaled
across a specific number of pages, the default behaviour is to ignore
breaks to avoid the case where breaks force more pages than specified.
Here, an option under Calc -> Print -> Pages is added so that the user
can specify that manual row and column breaks should be forced.
Change-Id: I445cd7ce9e16e4ec2d0c320f059edad62b40f22d
Reviewed-on: https://gerrit.libreoffice.org/6531
Tested-by: Eike Rathke <erack@redhat.com>
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/inc/printopt.hxx')
-rw-r--r-- | sc/inc/printopt.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/inc/printopt.hxx b/sc/inc/printopt.hxx index 7148c68da3f9..ff1fd674d2fa 100644 --- a/sc/inc/printopt.hxx +++ b/sc/inc/printopt.hxx @@ -29,6 +29,7 @@ class SC_DLLPUBLIC ScPrintOptions private: sal_Bool bSkipEmpty; sal_Bool bAllSheets; + sal_Bool bForceBreaks; public: ScPrintOptions(); @@ -39,6 +40,8 @@ public: void SetSkipEmpty( sal_Bool bVal ) { bSkipEmpty = bVal; } sal_Bool GetAllSheets() const { return bAllSheets; } void SetAllSheets( sal_Bool bVal ) { bAllSheets = bVal; } + sal_Bool GetForceBreaks() const { return bForceBreaks; } + void SetForceBreaks( sal_Bool bVal ) { bForceBreaks = bVal; } void SetDefaults(); |