/** * Receives the value of the ODFDOM attribute representation <code>TextActiveAttribute</code> , * See {@odf.attribute text:active} * * @return - the <code>Boolean</code> , the value or <code>null</code>, if the attribute is not * set and no default value defined. */ public Boolean getTextActiveAttribute() { TextActiveAttribute attr = (TextActiveAttribute) getOdfAttribute(OdfDocumentNamespace.TEXT, "active"); if (attr != null) { return Boolean.valueOf(attr.booleanValue()); } return null; }
/** * Sets the value of ODFDOM attribute representation <code>TextActiveAttribute</code> , See * {@odf.attribute text:active} * * @param textActiveValue The type is <code>Boolean</code> */ public void setTextActiveAttribute(Boolean textActiveValue) { TextActiveAttribute attr = new TextActiveAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); attr.setBooleanValue(textActiveValue.booleanValue()); }