Return-Path: Delivered-To: apmail-poi-dev-archive@www.apache.org Received: (qmail 12777 invoked from network); 19 Jan 2010 16:17:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jan 2010 16:17:11 -0000 Received: (qmail 53578 invoked by uid 500); 19 Jan 2010 16:17:11 -0000 Delivered-To: apmail-poi-dev-archive@poi.apache.org Received: (qmail 53544 invoked by uid 500); 19 Jan 2010 16:17:11 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 53534 invoked by uid 99); 19 Jan 2010 16:17:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 16:17:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 16:17:10 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 2BEDF234C04C; Tue, 19 Jan 2010 08:16:48 -0800 (PST) From: bugzilla@apache.org To: dev@poi.apache.org Subject: DO NOT REPLY [Bug 48574] New: Extention of XWPF to insert paragraphs and tables form different Documents in one Document. X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: POI X-Bugzilla-Component: XWPF X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: Philipp.Epp@hoefliger.de X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@poi.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Tue, 19 Jan 2010 08:16:48 -0800 (PST) https://issues.apache.org/bugzilla/show_bug.cgi?id=3D48574 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=3D24861) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=3D24861) Extensions of XWPF to insert tables, paragraphs with pictures, styles and numberings 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 funn= y. =EF=81=8C So I decided to create a marker Interface IBodyElement, which is implemente= d by XWPFParagraph and XWPFTable (Yes I call them BodyElements). On the other Ha= nd I created the Interface IBody which is implemented by all Classes, who owns arrays with tables and paragraphs. (Actually this are the classes XWPFDocum= ent, XWPFTableCell, XWPFHeaderFooter). In IBody there a some signature of methods which are handling the operations with XWPFTable and XWPFParagraph in a Bod= y. To support styles and numberings the classes XWPFStyles, XWPFStyle, XWPFNumbering, XWPFNum, XWPFAbstractNum are added. The classes XWPFPictureD= ata and XWPFPicture were created to support pictures. This classes are quit equ= al to XSSFPictureData and XSSFPicture. =EF=81=8A Hope you like my changes. :-) Philipp Epp --=20 Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=3De= mail ------- 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