Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | [From Symphony]the background color from table style are lost for table in the docx file | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Writer | Reporter: | bjcheny <companycy> | ||||||||
Component: | open-import | Assignee: | AOO issues mailing list <issues> | ||||||||
Status: | CLOSED FIXED | QA Contact: | |||||||||
Severity: | Normal | ||||||||||
Priority: | P3 | CC: | bjdujing, companycy, liushenf, zhangjf | ||||||||
Version: | 4.0.0-dev | ||||||||||
Target Milestone: | 4.0.0 | ||||||||||
Hardware: | All | ||||||||||
OS: | Windows XP | ||||||||||
Issue Type: | ENHANCEMENT | Latest Confirmation in: | --- | ||||||||
Developer Difficulty: | --- | ||||||||||
Attachments: |
|
Created attachment 78970 [details] 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. Created attachment 79033 [details]
patch for background color in table style in docx
Change path for patch from writerfilter to main when creating.
Comment on attachment 79033 [details]
patch for background color in table style in docx
Thanks, the wiki document explain the fix clearly. I will deliver it.
"zhangjf" committed SVN revision 1377430 into trunk: #i120576#, the background color from table style are lost for table in the do... Change to resolved state verified on the build 1377620 set Target Milestone to AOO 3.5.0 for PM purpose. |
Created attachment 78945 [details] 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.