poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48574] New: Extention of XWPF to insert paragraphs and tables form different Documents in one Document.
Date Tue, 19 Jan 2010 16:16:48 GMT

           Summary: Extention of XWPF to insert paragraphs and tables form
                    different Documents in one Document.
           Product: POI
           Version: 3.7-dev
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XWPF
        AssignedTo: dev@poi.apache.org
        ReportedBy: Philipp.Epp@hoefliger.de

Created an attachment (id=24861)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24861)
Extensions of XWPF to insert tables, paragraphs with pictures, styles and

Actually I have to problem, with adding tables and paragraphs to a document.
For example if I have three paragraphs between two tables I am only able to
insert a table between these two tables. But I cannot position the table
excatly after the first of the three paragraphs. Initially I tried to handle
this problem with XmlCursors, but debugging an XmlCursor is not a very funny. 
So I decided to create a marker Interface IBodyElement, which is implemented by
XWPFParagraph and XWPFTable (Yes I call them BodyElements). On the other Hand I
created the Interface IBody which is implemented by all Classes, who owns
arrays with tables and paragraphs. (Actually this are the classes XWPFDocument,
XWPFTableCell, XWPFHeaderFooter). In IBody there a some signature of methods
which are handling the operations with XWPFTable and XWPFParagraph in a Body.
To support styles and numberings  the classes XWPFStyles, XWPFStyle,
XWPFNumbering, XWPFNum, XWPFAbstractNum are added. The classes XWPFPictureData
and XWPFPicture were created to support pictures. This classes are quit equal
to XSSFPictureData and XSSFPicture. 

Hope you like my changes. :-)
Philipp Epp

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

View raw message