Examples of NumberTextualAttribute


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

   * Receives the value of the ODFDOM attribute representation <code>NumberTextualAttribute</code> , See {@odf.attribute number:textual}
   *
   * @return - the <code>Boolean</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
   */
  public Boolean getNumberTextualAttribute() {
    NumberTextualAttribute attr = (NumberTextualAttribute) getOdfAttribute(OdfDocumentNamespace.NUMBER, "textual");
    if (attr != null) {
      return Boolean.valueOf(attr.booleanValue());
    }
    return Boolean.valueOf(NumberTextualAttribute.DEFAULT_VALUE);
  }
View Full Code Here

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

   * Sets the value of ODFDOM attribute representation <code>NumberTextualAttribute</code> , See {@odf.attribute number:textual}
   *
   * @param numberTextualValue   The type is <code>Boolean</code>
   */
  public void setNumberTextualAttribute(Boolean numberTextualValue) {
    NumberTextualAttribute attr = new NumberTextualAttribute((OdfFileDom) this.ownerDocument);
    setOdfAttribute(attr);
    attr.setBooleanValue(numberTextualValue.booleanValue());
  }
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.