public void testGetOdfElement() {
try {
//TextDocument doc = TextDocument.loadDocument(ResourceUtilities.getTestResourceAsStream("headerFooterHidden.odt"));
TextDocument doc = TextDocument.newTextDocument();
Footer footer = doc.getFooter();
StyleFooterElement footerEle = footer.getOdfElement();
footerEle.setTextContent("hello world");
Assert.assertEquals("hello world", footerEle.getTextContent());
//save
//doc.save(ResourceUtilities.newTestOutputFile("footerOutput.odt"));
} catch (Exception e) {
Logger.getLogger(FooterTest.class.getName()).log(Level.SEVERE, null, e);