[Libreoffice-bugs] [Bug 112201] FILEOPEN: DOCX thesis template with missing name and logo of university on 2nd page

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Dec 17 15:28:20 UTC 2019


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

Michael Stahl (CIB) <michael.stahl at cib.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
           Assignee|libreoffice-bugs at lists.free |michael.stahl at cib.de
                   |desktop.org                 |

--- Comment #9 from Michael Stahl (CIB) <michael.stahl at cib.de> ---
getting the right header on page 2 is fixed.

getting the right header on page 3 isn't really fixable currently:

      <w:r w:rsidR="001F1586" w:rsidRPr="001F1586">
        <w:rPr>
          <w:szCs w:val="22"/>
        </w:rPr>
        <w:t>zz</w:t>
      </w:r>
      <w:r w:rsidR="001F1586">
        <w:br w:type="page"/>
      </w:r>
    </w:p>
    <w:p w:rsidR="00B13550" w:rsidRPr="00B13550" w:rsidRDefault="00B13550"
w:rsidP="00675453">
      <w:pPr>
        <w:pStyle w:val="doktitel3"/>
        <w:tabs>
          <w:tab w:val="left" w:pos="3240"/>
        </w:tabs>
        <w:rPr>
          <w:sz w:val="22"/>
          <w:szCs w:val="22"/>
        </w:rPr>
        <w:sectPr w:rsidR="00B13550" w:rsidRPr="00B13550"
w:rsidSect="00A874BD">
          <!-- 3 paragraphs, table, shape -->
          <w:headerReference w:type="default" r:id="rId13"/>
          <w:footerReference w:type="default" r:id="rId14"/>
          <w:type w:val="continuous"/>
          <w:pgSz w:w="11906" w:h="16838" w:code="9"/>
          <w:pgMar w:top="1418" w:right="1134" w:bottom="1985" w:left="1701"
w:header="567" w:footer="1134" w:gutter="0"/>
          <w:pgNumType w:chapStyle="1"/>
          <w:cols w:space="708" w:equalWidth="0">
            <w:col w:w="9071" w:space="708"/>
          </w:cols>
          <w:titlePg/>
          <w:docGrid w:linePitch="360"/>
        </w:sectPr>
      </w:pPr>
    </w:p>

here the page break w:br is on a different paragraph than the continuous
section break w:sectPr, so it is set as a page-break-before on the last
paragraph in the section; for this document it works to add a check for this
situation and apply the page style there but we'll have to see if that causes
regressions on other documents... without continuous sections in Writer we
likely can't do any better.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191217/a0254009/attachment.htm>


More information about the Libreoffice-bugs mailing list