Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 339336

Summary: [Diagram All] Unable to export diagrams as SVG, PDF, PNG
Product: [Modeling] Papyrus Reporter: Markus Lorenz <qsiaxoyn>
Component: DiagramAssignee: Project Inbox <mdt-papyrus-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Markus Lorenz CLA 2011-03-09 06:31:28 EST
Build Identifier: 20100617-1415

Papyrus 0.7.2.v201101191114

I got errors every time I try to export diagrams as SVG, PDF, or PNG images.

SVG error: "Copy Diagram to Image File could not be completed. Reason Could not initialize class org.apache.batik.dom.svg.SVGOMSVGElement"

PDF error: "Copy Diagram to Image File could not be completed. Reason Could not initialize class org.apache.batik.dom.svg.SVGOMSVGElement"

PNG error: "Copy Diagram to Image File could not be completed. Reason org/apache/batik/ext/awt/image/codec/PNGEncodeParam"


Reproducible: Always

Steps to Reproduce:
1. Create new papyrus project
2. Add block to model
3. Create internal block diagram for block
4. Right click diagram | File | Save As Image File...
5. Choose on of PDF/SVG/PNG
6. Click "OK"
Comment 1 Sébastien Gérard CLA 2013-03-13 11:04:54 EDT
Export to image is ok on the Kepler version even if the accessibility of the function may be improved. I will log an issue to improve that and close this task.