Package org.odftoolkit.odfdom.dom.element.style

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


  // 293 - Adding optional Maps to generated ODF sources for indexed ODF elements
  // Method To be moved on StyleMasterPageElement
  private HashMap<String, String> getHeaderStyleProps(OdfDocument odfDoc, StyleMasterPageElement masterPage) throws Exception {
    StylePageLayoutElement pageLayout = getMasterPageLayout(odfDoc, masterPage);
    // ToDo: Combine a GETTER for header Properties in one method
    StyleHeaderStyleElement headerStyle = OdfElement.findFirstChildNode(StyleHeaderStyleElement.class, pageLayout);
    Assert.assertNotNull(headerStyle);
    StyleHeaderFooterPropertiesElement headerStyleProps = OdfElement.findFirstChildNode(StyleHeaderFooterPropertiesElement.class, headerStyle);
    Assert.assertNotNull(headerStyleProps);
    // fill map with header attributes name/values
    HashMap<String, String> headerProps = new HashMap<String, String>();
View Full Code Here

TOP

Related Classes of org.odftoolkit.odfdom.dom.element.style.StyleHeaderStyleElement

Copyright © 2018 www.massapicom. 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.