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/09/04 10:06:06 UTC

[Bug 120805] New: [From Symphony] As a user, I want to see Chart Data cache can be imported correctly from .pptx file

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

          Priority: P3
            Bug ID: 120805
          Assignee: ooo-issues@incubator.apache.org
           Summary: [From Symphony] As a user, I want to see Chart Data
                    cache can be imported correctly from .pptx file
          Severity: normal
        Issue Type: FEATURE
    Classification: Application
                OS: All
          Reporter: tmyl2010@gmail.com
          Hardware: All
            Status: UNCONFIRMED
           Version: AOO350-dev
         Component: open-import
           Product: presentation

The data source been saved in pptx file package as a separate file in xlsx
format or binary format, and zipped with pptx file together. But there is data
cache saved with chart description in chart.xml.
After this part of implementation, the chart could be imported and will show
the same with originally in MS Office. For the basic scenario, the pptx chart
can be imported correctly in Aoo, but maybe can't support some chart styles or
types.

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

[Bug 120805] [From Symphony] As a user, I want to see Chart Data cache can be imported correctly from .pptx file

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

Bo.Tian <bo...@cs2c.com.cn> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bo.tian@cs2c.com.cn

--- Comment #5 from Bo.Tian <bo...@cs2c.com.cn> ---
@Tang Meng
good news to me.
but there is a problem of the fix.
See the attachment test case.Some data was lost.
You may get some inspiration for my fix of the similar issue 115820.
https://issues.apache.org/ooo/show_bug.cgi?id=115820
waiting for your perfect fix

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

[Bug 120805] [From Symphony] As a user, I want to see Chart Data cache can be imported correctly from .pptx file

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

--- Comment #4 from Bo.Tian <bo...@cs2c.com.cn> ---
Created attachment 79742
  --> https://issues.apache.org/ooo/attachment.cgi?id=79742&action=edit
test case

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

[Bug 120805] [From Symphony] As a user, I want to see Chart Data cache can be imported correctly from .pptx file

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

--- Comment #1 from Tang Meng <tm...@gmail.com> ---
Created attachment 79296
  --> https://issues.apache.org/ooo/attachment.cgi?id=79296&action=edit
pptx_chart

About this part of implementation.
Detail is in the attachment.

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

[Bug 120805] [From Symphony] As a user, I want to see Chart Data cache can be imported correctly from .pptx file

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

Ariel Constenla-Haile <ar...@apache.org> changed:

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

--- Comment #6 from Ariel Constenla-Haile <ar...@apache.org> ---
(In reply to comment #5)
> You may get some inspiration for my fix of the similar issue 115820.

besides code efforts duplication, this bug looks then like a duplicated of bug
115820

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

[Bug 120805] [From Symphony] As a user, I want to see Chart Data cache can be imported correctly from .pptx file

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

--- Comment #9 from Bo.Tian <bo...@cs2c.com.cn> ---
Created attachment 79745
  --> https://issues.apache.org/ooo/attachment.cgi?id=79745&action=edit
test case2

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

[Bug 120805] [From Symphony] As a user, I want to see Chart Data cache can be imported correctly from .pptx file

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

Li Feng Wang <ph...@gmail.com> changed:

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

--- Comment #2 from Li Feng Wang <ph...@gmail.com> ---
Confirm to need support pptx chart data.

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

[Bug 120805] [From Symphony] As a user, I want to see Chart Data cache can be imported correctly from .pptx file

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

--- Comment #3 from Tang Meng <tm...@gmail.com> ---
Created attachment 79672
  --> https://issues.apache.org/ooo/attachment.cgi?id=79672&action=edit
patch

patch for this defect.
wiki:
http://wiki.openoffice.org/w/index.php?title=Pptx_chart

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

[Bug 120805] [From Symphony] As a user, I want to see Chart Data cache can be imported correctly from .pptx file

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

--- Comment #10 from Bo.Tian <bo...@cs2c.com.cn> ---
(In reply to comment #7)
> For stock type chart, this is correct.
> If you change chart type to other type, you can see the lost data.

not only the data,but also the shape is incomplete of the stock type.
there is still work to do if you want to support the stock type.

Besides,there is another problem of this fix.See test case2.
When date using as category,the x-axis should be continuously.
In test case2 ,there should be a 2007-5-1 between 2007-4-1 and 2007-6-1.
Using the true value to paint the chart before format it as date may be a good
way.

Hope we can put our result together to make AOO better to use.

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

[Bug 120805] [From Symphony] As a user, I want to see Chart Data cache can be imported correctly from .pptx file

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

--- Comment #8 from Tang Meng <tm...@gmail.com> ---
I will upload this patch to bug 115820. 
(In reply to comment #6)
> (In reply to comment #5)
> You may get some inspiration for my fix of the
> similar issue 115820.

besides code efforts duplication, this bug looks then
> like a duplicated of bug 115820

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

[Bug 120805] [From Symphony] As a user, I want to see Chart Data cache can be imported correctly from .pptx file

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

--- Comment #11 from Tang Meng <tm...@gmail.com> ---
In case1, the shape is incomplete because of chart drawing. If you make a xlsx
file with stock chart, the result is the same to this case.
In case2, 2007-5-1 isn't in chart.xml, so is can't display. Our core function
can't support this case. If you make a xlsx file with this chart, the result is
the same to this case.
These two cases aren't in filter scope. They are in core funtion scope. We may
open two new defect to solve these issues.

(In reply to comment #10)
> (In reply to comment #7)
> For stock type chart, this is correct.
> If you
> change chart type to other type, you can see the lost data.

not only the
> data,but also the shape is incomplete of the stock type.
there is still work
> to do if you want to support the stock type.

Besides,there is another
> problem of this fix.See test case2.
When date using as category,the x-axis
> should be continuously.
In test case2 ,there should be a 2007-5-1 between
> 2007-4-1 and 2007-6-1.
Using the true value to paint the chart before format
> it as date may be a good way.

Hope we can put our result together to make
> AOO better to use.

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

[Bug 120805] [From Symphony] As a user, I want to see Chart Data cache can be imported correctly from .pptx file

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

--- Comment #7 from Tang Meng <tm...@gmail.com> ---
For stock type chart, this is correct.
If you change chart type to other type, you can see the lost data.
(In reply to comment #5)
> @Tang Meng
good news to me.
but there is a problem of the fix.
See the
> attachment test case.Some data was lost.
You may get some inspiration for my
> fix of the similar issue 115820.
> https://issues.apache.org/ooo/show_bug.cgi?id=115820
waiting for your
> perfect fix

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