Examples of PresentationMouseAsPenAttribute


Examples of org.odftoolkit.odfdom.dom.attribute.presentation.PresentationMouseAsPenAttribute

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

Examples of org.odftoolkit.odfdom.dom.attribute.presentation.PresentationMouseAsPenAttribute

   * Sets the value of ODFDOM attribute representation <code>PresentationMouseAsPenAttribute</code> , See {@odf.attribute presentation:mouse-as-pen}
   *
   * @param presentationMouseAsPenValue   The type is <code>Boolean</code>
   */
  public void setPresentationMouseAsPenAttribute(Boolean presentationMouseAsPenValue) {
    PresentationMouseAsPenAttribute attr = new PresentationMouseAsPenAttribute((OdfFileDom) this.ownerDocument);
    setOdfAttribute(attr);
    attr.setBooleanValue(presentationMouseAsPenValue.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.