https://bugs.documentfoundation.org/show_bug.cgi?id=48459

--- Comment #29 from László Németh <[email protected]> ---
(In reply to Vollbracht from comment #24)
> How the presented solution related to an html document described in comment
> [[#20]] (2024-09-17)?

The recent patches are the the first steps to reach and exceed the (X)HTML/CSS
solution (which are not compatible with OpenDocument, and which are not for
*editing*, i.e. there is no UX layer above the standard).

Adding (X)HTML/CSS support to them, Writer will be a *fully* compatible editor
of the HTML documents with standard inline headings. I've checked the recent
HTML export, and the following replacement was able to demonstrate/achieve this
(using Heading 1 for inline heading):

cat original.html | sed 's/<div style="min-width:0cm;min-height:0cm;"><h1 /<div
style="min-width:0cm;min-height:0cm;display:inline;"><h1
style="display:inline;" /' >inline_headings.html

The interesting/important thing, that the <div> of the frame, i.e. the inline
heading doesn't create a rigid box/rectangle, if it exceeds the paragraph line:
it allows the other text content to follow immediately the end of the text of
the inline heading. This is exactly what we need, and perhaps a similar layout
change in Writer would not contradict the OpenDocument standard.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to