Bug 58494 - Thinkcell charts are not saved
Summary: Thinkcell charts are not saved
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: XSLF (show other bugs)
Version: unspecified
Hardware: PC All
: P2 major (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-12 13:49 UTC by Rahul Sharesth
Modified: 2018-02-10 13:53 UTC (History)
1 user (show)



Attachments
Minimal project to reproduce the bug. (34.23 KB, application/x-zip-compressed)
2017-02-14 16:25 UTC, Dmitry Pelevin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rahul Sharesth 2015-10-12 13:49:28 UTC
Hi ,

My presentation document (pptx) contains thinkcell charts ( https://www.think-cell.com/en/ ) and when I am cloning the slide content, then slides containing thinkcell is not getting saved.

Snippet - 

int num = 0;
        for (XSLFSlide srcSlide : srcPresentation.getSlides()) {
            XMLSlideShow ppt = new XMLSlideShow();
            ppt.createSlide().importContent(srcSlide);

            FileOutputStream out = null;
            try {
                out = new FileOutputStream("C:/Rahul/IT-work/Know - Killer Slide/example/gen/" + num + ".pptx");
                ppt.write(out);
                out.close();
            } catch (FileNotFoundException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }

            num++;
        }
Comment 1 Dominik Stadler 2015-10-30 17:40:49 UTC
Can you share a slideshow which allows to reproduce this in combination with your code-snippet?
Comment 2 Dmitry Pelevin 2017-02-14 16:25:19 UTC
Created attachment 34755 [details]
Minimal project to reproduce the bug.

Please check this maven project to reproduce the bug.

You can run it with "mvn clean package && mvn exec:java".

It will insert slide from "src\main\resources\source.pptx" "src\main\resources\template.pptx" and output will be generated as "merged.pptx" in the current directory.
Comment 3 Dmitry Pelevin 2017-02-14 16:31:25 UTC
I am sorry - this attachment is not for this bug. Plz. ignore it.
Comment 4 Alain Fagot Bearez 2018-02-10 13:53:01 UTC
This has been fixed in r1816383 by introducing XDDF charts.