CoreBOSBB
GenDoc create extra empty PDF pages - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17)
+--- Forum: Modules/Extension Support (https://discussions.corebos.org/forumdisplay.php?fid=9)
+--- Thread: GenDoc create extra empty PDF pages (/showthread.php?tid=1348)



GenDoc create extra empty PDF pages - addady2 - 11-23-2018

Hello,

I'm using GenDoc to create PDF via the remote GenDoc Server subscription.
In one of my templates the PDF have extra tree empty pages.

When I open the GenDoc created ODS file using "libreOffice write" there are no extra page.

When I manually convert this ODS to PDF from "libreOffice write" there are no extra page.

It look like some problem with the GenDoc Server convertor ?!


RE: GenDoc create extra empty PDF pages - joebordes - 11-23-2018

Make sure there aren't some extra hidden breaks in some coreBOS field

http://corebos.org/documentation/doku.php?id=en:gendoc:gramatica#special_text_formatting_in_labels

or some hidden characters at the end that could be interpreted as a new page

maybe also some foreach with a page break inside that doesn't show any values due to an ifexists

...

share the template with if it is reproducible ....


RE: GenDoc create extra empty PDF pages - addady2 - 11-24-2018

(11-23-2018, 09:10 PM)joebordes Wrote: Make sure there aren't some extra hidden breaks in some coreBOS field

http://corebos.org/documentation/doku.php?id=en:gendoc:gramatica#special_text_formatting_in_labels

or some hidden characters at the end that could be interpreted as a new page

maybe also some foreach with a page break inside that doesn't show any values due to an ifexists

...

share the template with if it is reproducible ....


I coluld not figure out the cause following your instructions. 

Can't share in this forum sensitive information, sending you email with the relavent files.