Bug 33243 - [SVG Export] Presentation placeholder texts are exported
Summary: [SVG Export] Presentation placeholder texts are exported
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Presentation (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Kurosawa Takeshi
QA Contact:
URL:
Whiteboard: target:4.2.0
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-18 06:39 UTC by Kurosawa Takeshi
Modified: 2014-01-24 23:09 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Original file with presentation placeholders (44.05 KB, application/vnd.oasis.opendocument.presentation)
2011-01-18 06:39 UTC, Kurosawa Takeshi
Details
Exported SVG which has presentation placeholders (47.30 KB, image/svg+xml)
2011-01-21 16:30 UTC, Kurosawa Takeshi
Details
Patch (4.88 KB, patch)
2011-01-21 16:38 UTC, Kurosawa Takeshi
Details | Splinter Review
Exported SVG with patch (40.47 KB, image/svg+xml)
2011-01-21 16:39 UTC, Kurosawa Takeshi
Details
Document to test bug (20.83 KB, application/vnd.oasis.opendocument.presentation)
2013-11-12 02:03 UTC, chtfn
Details

Description Kurosawa Takeshi 2011-01-18 06:39:42 UTC
Created attachment 42164 [details]
Original file with presentation placeholders

In impress, the SVG export filter exports the presentation placeholder texts of a master page.
However they are invisible in screen and shouldn't be exported.
Comment 1 Kurosawa Takeshi 2011-01-21 16:30:23 UTC
Created attachment 42294 [details]
Exported SVG which has presentation placeholders

For debugging purpose, the file is indented using xmllint
Comment 2 Kurosawa Takeshi 2011-01-21 16:38:42 UTC
Created attachment 42296 [details] [review]
Patch

If a shapes is neither a TitleTextPage or an OutlinerShape on a master page, mark it as a hide object.
The code is based on FlashExporter::exportShape.
Comment 3 Kurosawa Takeshi 2011-01-21 16:39:18 UTC
Created attachment 42297 [details]
Exported SVG with patch

The placeholders are not shown.
Comment 4 Roman Eisele 2012-05-03 08:37:34 UTC
This is an Impress bug, therefore changed Component accordingly.
Comment 5 Michael Stahl 2012-07-05 06:07:17 UTC
tbehrens, can you look at this SVG export patch?
Comment 6 ign_christian 2013-06-13 12:05:42 UTC
Has this bug been fixed?
Comment 7 chtfn 2013-11-12 02:01:05 UTC
I witness this bug in 4.1.2.3
I do not get the text when I export to jpg or png, I only get it in svg.
See attachment.
Comment 8 chtfn 2013-11-12 02:03:34 UTC
Created attachment 89063 [details]
Document to test bug

Export this document as svg. Text appears behind objects. This does not happen with jpg or png.
The text is invisible in the document, and is not selectable with the navigator or tab key.
Comment 9 ign_christian 2013-11-12 02:05:32 UTC
How about patch in comment 3 ? Perhaps that's been reviewed?
Comment 10 Thorsten Behrens 2013-11-16 00:29:58 UTC
Patch lifted on current code base & committed. Example docs look fine now -> fixed. Thanks a lot for the patch!
Comment 11 Commit Notification 2013-11-16 00:38:14 UTC
Kurosawa Takeshi committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=be7c599a125df6946c1b5a1233cda27740081273

fdo#33243 Fix SVG export presentation placeholder texts exported



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 12 chtfn 2014-01-24 23:09:16 UTC
This is still happening in 4.1.5 RC1. Is there any plans to add the patch for 4.1.6 or is it too dangerous?


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.