Bug 97632 - Export PDF "selection" option do no work as "selection" option for other export (lack of trim)
Summary: Export PDF "selection" option do no work as "selection" option for other expo...
Status: RESOLVED DUPLICATE of bug 73657
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.0.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-08 09:35 UTC by Matthieu
Modified: 2016-02-12 15:26 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file that fail "selection" restricted the export (15.59 KB, application/vnd.oasis.opendocument.presentation)
2016-02-08 09:35 UTC, Matthieu
Details
pdf selection (44.02 KB, image/png)
2016-02-10 14:26 UTC, raal
Details
The exported pdf (15.76 KB, application/pdf)
2016-02-10 15:40 UTC, Matthieu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthieu 2016-02-08 09:35:03 UTC
Created attachment 122431 [details]
Example file that fail "selection" restricted the export

hi, way to reproduce !

* Open Impress
* Create a diagram with several object (e.g. square, connectors).
* Select several (all) objects in the sheet.
* Export to pdf using "selection" option.

=> the created PDF is not trimmed to the previously selected elements (complete sheet is exported).
Comment 1 raal 2016-02-10 14:26:28 UTC
Created attachment 122498 [details]
pdf selection

Hello,
you have to use File->Export to PDF-> check "selection". Are you doing these steps?

Works correct in LO 5.0.4.2
Comment 2 Matthieu 2016-02-10 14:33:43 UTC
Hello.

I do exactly that. 

Thus I am also selecting the option "compression without loss" (that change nothing), and I am in the french translation :).

The export works, but the exported sheet is not trimmed to selected elements.

My version is 5.0.2.2 as provided by Ubuntu with 15.10 64 bit.
Comment 3 raal 2016-02-10 15:31:56 UTC
(In reply to Matthieu from comment #2)
> Hello.
> 
> I do exactly that. 
> 
> Thus I am also selecting the option "compression without loss" (that change
> nothing), and I am in the french translation :).
> 
> The export works, but the exported sheet is not trimmed to selected elements.
> 
> My version is 5.0.2.2 as provided by Ubuntu with 15.10 64 bit.

Works for me with  5.0.2.2, ubuntu 15.10 64 bit.
Comment 4 Matthieu 2016-02-10 15:39:57 UTC
Excuse me but...O_o

Strange, I join the created PDF with the whole sheet and not only the selected objects (the diagram).
Comment 5 Matthieu 2016-02-10 15:40:54 UTC
Created attachment 122500 [details]
The exported pdf
Comment 6 Matthieu 2016-02-10 16:20:03 UTC
OK, thank to Raal, I will precise the issue in my opinion.

When select a set of elements, the export to pdf correctly only export the selected elements.

But it also export the rest of slid.

This behavior is incorrect in my opinion as an export to other format (e.g. svg) using the same option "selection" produce and image trimmed to selected elements.

In my opinion, the export to pdf using the "selection" option should produce a trimmed pdf document reduced to selected elements (act like export to svg for example).
Comment 7 Buovjaga 2016-02-12 15:26:08 UTC
I understand Impress and Draw have the same code in this area, so closing this as dupe of an older Draw report.

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