connium/simple-odf

Define page layouts

connium opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
Currently the page layout depends on the default settings of the editor that renders the created file. In order to be in full control of the page layout, it is necessary to be able to define basic page format settings.

Describe the solution you'd like
On the document it should be possible to set create a page layout ad define the following formatting options:

  • name of the the page layout (default: standard)
  • fo:margin-bottom (default: 20mm)
  • fo:margin-left (default: 20mm)
  • fo:margin-right (default: 20mm)
  • fo:margin-top (default: 20mm)
  • fo:page-height (default: 297mm)
  • fo:page-width (default: 210mm)
  • style:print-orientation (default: portrait)

Additional context
See style:page-layout-properties in the OASIS Document Format.