Examples of DrawProtectedAttribute


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

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

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

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