<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Arial Unicode MS";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Songti SC";
        panose-1:2 1 6 0 4 1 1 1 1 1;}
@font-face
        {font-family:"Liberation Serif";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"\@Songti SC";}
@font-face
        {font-family:"\@Arial Unicode MS";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
p.Standard, li.Standard, div.Standard
        {mso-style-name:Standard;
        margin:0in;
        margin-bottom:.0001pt;
        text-autospace:ideograph-other;
        font-size:12.0pt;
        font-family:"Liberation Serif",serif;
        mso-fareast-language:ZH-CN;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">I am having a conversion issue from an odf (writer) file to pdf.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">When the headless conversion is done with v6.2.x or v6.3.x on ubuntu, a blank page is left at the end of the document.  When the same conversion is run against v5.4 on Alpine or Ubuntu, or v6.x on OSX the
 blank page does not occur.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">The blank page does not show up in all cases but some conditions. 
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Initial info<o:p></o:p></span></p>
<p class="Standard">Blank page appearing at end of document when converted to PDF.<o:p></o:p></p>
<p class="Standard"><o:p> </o:p></p>
<p class="Standard">I have recently upgraded from LibreOffice 5.4 to 6.2.  When we convert a .odf document to PDF a blank page is getting appended in some circumstances.  The blank page does not have a footer on it where we have a footer defined for the document. 
 With version 5.4 we do not see this behavior.  <o:p></o:p></p>
<p class="Standard"><o:p> </o:p></p>
<p class="Standard">The environment in use is<o:p></o:p></p>
<p class="Standard">Amazon AWS<o:p></o:p></p>
<p class="Standard">Springboot Application<o:p></o:p></p>
<p class="Standard">JODConverter with local manager<o:p></o:p></p>
<p class="Standard">LibreOffice<o:p></o:p></p>
<p class="Standard"><o:p> </o:p></p>
<p class="Standard">LibreOffice is used to convert from .odf to .pdf<o:p></o:p></p>
<p class="Standard"><o:p> </o:p></p>
<p class="Standard">LibreOffice 5.4.5 run with an Alpine AWS image (3.7)<o:p></o:p></p>
<p class="Standard">LibreOffice 6.2 run with an Ubuntu AWS image (Xenial)<o:p></o:p></p>
<p class="Standard"><o:p> </o:p></p>
<p class="Standard"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Link to discussion on ask Libre<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="https://ask.libreoffice.org/en/question/232959/unwanted-blank-page-at-end-of-pdf-after-libreoffice-upgrade/">https://ask.libreoffice.org/en/question/232959/unwanted-blank-page-at-end-of-pdf-after-libreoffice-upgrade/</a><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Please ask if any additional information is needed.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I have source odf files and generated pdf files for configurations/cases that work and ones where the blank page is present.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Andy Lanzer<o:p></o:p></span></p>
</div>
</body>
</html>