Class CreateDocxWithSmartArt
java.lang.Object
org.docx4j.openpackaging.parts.DrawingML.CreateWithSmartArtAbstract
org.docx4j.openpackaging.parts.DrawingML.CreateDocxWithSmartArt
-
Field Summary
Fields inherited from class org.docx4j.openpackaging.parts.DrawingML.CreateWithSmartArtAbstract
diagramLayoutObj, layoutTree2DiagramDataXslt, layoutTreeCreatorXslt -
Constructor Summary
ConstructorsConstructorDescriptionCreateDocxWithSmartArt(CTDiagramDefinition diagramLayoutObj, Templates layoutTreeCreatorXslt, Templates layoutTree2DiagramDataXslt) -
Method Summary
Modifier and TypeMethodDescriptionstatic PcreateSmartArt(String layoutRelId, String dataRelId, String colorsRelId, String styleRelId, String cx, String cy) createSmartArtDocx(PageSizePaper sz, boolean landscape, MarginsWellKnown margins, Document xml) createSmartArtDocx from the provided XML.static voidMethods inherited from class org.docx4j.openpackaging.parts.DrawingML.CreateWithSmartArtAbstract
createDiagramData
-
Constructor Details
-
CreateDocxWithSmartArt
public CreateDocxWithSmartArt(CTDiagramDefinition diagramLayoutObj, Templates layoutTreeCreatorXslt, Templates layoutTree2DiagramDataXslt)
-
-
Method Details
-
createSmartArtDocx
public WordprocessingMLPackage createSmartArtDocx(PageSizePaper sz, boolean landscape, MarginsWellKnown margins, Document xml) throws Exception createSmartArtDocx from the provided XML.- Parameters:
sz-landscape-margins-xml-- Returns:
- Throws:
Exception
-
createSmartArt
public static P createSmartArt(String layoutRelId, String dataRelId, String colorsRelId, String styleRelId, String cx, String cy) throws Exception - Throws:
Exception
-
main
- Throws:
Exception
-