Apache OpenOffice (AOO) Bugzilla – Issue 91732
Large text fields not foramatted correctly
Last modified: 2013-01-29 21:53:06 UTC
Create an OpenOffice database with one table that contains a varchar(65526) field. Insert a large amount of text which contains new-lines. Create a writer document that merges using the field. Typically only part of the field is displayed. May or may not have trailing blank pages. Change the font and the entire contents are displayed.
Created attachment 55156 [details] Database of document showing behavior
Reassigned to ES.
@MSC: Cann you please evaluate if the field content (size and formatting) is something valid for such a DB? In other words: is there already a bug in DB which makes it impossible for a Writer field to display correctly.
I used the database to demonstrate the problem. Our Java application is querying a database, putting the results into a String, and then using the results to set the field value. We see the same behavior depending on the amount of data and page format.
I downloaded 3.0 beta BEB300m3, build 9328 and retested. The behavior remains. The field with a large text document is rendered differently. Using a large chunk of lorem ipsum text with 200 lines and 63412 characters I created a database with two fields: recnum and desc. I added '-30-' to the end of the text so I could verify that all of the text is being displayed. I created a document, and inserted the record as fields. Only the -30- is displayed. Inserting as text or table works correctly. Generated PDF using the 'Export Directly to PDF' option. Only the recnum field was output with the rest of the first page left blank. Printed to a postscript file. Only the first line of the field and the -30- tag are rendered. However, the rest of the document is generated correctly. Selected the fields and changed the font size to 9. Entire field is now rendered correctly. Using print preview also will render the big text field differently. Some times it showed the first line only, sometimes it should nothing.
Created attachment 56051 [details] Updated document, database, and output files.