[jopendocument] Problem exporting a Ods to PDF

2019-02-12 Thread graziamujer
hi. i followed every instruction on the tutorial (using a old version of itext ) but i can't manage to print more than one page. i tried changing the first page size, but it didn't work. i dont know what im doing wrong. how do you print more than one page? can you print more than one page? --

Re: [jopendocument] Problem exporting a Ods to PDF

2019-02-12 Thread Guillaume Maillard
Hi, I think that your print range is not defined in your ODS. Cordialement, Le mar. 12 févr. 2019 à 14:42, a écrit : > hi. > i followed every instruction on the tutorial (using a old version of itext > ) but i can't manage to print more than one page. > i tried changing the first page size, bu

Re: [jopendocument] Problem exporting a Ods to PDF

2019-02-14 Thread graziamujer
hi, i defined the print range in openoffice, its like before, it only prints the first page. i know that the data is there, the size of the pdf varies if i try to print a larger or smaller document, but still it only prints the first page. it "prints" a second page, but is allways blank. i tried

Re: [jopendocument] Problem exporting a Ods to PDF

2019-02-14 Thread graziamujer
this is the layout that i'm trying to use On Thursday, February 14, 2019 at 4:13:21 PM UTC-3, grazi...@gmail.com wrote: > > hi, i defined the print range in openoffice, its like before, it only > prints the first page. > i know that the data is there, the size of the pdf varies if i try to >

Re: [jopendocument] Problem exporting a Ods to PDF

2019-02-14 Thread Guillaume Maillard
Hi, Can you share the code you are using to "print" it? Regards, Le jeu. 14 févr. 2019 à 20:15, a écrit : > > this is the layout that i'm trying to use > > On Thursday, February 14, 2019 at 4:13:21 PM UTC-3, grazi...@gmail.com > wrote: >> >> hi, i defined the print range in openoffice, its lik

Re: [jopendocument] Problem exporting a Ods to PDF

2019-02-14 Thread graziamujer
Hi. yeah. here it is public static void pdf(File s, String ss) throws FileNotFoundException, DocumentException { // Load the ODS file OpenDocument doc = new OpenDocument(); doc.loadFrom(s); // Open the PDF document Document document = new Documen

Re: [jopendocument] Problem exporting a Ods to PDF

2019-02-14 Thread Guillaume Maillard
Hi, See how we use it in our ERP : http://code.openconcerto.org/filedetails.php?repname=OpenConcerto&path=%2Ftrunk%2FOpenConcerto%2Fsrc%2Forg%2Fopenconcerto%2Ferp%2FgenerationDoc%2FSheetUtils.java convert2PDF() is your friend :) Regards, Guillaume Le jeu. 14 févr. 2019 à 22:11, a écrit : >

Re: [jopendocument] Problem exporting a Ods to PDF

2019-02-14 Thread graziamujer
it worked!! thanks ♥ i really appreciate it. On Thursday, February 14, 2019 at 7:01:16 PM UTC-3, guillaume...@gmail.com wrote: > > Hi, > > See how we use it in our ERP : > > > http://code.openconcerto.org/filedetails.php?repname=OpenConcerto&path=%2Ftrunk%2FOpenConcerto%2Fsrc%2Forg%2Fopenconcerto