How to change page size to fit drawing content in Open office / Libre Office Draw

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.

+7
java api libreoffice uno
source share

No one has answered this question yet.

See related questions:

1376
How to create java string from file contents?
3
How to check paragraph settings using pyUNO library in Libre / Open Office?
2
Open Office / Libre macro to scroll to selection
2
Libre Office Macro for cropping an image
2
Avoiding Contact Moving in Forms in Open Office / Libre Office Draw
one
Where should I start using the flowchart application in Java
one
Open / Libre Office API replace image
one
How to show Grid Lines in Open Office Draw forever
one
How to find the installation path of Open Office programmatically in Java
0
How to set URL encoded hyperlinks in libre office?

All Articles