Package org.odftoolkit.odfdom.dom.attribute.text

Examples of org.odftoolkit.odfdom.dom.attribute.text.TextIncrementAttribute


   * Receives the value of the ODFDOM attribute representation <code>TextIncrementAttribute</code> , See {@odf.attribute text:increment}
   *
   * @return - the <code>Integer</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
   */
  public Integer getTextIncrementAttribute() {
    TextIncrementAttribute attr = (TextIncrementAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "increment");
    if (attr != null) {
      return Integer.valueOf(attr.intValue());
    }
    return null;
  }
View Full Code Here


   * Sets the value of ODFDOM attribute representation <code>TextIncrementAttribute</code> , See {@odf.attribute text:increment}
   *
   * @param textIncrementValue   The type is <code>Integer</code>
   */
  public void setTextIncrementAttribute(Integer textIncrementValue) {
    TextIncrementAttribute attr = new TextIncrementAttribute((OdfFileDom) this.ownerDocument);
    setOdfAttribute(attr);
    attr.setIntValue(textIncrementValue.intValue());
  }
View Full Code Here

   * Receives the value of the ODFDOM attribute representation <code>TextIncrementAttribute</code> , See {@odf.attribute text:increment}
   *
   * @return - the <code>Integer</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
   */
  public Integer getTextIncrementAttribute() {
    TextIncrementAttribute attr = (TextIncrementAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "increment");
    if (attr != null) {
      return Integer.valueOf(attr.intValue());
    }
    return null;
  }
View Full Code Here

   * Sets the value of ODFDOM attribute representation <code>TextIncrementAttribute</code> , See {@odf.attribute text:increment}
   *
   * @param textIncrementValue   The type is <code>Integer</code>
   */
  public void setTextIncrementAttribute(Integer textIncrementValue) {
    TextIncrementAttribute attr = new TextIncrementAttribute((OdfFileDom) this.ownerDocument);
    setOdfAttribute(attr);
    attr.setIntValue(textIncrementValue.intValue());
  }
View Full Code Here

TOP

Related Classes of org.odftoolkit.odfdom.dom.attribute.text.TextIncrementAttribute

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.