‎02-02-2022 06:35 AM
Hello,
I am trying to perform Word Document Generation (.docx) using Aspose.Words in Java.
On clicking a customized button, the code collects data (Application Name, Department, etc). from the repository and prints it in a Word Document as per the required template.
I am unable to figure out how to print Diagrams into the Document.
I want to extract and print diagrams like Application Structure Diagram, Class Diagram, Object Diagram, Scenario of Application Flows Diagram etc. into the Word Document when I generate it.
Please guide me how to do this.
‎03-02-2022 10:14 AM
I am creating the Word Document using Aspose API for Java.
For Eg: For extracting Application Name, I used appObj.getProp("~Z20000000D60[Short Name]") where appObj is the application object.
In a similar way, how can I extract and print the diagram into my word document using Java?
‎02-02-2022 07:48 AM
In your descriptor you need to insert a group using the metaassociation Description. When you have created the new group, you can now right-click on the new group and selct Insert. Here you will see the option to insert a diagram. In the options of the diagram you set additional properties, scaling etc.
‎02-02-2022 06:42 AM