// 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);
// fill map with header attributes name/values