OdfTextParagraph.ELEMENT_NAME.getUri(),
OdfTextParagraph.ELEMENT_NAME.getLocalName());
Assert.assertTrue(lst.getLength() > 0);
OdfTextParagraph p0 = (OdfTextParagraph) lst.item(lst.getLength() - 1);
OfficeDocumentContentElement content = contentDom.newOdfElement(OfficeDocumentContentElement.class);
OfficeBodyElement body = contentDom.newOdfElement(OfficeBodyElement.class);
content.appendChild(body);
ChartChartElement chart = contentDom.newOdfElement(ChartChartElement.class);
//create children element
ChartPlotAreaElement plotArea = chart.newChartPlotAreaElement();
body.appendChild(chart);
p0.getParentNode().insertBefore(content, p0);