/** * Create child element {@odf.element style:default-style}. * * @param styleFamilyValue the <code>String</code> value of <code>StyleFamilyAttribute</code>, see {@odf.attribute style:family} at specification * @return the element {@odf.element style:default-style} */ public StyleDefaultStyleElement newStyleDefaultStyleElement(String styleFamilyValue) { StyleDefaultStyleElement styleDefaultStyle = ((OdfFileDom) this.ownerDocument).newOdfElement(StyleDefaultStyleElement.class); styleDefaultStyle.setStyleFamilyAttribute(styleFamilyValue); this.appendChild(styleDefaultStyle); return styleDefaultStyle; }
/** * Create child element {@odf.element style:default-style}. * * @param styleFamilyValue the <code>String</code> value of <code>StyleFamilyAttribute</code>, see {@odf.attribute style:family} at specification * @return the element {@odf.element style:default-style} */ public StyleDefaultStyleElement newStyleDefaultStyleElement(String styleFamilyValue) { StyleDefaultStyleElement styleDefaultStyle = ((OdfFileDom) this.ownerDocument).newOdfElement(StyleDefaultStyleElement.class); styleDefaultStyle.setStyleFamilyAttribute(styleFamilyValue); this.appendChild(styleDefaultStyle); return styleDefaultStyle; }
/** * Create child element {@odf.element style:default-style}. * * @param styleFamilyValue the <code>String</code> value of <code>StyleFamilyAttribute</code>, see {@odf.attribute style:family} at specification * @return the element {@odf.element style:default-style} */ public StyleDefaultStyleElement newStyleDefaultStyleElement(String styleFamilyValue) { StyleDefaultStyleElement styleDefaultStyle = ((OdfFileDom) this.ownerDocument).newOdfElement(StyleDefaultStyleElement.class); styleDefaultStyle.setStyleFamilyAttribute(styleFamilyValue); this.appendChild(styleDefaultStyle); return styleDefaultStyle; }