I've been looking at ODF for Java reporting (using the Toolbox) and have
hit a snag.  Heretofore I have been using pdf (iText)

When developing reports I create a char[] that fits the width of the page
depending on page size and orientation.  When the data for that report line
is placed correctly in the buffer, I then add lines to the report by
placing my array into the report.  This has been working wonderfully for
PDF.  I try this on ODF and all the spaces get stripped out.  Is there a
way to make ODF handle a buffer full of data the way I insert it --
including spaces?  I don't think inserting <text:s><text:c/></text:s> for
every 2 or three space break is going to be a nice (or usable) approach.
That's OK for word processing but it's not ok for developing Java reports.

At this point I'm thinking ODF is not too usable for doing Java reporting.
If I am incorrect I'd like to know how to make ODF keep my formatting for
each line of the report without screwing up all the spacing.

Thanks if anyone knows.

Reply via email to