Created attachment 53651 [details] Diamond Shape generated by DRAW When an SVG picture is INSERTED into DRAW then the exported SVG picture is converted into a PNG (BITMAPPED/Raster Image). As an example, we tested the desired functionality in the Master: LibO-dev 3.5.0 Build ID: 8f87c3d-5d03837-adcf6d5-c4bb9bd On OSX 10.6.8 Located at: http://dev-builds.libreoffice.org/daily/MacOSX_10.6.7_Intel_no-moz/master/2011-11-16_01.40.47/ with master~2011-11-16_01.40.47_LibO-Dev_OOO350m1_MacOS_x86_install_en-US.dmg Steps to reproduce: 1. Start LibreOffice and choose File -> New -> Drawing. 2. Select Insert -> Picture -> From File... 3. Select Diamond Shape.svg (we used Diamond Shape generated by DRAW from BUG #43061) 4. Either modify the SVG picture (like resize it) or not. 5. Select File -> Export... 6. Enter a file name (we used Re-Saved Diamond Shape). 7. Choose File Type of SVG. 8. Save the SVG file. 9. Open the saved SVG file with any "robust" Text-Editor (Please see the SVG results below.) Expected results: The SVG picture will remain a SVG picture. Actual results: The re-saved SVG picture is converted to PNG. See the below sample of SVG code (notice that the SVG is now "data:image/png"): <image x="1349" y="1480" width="7019" height="9083" xlink:href="data:image/png;base64,...>
Created attachment 53652 [details] Diamond Shape SVG Re-saved by DRAW
This one is a DUP of "Bug 43065 - DRAW, WRITER, etc Modifies SVG "stroke-width", it describes an unavoidable consequence of the current behavior. The inserted picture is no longer a vector graphic, and so it can't become a vector graphic when exported. the exported reult only can be a vector svg view box with an embedded pixel picture. Further research will have to be done in Bug 43065 *** This bug has been marked as a duplicate of bug 43065 ***