Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

page numbers can have value "auto" #343

Open
winterrifier opened this issue Feb 4, 2025 · 2 comments
Open

page numbers can have value "auto" #343

winterrifier opened this issue Feb 4, 2025 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@winterrifier
Copy link

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.

@winterrifier
Copy link
Author

@svanteschubert can't assign ticket to you as requested

@svanteschubert svanteschubert self-assigned this Feb 4, 2025
@svanteschubert
Copy link
Contributor

@winterrifier My bad, I was tired! :-)

As mentioned in https://listarchives.odftoolkit.org/dev/msg00110.html
This is a generation error that I have been working on - refactored complete generation -, but it is unfinished business.
I will aim to switch to it soonish and give you at least a status on what is blocking and a chance to participate.
Sorry for the delay..,

@svanteschubert svanteschubert added the bug Something isn't working label Feb 4, 2025
@svanteschubert svanteschubert added this to the 1.0.0 milestone Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants