I programmatically draw a flowchart in opening an open office using the Java UNO Runtime Reference api. After I drew the flowchart, I want to resize the page to fit the area obtained from the content. I noticed that Microsoft Visio has a “fit to drawing content” property in its “page setup” that does this when I draw a flowchart in Visio.Pls, suggesting how I can do the same in Open Office / Libre Office Draw.
Alok
source share