When trying to export a "selection" as SVG, the whole page is exported instead of the selected part (other export filters do it properly). Note: IMHO there should be an "export" component in bugzilla
The bug is still in LibreOffice 3.4.4 (Windows/XP).
I see the bug in LO3.5Beta3 on WinXP too.
*** Bug 43129 has been marked as a duplicate of this bug. ***
[Reproducible] with "LibreOffice Portable 3.3.0 - WIN7 Home Premium (64bit) German UI [OOO330m19 (Build:6) tag libreoffice-3.3.0.4]", too.
Back to list due to facts
Created attachment 65862 [details] Test Kit Attached you find a test kit. Steps to reproduce: 1. open "source.odg" 2. <control+a> 3. Menu 'File -> Export -> Selection -> Filetype .SVG - Name="MySVG.svg" -> <Save> > MySVG.svg" created Expected: only heating scheme visible Actual: all Page even with hidden contents visible 4. For comparison redo step 3, but export to .png > Export to PNG will respect selected area
So Inhterited from OOo, I modify OS due to AOOo bug without own tests. @Regina: Thank you for research
*** Bug 63804 has been marked as a duplicate of this bug. ***
I can confirm the problem in Version - 4.0.3.3 (Build ID: 0eaa50a932c8f2199a615e1eb30f7ac74279539) - 3.6.6.2 (Build ID: f969faf) for XP prof / SP3 I followed the procedure as Rainer described it in Comment 6 including the png test. However in my case the png-export also resulted in the export of the entire page. There is also a discussion thread in AskLibO http://ask.libreoffice.org/en/question/18611/what-is-the-best-way-to-draw-in-libreoffice-that/?comment=18701#comment-18701
Still present in 4.0.5.2. Close to celebrate the two years anniversary of this bug ;-)
Or eight years from https://issues.apache.org/ooo/show_bug.cgi?id=56084
Still present in 4.1.3...
Can we raise the importance (as done), because SVG is the only vector format Writer understands that can handle transparent colors. (I don't want to use PNG to import the stuff in Writer).
Yes, this is sort of pathetic. Over two years. I just opened a similar support ticket with EazyDraw (to allow that app to export just the selected items to SVG) and it was done in 2 *days*. Sadly, EazyDraw doesn't open .ODG files.
I would be happy to send a Mozilla Firefox sweatshirt to whoever closes this bug --- we're using LibreOffice Draw to create diagrams for the new Software Carpentry teaching materials (http://software-carpentry.org), and having to export SVG, load that into Inkscape, open document properties, resize the page to fit the image, then re-save is painful and error-prone. Please mail greg [at] mozillafoundation [dot] org to claim your shirt :-)
This bug is still present in LibreOffice 4.1.6.2.
Works for me on 4.3.3.2 (Debian Testing/Jessie)
Yep, works ok for me, too. Well, it does somehow produce a result, where the bottom is cut off at the level of the three-way valves, but that's another story. Win 7 Pro 64-bit, LibO Version: 4.4.1.2 Build ID: 45e2de17089c24a1fa810c8f975a7171ba4cd432 Locale: fi_FI
No it is not solved. It does not export the whole page, but it uses clip-paths where it should not. The result is, that the shape is cut. In AOO the bug is fixed in the meantime.
Created attachment 113861 [details] Source for tests Open the attached document and export the circle with checked "selection" to svg. Open the resulted file for example in browser Seamonkey or in Inkscape. Notice that the circle is cut to a rectangle, landscape shape on a background, which has the original size of the circle. BTW, the export adds a lot of not used stuff and so makes the svg source larger as necessary and confusing.
(In reply to Regina Henschel from comment #20) > Created attachment 113861 [details] > Source for tests > > Open the attached document and export the circle with checked "selection" to > svg. Open the resulted file for example in browser Seamonkey or in Inkscape. > Notice that the circle is cut to a rectangle, landscape shape on a > background, which has the original size of the circle. > > BTW, the export adds a lot of not used stuff and so makes the svg source > larger as necessary and confusing. Attachment 113861 [details] displays as a clipped circle to begin with in Firefox or Inkscape. In LibreOffice it opens as a full circle. Selecting the circle and exporting as selection, results in an SVG that displays as a full circle in Firefox, Inkscape & LibreOffice. Whatever the problem, it is not the original topic of this bug report. Win 7 Pro 64-bit, LibO Version: 4.4.1.2 Build ID: 45e2de17089c24a1fa810c8f975a7171ba4cd432 Locale: fi_FI
As far as I can see, - The originally reported bug has already been fixed *1. As of 4.3, exporting a selection to SVG appears to select an appropriate canvas size for the selection, not the whole drawing. - The unrelated bug mentioned in comment 18 which causes the test file to be incorrectly clipped at the bottom has already been raised as bug 90017. - The unrelated bug mentioned on comment 20 / comment 21 regarding clipping on import has been split into bug 90168. I don't see that there's anything more to do here, so closing. *1 It appears to have been this commit - so any T-shirts can be forwarded back to Apache commit de37aa18faf03da14dc453e843b1419edbedbfa9 Author: Armin Le Grand <alg@apache.org> AuthorDate: Mon Apr 7 14:58:01 2014 +0000 Commit: Caolán McNamara <caolanm@redhat.com> CommitDate: Tue Apr 8 15:22:00 2014 +0100 Resolves: #i124608# functionality to export only selected objects...