https://issues.apache.org/bugzilla/show_bug.cgi?id=47147

--- Comment #2 from Stefan Stern <[email protected]> 2011-05-06 13:11:09 
UTC ---
Created attachment 26963
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=26963
Fix issues with "setText".

Looking into the ECM-576 specification, an empty cell always comes with an
empty paragraph. Or, to use Word as reference, create an empty Word DOCX
document, add a table with 2 rows and 2 coloums, save the document and look
into the XML. You'll see that Word creates an empty Paragraph for each Cell. 

What was wrong in the XWPFCell class was the "setText" method. Fixed this
method and another bug in the contructor. There every row created was added to
the "rows" field twice. Once in "createRow" method and afterwards in the
constructor.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to