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