Skip to content

page numbers can have value "auto" #343

@winterrifier

Description

@winterrifier

StyleParagraphPropertiesElement.getStylePageNumberAttribute() may throw a NumberFormatException when page number has value "auto", which is a valid value according to https://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html and https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html

I had to use the XML API to read the attribute directly to prevent that exception as workaround.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions