Package org.pptx4j.samples
Class ShapesPresetToCustom
java.lang.Object
org.pptx4j.samples.ShapesPresetToCustom
Converts predefined shapes (eg <a:prstGeom prst="moon">) to equivalent a:custGeom.
See further http://blogs.msdn.com/b/openspecification/archive/2011/11/14/how-to-use-the-presetshapedefinitions-xml-file-and-fun-with-drawingml.aspx
Note: leftArrow corrupts the pptx, so it is not converted here. Someone motivated might explore why?
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ShapesPresetToCustom
public ShapesPresetToCustom()
-
-
Method Details
-
main
public static void main(String[] args) throws Docx4JException, Pptx4jException, jakarta.xml.bind.JAXBException - Throws:
Docx4JExceptionPptx4jExceptionjakarta.xml.bind.JAXBException
-
convert
private static void convert(SlidePart slide) throws XPathBinderAssociationIsPartialException, jakarta.xml.bind.JAXBException - Throws:
XPathBinderAssociationIsPartialExceptionjakarta.xml.bind.JAXBException
-