- Timestamp:
- 07/28/10 18:07:17 (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docx4j/src/pptx4j/java/org/pptx4j/convert/out/svginhtml/SvgExporter.java
r1096 r1179 51 51 public class SvgExporter { 52 52 53 // NB: file suffix must end with .xhtml in order to see the SVG in a browser 54 53 55 protected static Logger log = Logger.getLogger(SvgExporter.class); 54 56 55 static JAXBContext jcSVG;57 public static JAXBContext jcSVG; 56 58 static ObjectFactory oFactory; 57 59 static Templates xslt; … … 71 73 } 72 74 75 private static String imageDirPath; 76 public static void setImageDirPath(String _imageDirPath) { 77 imageDirPath = _imageDirPath; 78 } 79 73 80 public static void svg(PresentationMLPackage presentationMLPackage, 74 81 ResolvedLayout layout) throws Exception { … … 96 103 htmlSettings.setWmlPackage(presentationMLPackage); 97 104 htmlSettings.getSettings().put("resolvedLayout", layout); 105 htmlSettings.getSettings().put("imageDirPath", imageDirPath); 98 106 99 107 org.docx4j.XmlUtils.transform(doc, xslt, htmlSettings.getSettings(), result);
Note: See TracChangeset
for help on using the changeset viewer.
