<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:olivier.hallot@libreoffice.org" title="Olivier Hallot <olivier.hallot@libreoffice.org>"> <span class="fn">Olivier Hallot</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Help content XSLT: add ability to override headings when embedding sections"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=130599">bug 130599</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>UNCONFIRMED
           </td>
           <td>NEW
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Ever confirmed</td>
           <td>
                
           </td>
           <td>1
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Help content XSLT: add ability to override headings when embedding sections"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=130599#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Help content XSLT: add ability to override headings when embedding sections"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=130599">bug 130599</a>
              from <span class="vcard"><a class="email" href="mailto:olivier.hallot@libreoffice.org" title="Olivier Hallot <olivier.hallot@libreoffice.org>"> <span class="fn">Olivier Hallot</span></a>
</span></b>
        <pre>There is a alternate solution to set the desired heading level in embedded
headings: use <variable> and <embedvar> 

<a href="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#embedvar</a>
<a href="https://wiki.documentfoundation.org/Documentation/Understanding,_Authoring_and_Editing_Openoffice.org_Help/3#variable">https://wiki.documentfoundation.org/Documentation/Understanding,_Authoring_and_Editing_Openoffice.org_Help/3#variable</a>

Take the case of
<a href="https://help.libreoffice.org/7.0/en-US/text/swriter/main0102.html">https://help.libreoffice.org/7.0/en-US/text/swriter/main0102.html</a>

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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>