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/27 10:11:30 UTC

[Bug 120723] New: Table style is lost when import PPTX by AOO

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

          Priority: P3
            Bug ID: 120723
          Assignee: ooo-issues@incubator.apache.org
           Summary: Table style is lost when import PPTX by AOO
          Severity: normal
        Issue Type: DEFECT
    Classification: Application
                OS: All
          Reporter: jiazema@gmail.com
          Hardware: All
            Status: UNCONFIRMED
           Version: AOO350-dev
         Component: open-import
           Product: presentation

1. launch AOO
2. Open the sample files

you will find that the table styles lost

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

[Bug 120723] Table style is lost when import PPTX by AOO

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

--- Comment #3 from Ma Bingbing <ji...@gmail.com> ---
Root casue
  When we create table in MS Office 2007 and use one of the predefined styles
from UI, and save as .pptx file, then open in AOO, the table styles' content
will be saved in tableStyles.xml in the zip package with the unique id. So AOO
can show correctly when import the tables.
  But in this samples, there are no table styles' detailed contents in the
tableStyle.xml, but only ID, so we lost the table style information. MS Office
2007 can show the correct table style according to the unique ID only, which is
for the predefined table styles in OOXML.

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

[Bug 120723] Table style is lost when import PPTX by AOO

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

--- Comment #6 from Ma Bingbing <ji...@gmail.com> ---
the details of table style, can be seen in following url:
http://wiki.openoffice.org/wiki/Table_Style_in_Writerfilter

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

[Bug 120723] Table style is lost when import PPTX by AOO

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

--- Comment #4 from Ma Bingbing <ji...@gmail.com> ---
Solution:
  The ID of table in tablestyle.xml is unique for PPTX predefined table style,
and we can use the ID to map the unique style for table. 
  So When AOO import a table in pptx just have the tableStyleId, we will create
a the tablestyle's content and then apply them to the table.

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

[Bug 120723] Table style is lost when import PPTX by AOO

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

liupingtan <do...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
                 CC|                            |doneyourself@gmail.com
     Ever confirmed|0                           |1

--- Comment #7 from liupingtan <do...@gmail.com> ---
confirm on AOO350ml 1377620

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

[Bug 120723] Table style is lost when import PPTX by AOO

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

--- Comment #5 from Ma Bingbing <ji...@gmail.com> ---
  There are about 60 predefined table styles in PPTX, but it will cost too much
time to create the content of every tablestyle according to the content in
tablestyle.xml. And the sample files just includes 3 table
styles(Medium2-Accent1, Medium2-Accent2, Medium4-Accent4). Moreover, this
sample files aren't common, so we could just create these 3 styles temporarily.

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

[Bug 120723] Table style is lost when import PPTX by AOO

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

Ma Bingbing <ji...@gmail.com> changed:

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

--- Comment #8 from Ma Bingbing <ji...@gmail.com> ---
Created attachment 79230
  --> https://issues.apache.org/ooo/attachment.cgi?id=79230&action=edit
Fix patch for this issue

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

[Bug 120723] Table style is lost when import PPTX by AOO

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

WangZhe <ki...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kingwisemmx@gmail.com
           Assignee|ooo-issues@incubator.apache |kingwisemmx@gmail.com
                   |.org                        |

--- Comment #9 from WangZhe <ki...@gmail.com> ---
I'll take this one

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

[Bug 120723] Table style is lost when import PPTX by AOO

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

--- Comment #2 from Ma Bingbing <ji...@gmail.com> ---
Created attachment 79174
  --> https://issues.apache.org/ooo/attachment.cgi?id=79174&action=edit
sample file2

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

[Bug 120723] Table style is lost when import PPTX by AOO

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

--- Comment #1 from Ma Bingbing <ji...@gmail.com> ---
Created attachment 79173
  --> https://issues.apache.org/ooo/attachment.cgi?id=79173&action=edit
sample file1

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