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