Bug 160087 - Inline heading style desired
Summary: Inline heading style desired
Status: RESOLVED DUPLICATE of bug 48459
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.2.1 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-07 13:25 UTC by Vollbracht
Modified: 2024-09-17 21:14 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
html file as described (252 bytes, text/html)
2024-03-07 13:27 UTC, Vollbracht
Details
Reproducible Bug 160087 (57.83 KB, image/png)
2024-03-07 15:51 UTC, DuyN
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vollbracht 2024-03-07 13:25:37 UTC
Description:
Many scientific books have inline headings. In these cases a title of a sub chapter appears in toc and in page header but is written as an italic text snippet with  the beginning of the first paragraph of that sub chapter in line. In css this is simple to do: just have h4{ display:inline; font-style:italic; } in css and <p><h4>Test</h4> with Text</p> below. Still this (correctly shown in Firefox or Chrome) cannot be handled in Writer.

Steps to Reproduce:
Have
<html>
    <head>
        <style type="text/css">
            h2{
                display:inline;
            }
        </style>
    </head>
    <body>
        <p><h2>My 1st. sub chapter</h2> And the text of its first paragraph</p>
    </body>
</html>
in an html file. Open that one in Writer and your favorite browser.



Actual Results:
My 1st. sub chapter
And the text of its first paragraph

Expected Results:
My 1st. sub chapter And the text of its first paragraph


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 60(Build:1)
CPU threads: 12; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+wayland)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded
Comment 1 Vollbracht 2024-03-07 13:27:47 UTC
Created attachment 193015 [details]
html file as described
Comment 2 DuyN 2024-03-07 15:49:30 UTC
Thank you for reporting the bug. I can confirm that the bug is present in:

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 3 DuyN 2024-03-07 15:51:10 UTC
Created attachment 193018 [details]
Reproducible Bug 160087
Comment 4 RGB 2024-09-17 21:14:39 UTC
I think this is a duplicate of Bug 48459

*** This bug has been marked as a duplicate of bug 48459 ***