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

OdfDrawFrame childnode SvgTitleElement is serialized as SvgDescElement #294

Open
django9876 opened this issue May 22, 2024 · 3 comments · May be fixed by #295
Open

OdfDrawFrame childnode SvgTitleElement is serialized as SvgDescElement #294

django9876 opened this issue May 22, 2024 · 3 comments · May be fixed by #295

Comments

@django9876
Copy link

django9876 commented May 22, 2024

I am working with alternative texts for images, which are saved as SvgTitleElement, a childnode of an OdfDrawFrame object. The odftoolkit parses an odt-file correctly, but when saving it, the SvgTitleElement is converted to a SvgDescElement. On Reopening the file, the child node of the instance SvgTitleElement is lost, the libreoffice-writer does not show an alternative text.
Version: 0.12.0 and 0.10.0

@svanteschubert
Copy link
Contributor

Could you please provide a draft pull request with a test case of your scenario, to easily reproduce your problem?

@django9876
Copy link
Author

django9876 commented May 23, 2024

I fail. I will provide test file at least.
TestCase.odt

@svanteschubert
Copy link
Contributor

I have added PR #295 with a test case that shows that on the current master branch, the problem no longer exists.
You may copy the test to your environment. Sorry, I can not reproduce the problem...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants