summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNickWingate <nick.wingate@collabora.com>2023-08-29 15:31:08 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-21 10:49:16 +0100
commit13bd849f60286c49457c290218e5b7acf9cadba8 (patch)
tree3e455d3bec6870eb648ed36257552fc1c4fc5245 /sw
parentdac88850909eb337cfaf96963fa4bffa91470381 (diff)
Add export sheet range option to calc
User can specify which sheets to export e.g. '2-5,7' exports sheets 2,3,4,5,7. Note: this is different from exporting pages as one sheet may contain several pages worth of content. Also fix a bug where exporting only a selected sheet causes the next sheet to be exported. e.g.: Sheet 1 is empty, Sheet 2 has content. Exporting Sheet 1 results in Sheet 2's content being exported Signed-off-by: NickWingate <nick.wingate@collabora.com> Change-Id: Iecd42188ddbbbcd70eb37bec80783e29e3cb5b19 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156255 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159686 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/uitest/writer_tests4/exportToPDF.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/uitest/writer_tests4/exportToPDF.py b/sw/qa/uitest/writer_tests4/exportToPDF.py
index ef628d4eea68..a075e6a4c773 100644
--- a/sw/qa/uitest/writer_tests4/exportToPDF.py
+++ b/sw/qa/uitest/writer_tests4/exportToPDF.py
@@ -51,7 +51,7 @@ class exportToPDF(UITestCase):
self.assertEqual("true", get_state_as_dict(xDialog.getChild(child))['Checked'])
nonCheckedChildren = ['changecomment', 'changeform', 'changeinsdel', 'changenone', 'contfacinglayout', 'contlayout', 'fitvis',
- 'fitwidth', 'fitwin', 'fitzoom', 'losslesscompress', 'openinternet', 'openpdf', 'pageonly', 'printlow', 'printnone', 'range',
+ 'fitwidth', 'fitwin', 'fitzoom', 'losslesscompress', 'openinternet', 'openpdf', 'pageonly', 'printlow', 'printnone', 'pagerange',
'selection', 'singlelayout', 'thumbs', 'visiblebookmark']
for child in nonCheckedChildren: