// ODFDOM ToDo: http://odftoolkit.org/bugzilla/show_bug.cgi?id=293
// 293 - Adding optional Maps to generated ODF sources for indexed ODF elements
// Method To be moved on StyleMasterPageElement
private HashMap<String, String> getFooterStyleProps(OdfDocument odfDoc, StyleMasterPageElement masterPage) throws Exception {
StylePageLayoutElement pageLayout = getMasterPageLayout(odfDoc, masterPage);
// ODFDOM ToDo: Combine a GETTER for footer Properties in one method
StyleFooterStyleElement footerStyle = OdfElement.findFirstChildNode(StyleFooterStyleElement.class, pageLayout);
Assert.assertNotNull(footerStyle);
StyleHeaderFooterPropertiesElement footerStyleProps = OdfElement.findFirstChildNode(StyleHeaderFooterPropertiesElement.class, footerStyle);
Assert.assertNotNull(footerStyleProps);