poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54470] Solution to support Graph in XSSFWorkbook.cloneSheet method
Date Sat, 23 May 2015 20:08:17 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=54470

--- Comment #6 from palmerr_2002@hotmail.com ---
Hi there,

I have run the sample code of "Guillaume de GENTILE", and I get new sheet
create with the data-table at the top but no chart object.
I get an Exception:
from Method:
updateRelationsSheetName
In class: class XmlNodeUtils
------------------------------------
while(it.hasNext()) {
                    XSSFChart chart = it.next();
                    //System.out.println("chart = " + chart);
                    CTChart c = chart.getCTChart();

             ERROR HERE:  Node node1 = chart.getCTChart().getDomNode();
                    updateDomDocSheetReference(node1, frwb, oldSheetName);

                    Node node2 = chart.getCTChartSpace().getDomNode();
                    updateDomDocSheetReference(node2, frwb, oldSheetName);

                }
                continue;

------------------------------------
Note that the variable/object : c , is not used in the code:
"CTChart c = chart.getCTChart();"

Hope Guillaume can debug this.

Regards,

P

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message