Bug 73657

Summary: PDF: Exporting selection as PDF
Product: LibreOffice Reporter: Joris Claassen <joris>
Component: DrawAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: minor CC: ilmari.lauhakangas, matthieu.perin
Priority: medium    
Version: 4.1.4.2 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=55317
Whiteboard: BSA Confirmed:4.2.0.2:Win7
Crash report or crash signature: Regression By:
Attachments: A selection of objects which should have been a small PDF file.
selection.odg
selection.pdf

Description Joris Claassen 2014-01-15 10:12:04 UTC
Created attachment 92129 [details]
A selection of objects which should have been a small PDF file.

Problem description: 
Exporting a Draw section as PDF does always generate a full page PDF file, instead of a smaller file (to include in a tex report). 

Steps to reproduce:
1. Create some objects
2. Select some or all objects
3. Export as PDF
4. Set range to Selection
5. Click Export

Current behavior:
PDF always is A4 size, no matter how big the selection

Expected behavior:
Create a PDF sized accordingly to the selection, as is the behavior when exporting as EPS (workaround, later converting EPS->PDF
Operating System: Ubuntu
Version: 4.1.4.2 release
Comment 1 retired 2014-01-15 11:42:42 UTC
Is this bug still valid / reproducible with the latest pre-release 4.2.0.2: http://www.libreoffice.org/download/pre-releases/

Please also try resetting your user profile and let us know if that helps: https://wiki.documentfoundation.org/UserProfile

Should this be still reproducible for you with the latest LO release please set this bug back to UNCONFIRMED. Should this issue be solved set it to WORKSFORME.

Setting to NEEDINFO until more detail is provided.

Also please attach a test Draw file so this can easily be reproduced.
Comment 2 Joris Claassen 2014-01-15 12:06:45 UTC
Created attachment 92138 [details]
selection.odg
Comment 3 Joris Claassen 2014-01-15 12:06:57 UTC
Created attachment 92139 [details]
selection.pdf
Comment 4 Joris Claassen 2014-01-15 12:08:26 UTC
I tested again using the newest LibreOffice 4.2 prerelease and a clean UserProfile. The results are the same, uploaded the created selection.odg and exported selection.pdf (created using 4.2).
Comment 5 Dominique Boutry 2014-01-16 09:37:31 UTC
Reproducible with LibO 4.2.0.2 on Win7.
Comment 6 retired 2014-01-16 10:10:24 UTC
Dominique, if you can reproduce the bug, please set it to new.

IF you want also add the according whiteboard status, in your case:
Confirmed:4.2.0.2:Win7
Comment 7 Joel Madero 2015-05-02 15:42:52 UTC Comment hidden (obsolete)
Comment 8 Buovjaga 2015-06-20 19:13:58 UTC
Still repro.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 3ecef8cedb215e49237a11607197edc91639bfcd
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-06-19_23:16:58
Locale: fi-FI (fi_FI)
Comment 9 Buovjaga 2016-02-12 15:26:08 UTC
*** Bug 97632 has been marked as a duplicate of this bug. ***
Comment 10 Matthieu 2016-02-13 10:18:25 UTC
Still present in LO 5.0.2.2 Linux ubuntu 64 release on Impress (same mechanism but with the output PDF "stuck"  in slide size).
Comment 11 Heiko Tietze 2016-05-10 09:55:26 UTC
(In reply to Tristan Miller from comment #5 at 40163)
> So for this bug to be fixed two changes must be made:
> 
> 1. The value of the "Selection" checkbox in the "Export" dialog must
> propagate to the subsequent "PDF Options" dialog.
> 
> 2. The page size of the exported PDF should match the size of the selection.

*** This bug has been marked as a duplicate of bug 40163 ***