Bug 165820 - Writer does not save user-created styles in HTML Document mode
Summary: Writer does not save user-created styles in HTML Document mode
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-19 12:13 UTC by Shinji Enoki
Modified: 2025-03-19 12:17 UTC (History)
0 users

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 Shinji Enoki 2025-03-19 12:13:05 UTC
Description:
In Writer, styles created by the user may not be saved in HTML Document mode.

Steps to Reproduce:
1.Select menu File>New>HTML Document
2.Input some text
3.Create Style, For example, click on the "Heading" style to create a new style
4.Apply the style you created to the text you typed
5. File>Save
6. Reopen save file

The style created in step 3 does not exist. Any paragraphs that had the style applied to them will have the "Body Text" style applied instead.

However, if the user creates a style under "Body Text", it will be loaded without any problems.

See original report:
https://ask.libreoffice.org/t/writer-web-html/119620

Actual Results:
User created styles are not loaded.

Expected Results:
User-created styles are loaded and applied


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.2.1.2 (X86_64) / LibreOffice Community
Build ID: d3abf4aee5fd705e4a92bba33a32f40bc4e56f49
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: ja-JP (ja_JP.UTF-8); UI: en-US
Calc: threaded
Comment 1 TANAKA Hidemune 2025-03-19 12:17:35 UTC
Reproduced

Version: 25.2.0.3 (X86_64) / LibreOffice Community
Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069
CPU threads: 24; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ja-JP (ja_JP.UTF-8); UI: ja-JP
Calc: threaded