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/08/15 08:04:40 UTC

[Bug 120576] New: [From Symphony]the background color from table style are lost for table in the docx file

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

          Priority: P3
            Bug ID: 120576
          Assignee: ooo-issues@incubator.apache.org
           Summary: [From Symphony]the background color from table style
                    are lost for table in the docx file
          Severity: normal
        Issue Type: DEFECT
    Classification: Application
                OS: Windows XP
          Reporter: companycy@gmail.com
          Hardware: All
            Status: UNCONFIRMED
           Version: AOO350-dev
         Component: open-import
           Product: word processor

Created attachment 78945
  --> https://issues.apache.org/ooo/attachment.cgi?id=78945&action=edit
Sample docx has table style applied

Check all tables in the sample file "test document formatting.docx", and
background color from table styles in some tables are different from MS.

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

[Bug 120576] [From Symphony]the background color from table style are lost for table in the docx file

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

Shenfeng Liu <li...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |liushenf@gmail.com
   Target Milestone|---                         |AOO 3.5.0

--- Comment #7 from Shenfeng Liu <li...@gmail.com> ---
set Target Milestone to AOO 3.5.0 for PM purpose.

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

[Bug 120576] [From Symphony]the background color from table style are lost for table in the docx file

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

bjcheny <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Issue Type|DEFECT                      |ENHANCEMENT

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

[Bug 120576] [From Symphony]the background color from table style are lost for table in the docx file

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

--- Comment #4 from SVN Robot <sv...@dev.null.org> ---
"zhangjf" committed SVN revision 1377430 into trunk:
#i120576#, the background color from table style are lost for table in the
do...

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

[Bug 120576] [From Symphony]the background color from table style are lost for table in the docx file

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

bjcheny <co...@gmail.com> changed:

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

--- Comment #1 from bjcheny <co...@gmail.com> ---
Created attachment 78970
  --> https://issues.apache.org/ooo/attachment.cgi?id=78970&action=edit
patch for i120576 to fix background color in table style in docx

Patch for i120576 to fix background color in table style in docx.

It is based on the knowledge of background color from wiki on table style as
below:
http://wiki.openoffice.org/wiki/Table_Style_in_Writerfilter

The change is composed of below parts:
1. For the w:tcPr under w:style, it's used for whole table. It should be
sprmed.
2. On how to apply different kinds of table styles, it follows the sequence
from wiki as below. That means ne/nw/se/sw table style can overwrite all other
types if existing.

wholeTable
band1Horz band2Horz
band1Vert band2Vert
firstCol lastCol
firstRow lastRow
neCell nwCell seCell swCell

3. Fix a typo for resetRowProp. It's related to all row properties.

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

[Bug 120576] [From Symphony]the background color from table style are lost for table in the docx file

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

Du Jing <bj...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED
                 CC|                            |bjdujing@gmail.com

--- Comment #6 from Du Jing <bj...@gmail.com> ---
verified on the build 1377620

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

[Bug 120576] [From Symphony]the background color from table style are lost for table in the docx file

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

zhang jianfang <zh...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |zhangjf@apache.org
         Resolution|---                         |FIXED

--- Comment #5 from zhang jianfang <zh...@apache.org> ---
Change to resolved state

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

[Bug 120576] [From Symphony]the background color from table style are lost for table in the docx file

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

zhang jianfang <zh...@apache.org> changed:

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

--- Comment #3 from zhang jianfang <zh...@apache.org> ---
Comment on attachment 79033
  --> https://issues.apache.org/ooo/attachment.cgi?id=79033
patch for background color in table style in docx

Thanks, the wiki document explain the fix clearly. I will deliver it.

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

[Bug 120576] [From Symphony]the background color from table style are lost for table in the docx file

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

bjcheny <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #78970|0                           |1
        is obsolete|                            |
  Attachment #78970|review?                     |
              Flags|                            |
  Attachment #79033|                            |review?
              Flags|                            |

--- Comment #2 from bjcheny <co...@gmail.com> ---
Created attachment 79033
  --> https://issues.apache.org/ooo/attachment.cgi?id=79033&action=edit
patch for background color in table style in docx

Change path for patch from writerfilter to main when creating.

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