You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2010/06/26 21:36:35 UTC

DO NOT REPLY [Bug 49508] New: Appending paragraphs to XWPFTableCell

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

           Summary: Appending paragraphs to XWPFTableCell
           Product: POI
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XWPF
        AssignedTo: dev@poi.apache.org
        ReportedBy: immad.naseer@gmail.com


Created an attachment (id=25646)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25646)
Patch for XWPFTableCell.createParagraph method

XWPFTableCell lacks a method to append paragraphs to itself. While it has an
addParagraph method, that method only appends the XWPFParagraph to the internal
paragraphs array and does not update the underlying CTTc object. 

Please find attached a patch for a createParagraph method which appends a new
paragraph to the cell, updating the paragraph array as well as the CTTc object.

-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 49508] Appending paragraphs to XWPFTableCell

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49508

Nick Burch <ni...@alfresco.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Nick Burch <ni...@alfresco.com> 2010-06-29 10:05:07 EDT ---
Thanks for this. I decided that addParagraph was probably a more consistent
name when compared to the related methods, so I tweaked the name to that.
Committed in r958972.

-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org