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)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: implementationError
Depends on:
Blocks: ODF-export-invalid Hyperlink-Calc
  Show dependency treegraph
 
Reported: 2022-05-14 22:32 UTC by Regina Henschel
Modified: 2024-03-20 20:20 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

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
Confirmed

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (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
Comment 2 BogdanB 2024-03-20 20:20:10 UTC
Still here
Version: 24.2.1.1 (X86_64) / LibreOffice Community
Build ID: 359ef544e625d2ffbfced462ab37bd593ca85fa7
CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
<style:hyperlink xlink:href="http://www.google.com/" xlink:type="simple"/><loext:hyperlink xlink:href="http://www.google.com/" xlink:type="simple"/>