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

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


    // print orientation
    checkStringValue(masterPage.getPrintOrientation(), properties
        .getStylePrintOrientationAttribute());

    // check footnote separator line
    StyleFootnoteSepElement footnoteSep = (StyleFootnoteSepElement) properties
        .getElementsByTagName("style:footnote-sep").item(0);
    Assert.assertNotNull(footnoteSep);
    checkStringValue(masterPage.getFootnoteSepAdjustment(), footnoteSep
        .getStyleAdjustmentAttribute());
    checkStringValue(masterPage.getFootnoteSepColor(), footnoteSep
        .getStyleColorAttribute());
    checkStringValue(masterPage.getFootnoteSepLineStyle(), footnoteSep
        .getStyleLineStyleAttribute());
    checkDoubleValue(masterPage.getFootnoteSepDistanceAfterSep(),
        footnoteSep.getStyleDistanceAfterSepAttribute());
    checkDoubleValue(masterPage.getFootnoteSepDistanceBeforeSep(),
        footnoteSep.getStyleDistanceBeforeSepAttribute());
    checkDoubleValue(masterPage.getFootnoteSepThickness(), footnoteSep
        .getStyleWidthAttribute());
    checkDoubleValue(masterPage.getFootnoteSepWidth(), footnoteSep
        .getStyleRelWidthAttribute());
  }
View Full Code Here

TOP

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

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.