Examples of StyleFooterStyleElement


Examples of org.odftoolkit.odfdom.dom.element.style.StyleFooterStyleElement

  // 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
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.