| Summary: | Add option to export slides from Impress as SVG without JavaScript | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | skierpage <info> |
| Component: | Impress | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | NEW --- | ||
| Severity: | enhancement | CC: | aron.budea, heiko.tietze, ilmari.lauhakangas |
| Priority: | medium | Keywords: | needsDevAdvice |
| Version: | 7.3.1.3 release | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://bugs.documentfoundation.org/show_bug.cgi?id=117708 https://bugs.documentfoundation.org/show_bug.cgi?id=105641 |
||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 111450 | ||
| Attachments: |
simple slide whose "TEXT ON MASTER SLIDE" doesn't appear in Inkscape when exported as SVG
simple slide exported as SVG whose "TEXT ON MASTER SLIDE" doesn't appear in Inkscape and doesn't work without JavaScript |
||
|
Description
skierpage
2022-03-05 03:35:03 UTC
Created attachment 178977 [details]
simple slide whose "TEXT ON MASTER SLIDE" doesn't appear in Inkscape when exported as SVG
Created attachment 178979 [details]
simple slide exported as SVG whose "TEXT ON MASTER SLIDE" doesn't appear in Inkscape and doesn't work without JavaScript
This simple slide exported from Libre Office Impress has 450 kB of JavaScript in it, and won't render properly unless the SVG viewer runs the script.
A slide exported from Impress as SVG also won't preview in the KDE Dolphin file manager, and the cairosvg converter converts it to a blank PNG, and you can't upload it to Wikipedia; all because it contains 450 kB of JavaScript. If this is implemented as optional, it seems the export dialog envisioned in bug 117708 would be a good way to present all the options. (In reply to skierpage from comment #0) > The SVG should Just Work. There's no animation, there is only a single > slide, so there's no reason to require JavaScript. The behavior is > counterintuitive. All the visual elements you see in Impress are in the SVG, > they're just hidden and nested. My first thought was to make it optional, which seems to be a fact according comment 4. But actually I don't see such an option in ooO.Common.Filter.Graphic.Export.SVG. => needsDevAdvice See also the potential duplicate bug 105641 "export of single objects should produce SVG without javascript" with a preliminary patch. |