/** * Receives the value of the ODFDOM attribute representation <code>StyleRelHeightAttribute</code> * , See {@odf.attribute style:rel-height} * * @return - the <code>String</code> , the value or <code>null</code>, if the attribute is not set * and no default value defined. */ public String getStyleRelHeightAttribute() { StyleRelHeightAttribute attr = (StyleRelHeightAttribute) getOdfAttribute(OdfName.get(OdfNamespace.get(OdfNamespaceNames.STYLE), "rel-height")); if (attr != null) { return String.valueOf(attr.getValue()); } return null; }
/** * Sets the value of ODFDOM attribute representation <code>StyleRelHeightAttribute</code> , See * {@odf.attribute style:rel-height} * * @param styleRelHeightValue The type is <code>String</code> */ public void setStyleRelHeightAttribute(String styleRelHeightValue) { StyleRelHeightAttribute attr = new StyleRelHeightAttribute((OdfFileDom) this.ownerDocument); setOdfAttribute(attr); attr.setValue(styleRelHeightValue); }