Package org.odftoolkit.odfdom.dom.attribute.table

Examples of org.odftoolkit.odfdom.dom.attribute.table.TableMaximumDifferenceAttribute


   * Receives the value of the ODFDOM attribute representation <code>TableMaximumDifferenceAttribute</code> , See {@odf.attribute table:maximum-difference}
   *
   * @return - the <code>Double</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
   */
  public Double getTableMaximumDifferenceAttribute() {
    TableMaximumDifferenceAttribute attr = (TableMaximumDifferenceAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "maximum-difference");
    if (attr != null) {
      return Double.valueOf(attr.doubleValue());
    }
    return Double.valueOf(TableMaximumDifferenceAttribute.DEFAULT_VALUE);
  }
View Full Code Here


   * Sets the value of ODFDOM attribute representation <code>TableMaximumDifferenceAttribute</code> , See {@odf.attribute table:maximum-difference}
   *
   * @param tableMaximumDifferenceValue   The type is <code>Double</code>
   */
  public void setTableMaximumDifferenceAttribute(Double tableMaximumDifferenceValue) {
    TableMaximumDifferenceAttribute attr = new TableMaximumDifferenceAttribute((OdfFileDom) this.ownerDocument);
    setOdfAttribute(attr);
    attr.setDoubleValue(tableMaximumDifferenceValue.doubleValue());
  }
View Full Code Here

TOP

Related Classes of org.odftoolkit.odfdom.dom.attribute.table.TableMaximumDifferenceAttribute

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.