Examples of DrawTextPathAttribute


Examples of org.odftoolkit.odfdom.dom.attribute.draw.DrawTextPathAttribute

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

Examples of org.odftoolkit.odfdom.dom.attribute.draw.DrawTextPathAttribute

   * Sets the value of ODFDOM attribute representation <code>DrawTextPathAttribute</code> , See {@odf.attribute draw:text-path}
   *
   * @param drawTextPathValue   The type is <code>Boolean</code>
   */
  public void setDrawTextPathAttribute(Boolean drawTextPathValue) {
    DrawTextPathAttribute attr = new DrawTextPathAttribute((OdfFileDom) this.ownerDocument);
    setOdfAttribute(attr);
    attr.setBooleanValue(drawTextPathValue.booleanValue());
  }
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.attribute.draw.DrawTextPathAttribute

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

Examples of org.odftoolkit.odfdom.dom.attribute.draw.DrawTextPathAttribute

   * Sets the value of ODFDOM attribute representation <code>DrawTextPathAttribute</code> , See {@odf.attribute draw:text-path}
   *
   * @param drawTextPathValue   The type is <code>Boolean</code>
   */
  public void setDrawTextPathAttribute(Boolean drawTextPathValue) {
    DrawTextPathAttribute attr = new DrawTextPathAttribute((OdfFileDom) this.ownerDocument);
    setOdfAttribute(attr);
    attr.setBooleanValue(drawTextPathValue.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.