-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update Extension for Libreoffice 6.3/6.4 #2
base: master
Are you sure you want to change the base?
Conversation
This commit makes the extension run on LibreOffice 6.4. It does not change the actual checking code. The extension shows up as additional sidebar while the menubar button (still) doesn't do anything. - fix compile errors with newer API - fix sidebar visibility - define sidebarpanel in Sidebar.xcu instead of WriterWindowState.xcu - add icon for sidebar
accessodf-addon/src/main/java/be/docarch/accessodf/ooo/toolpanel/AccessibilityPanel.java
Outdated
Show resolved
Hide resolved
accessodf-addon/src/main/oxt/registry/data/org/openoffice/Office/UI/Factories.xcu
Outdated
Show resolved
Hide resolved
accessodf-addon/src/main/oxt/registry/data/org/openoffice/Office/UI/Sidebar.xcu
Outdated
Show resolved
Hide resolved
Hi! Thank you very much for the PR. I quickly skimmed through the changes and made a few minor remarks about comments in the code. The change itself looks good. I haven't tested it yet. I might do that when I find some time, but maybe I will just merge it because I trust you have tested it. |
Thanks for your comments. It seems there is also work going on to include accessibility checks in LibreOffice [1], which may render this extension useless, but nevertheless better to have it working with recent versions than not, i guess. |
Previously, exceptions in checks were caught and logged, but not shown to the user. Instead, the "congratulations" message would appear suggesting successful checks when in reality something crashed.
@kalinjul Thanks for the additions. Some questions:
Can you give an example of an exception that happened and resulted in "congratulations", or is this only theoretical?
Can you explain what exactly happened in this commit?
Can you explain what exactly happened in this commit? |
FYI, i went through translating the error messages and tried to reproduce the errors/warnings in my document. When i found checks are not working, I tried to fix them, so the extension should now work quite well in LO 6.3+.
This happened when you included any image in your document - see next commit.
The graphic object doesn't have a "GraphicURL" field anymore, so it throw an exception.
I had a sample document which reported xSuppForms.hasForms() = true, but didn't hat a form and xSuppForms.getForms().getElementNames().length was 0. So i added this line to the check. Oh and also, if you really want to, i can change the commits to include the explanations. I merged them into my master without thinking about better description. |
Update Extension for Libreoffice 6.4
This PR makes the extension run on LibreOffice 6.4.
It does not change the actual checking code.
The extension shows up as additional sidebar
while the menubar button (still) doesn't do anything.