Ignore:
Timestamp:
07/28/10 18:07:17 (22 months ago)
Author:
jharrop
Message:

Basic support for images in pptx svg in html output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/src/pptx4j/java/org/pptx4j/samples/RenderAsSvgInHtml.java

    r1096 r1179  
    6565                        System.out.println( XmlUtils.marshaltoString(rl.getShapeTree(), false, true, Context.jcPML, 
    6666                                        "http://schemas.openxmlformats.org/presentationml/2006/main", "spTree", GroupShape.class) ); 
     67 
     68                        // Where to save images 
     69                        SvgExporter.setImageDirPath(System.getProperty("user.dir") + "/sample-docs/pptx/"); 
    6770                         
    6871                        SvgExporter.svg(presentationMLPackage, rl); 
     
    7073            } 
    7174                 
     75            // NB: file suffix must end with .xhtml in order to see the SVG in a browser 
    7276        }        
    7377         
Note: See TracChangeset for help on using the changeset viewer.