-
Notifications
You must be signed in to change notification settings - Fork 400
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
Preliminary PDF/UA support #1972
Preliminary PDF/UA support #1972
Conversation
…all setStrokeColor when a system property is set
One of the tests is failing: This obviously means that a tag-type attribute got lost. This might be related to one of my changes: AFAIK the tags are case-sensitive, for example it must be Probably now the value of So I think I have to modify the "golden" file, do I? |
@hvbtup Yes, go ahead. |
Nah. By examining the test, I see that the "golden" image is not a file. It is the report, loaded with |
@hvbtup |
…ods, improve error handling
I kept some German in the example reports and the file name, but I removed the German comments and cleaned up the code. |
I hope this can be squashed into a single commit rebased commit rather than these 25 commits with merge commits before this is completed... |
@speckyspooky |
Yes, our strategy is to SQUASH. |
FYI, this is broken because of this breaking change in GEF: I think that change needs to be reverted. I'll see if I can push this through quickly, and restart this build when that's fixed. |
BTW, this is one of the reasons why during most of the develop cycle I use the most recent available dependencies: I.e., to catch problems as soon as possible after they occur upstream. Very soon the 2024-12 cycle will come to a close; rc1 is this week and rc2/final is next week. At that point I will try to lock down the repos to permanent location so that release tags can be built in the future. And hopefully BIRT can release shortly after the December 4th release... |
Yes. I am impressed by the speed you caught this. 👍 |
FYI, the PR is functional again with the GEF breakage fixed now. |
...ipse.birt.report.engine.emitter.pdf/src/org/eclipse/birt/report/engine/emitter/pdf/README.md
Outdated
Show resolved
Hide resolved
...ipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/util/HTML2Content.java
Show resolved
Hide resolved
...ipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/util/HTML2Content.java
Show resolved
Hide resolved
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/elements/rom.def
Outdated
Show resolved
Hide resolved
For the release notes, it should be clearly stated that PDF/UA support is a Work-In-Progress which just started. In particular, it is not yet possible to generate accessible PDFs where items (eg tables) span more than one page, even though the PAC 2024 says the generated PDF is valid. Furthermore, existing BIRT reports won't conform to PDF/UA just like that. It is always necessary to carefully set advanced properties in many places. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go from my side.
Yes, we should address the prototype character for that feature.
But it is a very good starting point and more like starting point!
Thanks, Henning! |
As I said yesterday, I think my changes are now in a state that they do no harm to the master branch; creating normal PDFs should work exactly as before.
It is now possible to at least generate valid single-page PDF/UA files.
The smiling sun image is my IP, I created it a few years ago for a game experiment.
I cannot split this into more smaller commits in a reasonable way.
Note: The Java code certainly has some room for improvements.
In several cases I used the
instanceof
operator, because it was the easiest solution and avoids having to change interfaces.BTW most of the changes in EngineIRVisitor.java were suggested by the IDE to remove warnings.