I'm looking for the code in Simple API to set Margin and Page Size (Height and Width).

I saw the example here about getOrCreateMasterPage, but that appears to work only with a page break.

https://incubator.apache.org/odftoolkit/simple/document/cookbook/Text%20Document.html#Get%20TextDocument

I need to apply this to the first page of an empty doc.

Thank you for your patience and help.  I'm very new to your library.

Joseph D. Wagner

Reply via email to