Examples of NumberPositionAttribute


Examples of org.odftoolkit.odfdom.dom.attribute.number.NumberPositionAttribute

   * Attribute is mandatory.
   *
   * @return - the <code>Integer</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
   */
  public Integer getNumberPositionAttribute() {
    NumberPositionAttribute attr = (NumberPositionAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "position");
    if (attr != null) {
      return Integer.valueOf(attr.intValue());
    }
    return null;
  }
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.attribute.number.NumberPositionAttribute

   * Sets the value of ODFDOM attribute representation <code>NumberPositionAttribute</code> , See {@odf.attribute number:position}
   *
   * @param numberPositionValue   The type is <code>Integer</code>
   */
  public void setNumberPositionAttribute(Integer numberPositionValue) {
    NumberPositionAttribute attr = new NumberPositionAttribute((OdfFileDom) this.ownerDocument);
    setOdfAttribute(attr);
    attr.setIntValue(numberPositionValue.intValue());
  }
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.