https://bugs.documentfoundation.org/show_bug.cgi?id=130599
Olivier Hallot <olivier.hal...@libreoffice.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #1 from Olivier Hallot <olivier.hal...@libreoffice.org> ---
There is a alternate solution to set the desired heading level in embedded
headings: use <variable> and <embedvar>
https://wiki.documentfoundation.org/Documentation/Understanding,_Authoring_and_Editing_Openoffice.org_Help/3#embedvar
https://wiki.documentfoundation.org/Documentation/Understanding,_Authoring_and_Editing_Openoffice.org_Help/3#variable
Take the case of
https://help.libreoffice.org/7.0/en-US/text/swriter/main0102.html
the source of the heading "Undo" is
<embed href="text/shared/01/02010000.xhp#undo"/>
Looking at the href= contents, we have
<section id="undo">
<section id="rueckgaengig"><comment>Can this removed?</comment>
<bookmark xml-lang="en-US" branch="index"
id="bm_id3155069"><bookmark_value>undoing;editing</bookmark_value>
<bookmark_value>editing;undoing</bookmark_value>
</bookmark>
<bookmark xml-lang="en-US" branch="hid/.uno:Undo" id="bm_id87410"
localize="false"/>
<bookmark xml-lang="en-US" branch="hid/svx/ui/imapdialog/TBI_UNDO"
id="bm_id3148983" localize="false"/>
<paragraph role="heading" id="hd_id3155069" xml-lang="en-US" level="1"><link
href="text/shared/01/02010000.xhp" name="Undo">Undo</link></paragraph>
<paragraph role="paragraph" id="par_id3149205" xml-lang="en-US"><ahelp
hid=".">Reverses the last command or the last entry you typed. To select the
command that you want to reverse, click the arrow next to the <emph>Undo</emph>
icon on the <emph>Standard</emph> bar.</ahelp></paragraph>
</section>
</section>
We are interested in
<link href="text/shared/01/02010000.xhp" name="Undo">Undo</link>
which we wrap in a <variable>
<variable id="myheading"><link href="text/shared/01/02010000.xhp"
name="Undo">Undo</link></variable>
In the Menu help page, replace <embed .../> by
<h2 id="231212312" localize="false"><embedvar
href="text/shared/01/02010000.xhp#myheading"/></h2>
The paragraph that follows the heading shall also be wraped in the same scheme.
There will be a significant rework for the menus description, though.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs