summaryrefslogtreecommitdiff
path: root/vcl/source/font
diff options
context:
space:
mode:
authorEilidh McAdam <eilidh.mcadam@itomig.de>2015-09-08 19:01:19 +0100
committerJan-Marek Glogowski <glogow@fbihome.de>2016-01-22 14:22:12 +0000
commit3c1a343f6936f1dcefdf79a677f8c26ce29676e6 (patch)
tree1e8a21c764ec489381d6d9c63dacba12e029cbe9 /vcl/source/font
parentdfbc2f37207f11a3bafb2c5ce0dea4fcc137e527 (diff)
tdf#89708 Adjust print page range for unprinted blank pages
Depending on whether automatically inserted blank pages are to be printed or not, the range of pages to print is expressed differently to the pages displayed in the preview in the Print dialog - i.e. the page range includes blank pages, whereas the preview doesn't (if blank pages are not to be printed). This patch adapts the range so that if blank pages are ignored upon printing, the range can be expressed across printable pages only, same as the Print dialog preview. An example is a merged document of several records into a single page letter or document - blanks are automatically put in between documents but usually aren't displayed/printed. Previously, printing page 2 would print the blank page between the 1st and 2nd merged document. After this change, printing page 2 will print the 2nd merged document instead. The "Pages" (print range) text box in the Print dialog defaults to the current page - this patch adjusts this when blanks are not to be printed so that it is expressed as the current page minus any blanks since the start of the document. Change-Id: Ic1d4d374a82c6f921bb41a97130838757c6b74b1 Reviewed-on: https://gerrit.libreoffice.org/18420 Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de> Tested-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl/source/font')
0 files changed, 0 insertions, 0 deletions