/** * Create child element {@odf.element style:page-layout}. * * @param styleNameValue the <code>String</code> value of <code>StyleNameAttribute</code>, see {@odf.attribute style:name} at specification * @return the element {@odf.element style:page-layout} */ public StylePageLayoutElement newStylePageLayoutElement(String styleNameValue) { StylePageLayoutElement stylePageLayout = ((OdfFileDom) this.ownerDocument).newOdfElement(StylePageLayoutElement.class); stylePageLayout.setStyleNameAttribute(styleNameValue); this.appendChild(stylePageLayout); return stylePageLayout; }
/** * Create child element {@odf.element style:page-layout}. * * @param styleNameValue the <code>String</code> value of <code>StyleNameAttribute</code>, see {@odf.attribute style:name} at specification * @return the element {@odf.element style:page-layout} */ public StylePageLayoutElement newStylePageLayoutElement(String styleNameValue) { StylePageLayoutElement stylePageLayout = ((OdfFileDom) this.ownerDocument).newOdfElement(StylePageLayoutElement.class); stylePageLayout.setStyleNameAttribute(styleNameValue); this.appendChild(stylePageLayout); return stylePageLayout; }
/** * Create child element {@odf.element style:page-layout}. * * @param styleNameValue the <code>String</code> value of <code>StyleNameAttribute</code>, see {@odf.attribute style:name} at specification * @return the element {@odf.element style:page-layout} */ public StylePageLayoutElement newStylePageLayoutElement(String styleNameValue) { StylePageLayoutElement stylePageLayout = ((OdfFileDom) this.ownerDocument).newOdfElement(StylePageLayoutElement.class); stylePageLayout.setStyleNameAttribute(styleNameValue); this.appendChild(stylePageLayout); return stylePageLayout; }