Skip to content

OdfDrawFrame childnode SvgTitleElement is serialized as SvgDescElement #294

Closed

Description

@django9876

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

Activity

  1. svanteschubert commented on May 22, 2024

    @svanteschubert
    Contributor

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

  2. django9876 commented on May 23, 2024

    @django9876
    Author

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

  3. svanteschubert commented on May 23, 2024

    @svanteschubert
    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...

  4. added this to the 0.13.0 milestone on Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions