com.elovirta.ooxml
com.elovirta.ooxml copied to clipboard
Inkscape based SVG to EMF conversion converts all SVG files in subdirs
The Inkscape based SVG to EMF conversion converts all SVG files in all subdirectories. It does not matter, whether the SVG file is referenced in a map or topic.
By having a custom task to handle SVG conversion, dependency to ant-contrib could probably be removed.
Investigated this and the simplest solutions seems to add a task after merge and there
- parse merged file
- for each SVG reference
- convert SVG to EMF into temp media output directory
- change SVG refence into EMF reference