You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/05/29 04:14:17 UTC

[Bug 119466] New: All tables in the sample file are converted to frames, and the display is ugly.

https://issues.apache.org/ooo/show_bug.cgi?id=119466

          Priority: P3
            Bug ID: 119466
          Assignee: ooo-issues@incubator.apache.org
           Summary: All tables in the sample file are converted to frames,
                    and the display is ugly.
          Severity: normal
        Issue Type: DEFECT
    Classification: Application
                OS: All
          Reporter: louqingle@gmail.com
          Hardware: PC
            Status: CONFIRMED
           Version: AOO341
         Component: ui
           Product: word processor

Created attachment 77651
  --> https://issues.apache.org/ooo/attachment.cgi?id=77651&action=edit
sample file

Build: AOO3.4

open the sample file in Aoo and compare it with that in MS word

All tables are converted to frames.

and the lines position changed and the whole display is ugly

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119466] [From Symphony]All tables in the sample file are converted to frames, and the display is ugly.

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

zjchen <zj...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zjchen@apache.org

--- Comment #5 from zjchen <zj...@apache.org> ---
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.

[Bug 119466] [From Symphony]All tables in the sample file are converted to frames, and the display is ugly.

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

--- Comment #7 from zjchen <zj...@apache.org> ---
Created attachment 79680
  --> https://issues.apache.org/ooo/attachment.cgi?id=79680&action=edit
test case for i119466

test case for difference between table wrap and frame wrap.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119466] [From Symphony]All tables in the sample file are converted to frames, and the display is ugly.

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

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
           Hardware|PC                          |All
         Resolution|---                         |FIXED
   Target Milestone|---                         |AOO 4.0

--- Comment #10 from hdu@apache.org <hd...@apache.org> ---
Updated status to FIXED and the target to the release containing the fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119466] All tables in the sample file are converted to frames, and the display is ugly.

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

--- Comment #1 from louqle <lo...@gmail.com> ---
Created attachment 77652
  --> https://issues.apache.org/ooo/attachment.cgi?id=77652&action=edit
snapshot in Aoo

add snapshot in Aoo

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119466] [From Symphony]All tables in the sample file are converted to frames, and the display is ugly.

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

louqle <lo...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|All tables in the sample    |[From Symphony]All tables
                   |file are converted to       |in the sample file are
                   |frames, and the display is  |converted to frames, and
                   |ugly.                       |the display is ugly.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119466] [From Symphony]All tables in the sample file are converted to frames, and the display is ugly.

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

Marcus <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|AOO341                      |AOO340

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119466] [From Symphony]All tables in the sample file are converted to frames, and the display is ugly.

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

Lei Debin <de...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #79679|review?                     |review+
              Flags|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119466] [From Symphony]All tables in the sample file are converted to frames, and the display is ugly.

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

--- Comment #9 from SVN Robot <sv...@dev.null.org> ---
"zjchen" committed SVN revision 1395547 into trunk:
#i119466# Doc file loaded by AOO, table with incorrect text wrapping
property...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119466] [From Symphony]All tables in the sample file are converted to frames, and the display is ugly.

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

Lei Debin <de...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |debin.lei@gmail.com

--- Comment #4 from Lei Debin <de...@gmail.com> ---
one part of the issue is caused by the frame wrap value.
If change the Frame--wrap value from "Optimal" to "Parallel", the result will
much better.
For other issue need more investigation

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119466] [From Symphony]All tables in the sample file are converted to frames, and the display is ugly.

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

zjchen <zj...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zjchencdl@gmail.com

--- Comment #3 from zjchen <zj...@gmail.com> ---
Notice that the default table wrap mode is not compatible with MS Word. There
are also other factors result in the abnormal tables.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119466] [From Symphony]All tables in the sample file are converted to frames, and the display is ugly.

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

zjchen <zj...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #79679|                            |review?
              Flags|                            |

--- Comment #6 from zjchen <zj...@apache.org> ---
Created attachment 79679
  --> https://issues.apache.org/ooo/attachment.cgi?id=79679&action=edit
patch for i119466

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119466] [From Symphony]All tables in the sample file are converted to frames, and the display is ugly.

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

--- Comment #2 from louqle <lo...@gmail.com> ---
Created attachment 77653
  --> https://issues.apache.org/ooo/attachment.cgi?id=77653&action=edit
snapshot in MS word

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119466] [From Symphony]All tables in the sample file are converted to frames, and the display is ugly.

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

--- Comment #8 from Lei Debin <de...@gmail.com> ---
the solution is workable, it is ok for me, review +1

-- 
You are receiving this mail because:
You are the assignee for the bug.