Issue 91732 - Large text fields not foramatted correctly
Summary: Large text fields not foramatted correctly
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 2.4.1
Hardware: Unknown All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: needmoreinfo, oooqa
Depends on:
Reported: 2008-07-16 19:51 UTC by jgrstsci
Modified: 2013-01-29 21:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

Database of document showing behavior (67.68 KB, application/octet-stream)
2008-07-16 19:53 UTC, jgrstsci
no flags Details
Updated document, database, and output files. (880.66 KB, application/x-compressed)
2008-08-27 14:15 UTC, jgrstsci
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description jgrstsci 2008-07-16 19:51:26 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.
Comment 1 jgrstsci 2008-07-16 19:53:11 UTC
Created attachment 55156 [details]
Database of document showing behavior
Comment 2 michael.ruess 2008-07-17 08:51:59 UTC
Reassigned to ES.
Comment 3 eric.savary 2008-08-05 08:54:09 UTC
@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.
Comment 4 jgrstsci 2008-08-05 15:43:17 UTC
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.
Comment 5 jgrstsci 2008-08-27 14:13:34 UTC
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.
Comment 6 jgrstsci 2008-08-27 14:15:57 UTC
Created attachment 56051 [details]
Updated document, database, and output files.