Issue 120175

Summary: SVG Export: fixed gradient export, added XInitialization interface, supporting TSpans
Product: Draw Reporter: Sven Jacobi <Sven-Jacobi>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CLOSED FIXED QA Contact:
Severity: Normal    
Priority: P3 CC: Armin.Le.Grand, rb.henschel
Version: 3.4.0   
Target Milestone: 4.0.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
svg export patch none

Description Sven Jacobi 2012-07-03 14:37:20 UTC

    
Comment 1 Sven Jacobi 2012-07-03 14:39:07 UTC
Created attachment 78567 [details]
svg export patch
Comment 2 Sven Jacobi 2012-07-03 14:44:47 UTC
Hi,

I added a patch that improves the svg export. 

- I fixed a down casting issue (gradient color)
- I added the XInitialization Interface, so that FilterData can be provided to the SVGWriter (used if exporting via GraphicProvider)
- I added tSpan (only available if not using the svg tiny profile), this is greatly reducing the size of the svg
- I added a default line width if exporting via GraphicExporter, so a zero linewidth should look much better now

Best regards,
Sven
Comment 3 Armin Le Grand 2012-07-06 15:53:06 UTC
ALG: Hi Sven, thanks for the changes! I'll have a look at them as soon as I'm back from vacation :-)
Comment 4 Armin Le Grand 2012-07-25 11:43:17 UTC
ALG: Looked at the patch, built, test exported, looks good.
Adding to trunk...
Comment 5 SVN Robot 2012-07-25 11:50:01 UTC
"alg" committed SVN revision 1365538 into trunk:
#120175# SVG export fixes and enhancementsPatch by: Sven JacobiReview by: alg
Comment 6 Armin Le Grand 2012-07-25 11:50:30 UTC
ALG: Done. Thanks again, Sven. Good Job!