Return-Path: X-Original-To: apmail-incubator-ooo-issues-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7703B9623 for ; Sat, 29 Sep 2012 08:54:17 +0000 (UTC) Received: (qmail 4931 invoked by uid 500); 29 Sep 2012 08:54:17 -0000 Delivered-To: apmail-incubator-ooo-issues-archive@incubator.apache.org Received: (qmail 4821 invoked by uid 500); 29 Sep 2012 08:54:16 -0000 Mailing-List: contact ooo-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-issues@incubator.apache.org Delivered-To: mailing list ooo-issues@incubator.apache.org Received: (qmail 4794 invoked by uid 99); 29 Sep 2012 08:54:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Sep 2012 08:54:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.123] (HELO sif.zones.apache.org) (140.211.11.123) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Sep 2012 08:54:14 +0000 Received: by sif.zones.apache.org (Postfix, from userid 80) id 01AE473D2; Sat, 29 Sep 2012 08:53:53 +0000 (UTC) From: bugzilla@apache.org To: ooo-issues@incubator.apache.org Subject: [Bug 119466] [From Symphony]All tables in the sample file are converted to frames, and the display is ugly. Date: Sat, 29 Sep 2012 08:53:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: word processor X-Bugzilla-Component: ui X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zjchen@apache.org X-Bugzilla-Status: CONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ooo-issues@incubator.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/ooo/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/ooo/show_bug.cgi?id=119466 zjchen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjchen@apache.org --- Comment #5 from zjchen --- The problem is that table wrap mode in Writer is not compatible with MS Word. Table in MS Word can be wrapped around with text, while it has no such property in Writer. So loading table from doc, it should be wrapped by a fly frame to implement the wrap property in Writer. The wrap setting for frame could be "None","Before","After","Parallel",and "Optimal", while table in MS Word has two kinds of wrap setting, such as "Around" and "None". And Writer map "Around" table to "Optimal" frame wrap for interoperability. Currently the setting "Optimal" for frame will lead to the table layout display improperly. since it would reassign the frame wrap setting to one of "Before","After","Parallel". The "Before" and "After" frame setting is NOT compatible with table wrapping from my investigation. So the solution is mapping the "Around" table wrap setting to "Parallel" frame wrap setting which is more likely as shown in the Word. The patch choose sprmPFInTable <0x2416> to determine whether the paragraph is in a table. -- You are receiving this mail because: You are the assignee for the bug.