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