Hi, Could you provide us the document and the associated source code? Regards, Guillaume
2009/5/30 fourky <[email protected]> > > thanks for your quick response. I had a search on your source file, > and I think there is a little mistake on the > Tabletable.setTablePrintRanges : > final String substring = vr.substring(vl.length() - > this.printStopRow); > Shouldn't you use > final String substring = vr.substring(vr.length() - > this.printStopRow); > > cause when I specify a range that stays in the "one letter", it works > fine. But it's not working with a $A$1:$AK$11 > > > To specify a "right" range don't solve my printing problem. Still, > nothing happen when I click OK from the print dialog. > can be really cool of you if you can help me with that. > thanks > > > > - Hide quoted text - > > > > > > > On Sat, May 30, 2009 at 7:11 PM, jOpenDocument, Guillaume > <[email protected]> wrote: > > Hi, > > The easy way is to define "print ranges" in the document with > OpenOffice. > setTablePrintRanges uses the same syntax > > Regards, > Guillaume > > PS: please use the mailing list for questions > > Hi, I try to use your API, but when I want to display the .ods > file, I just see the first cell. When I print from the display > windows, only the first characters of the first cell are printed. I > saw your response saying to use > use setTablePrintRanges (See TableTable.java > (org.jopendocument.model.table) ) > but I cannot find how to use it. > But my main problem is to print. When I use the print example > you gave on the web site, the print dialog appear, I click OK but > nothing appen. > I am a bit lost. > I would really like to use your API and I find it awesome for > everything ( reading and writing on ods file, printing is easy to > use). > Thanks for your help and have a good week end > Xavier Fourcade > [email protected] <mailto:[email protected]> > >
