Bug 149090 - Excel kind hyperlink as cell-property produces invalid ODF
Summary: Excel kind hyperlink as cell-property produces invalid ODF
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected)
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: implementationError
Depends on:
Blocks: ODF-export-invalid Hyperlink-Calc
  Show dependency treegraph
Reported: 2022-05-14 22:32 UTC by Regina Henschel
Modified: 2023-01-18 08:26 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2022-05-14 22:32:17 UTC
Open attachment 180120 [details] or 180121 from bug 149076 and save it to .ods. Look at the element <style:style> of the cells with hyperlink in content.xml. The element has the attributes 'style:hyperlink' and 'loext:hyperlink'. The attribute 'style:hyperlink' should not be there. Such attribute does not exist in ODF 1.3 and makes the markup invalid.

The import of such hyperlinks was implemented in https://cgit.freedesktop.org/libreoffice/core/commit/?id=92afb61d8bb1b264a945371065115981ecaed0f1

Writing in ODF was implemented in https://cgit.freedesktop.org/libreoffice/core/commit/?id=066bdb31f7ff801b7a36c79c43ecbd527ffb2a88
Comment 1 Buovjaga 2023-01-18 08:26:06 UTC

Arch Linux 64-bit, X11
Version: (X86_64) / LibreOffice Community
Build ID: 7195e2740eb1c71f5bbc4322b3535d56b39e2817
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded Jumbo
Built on 18 January 2023