Examples of OfficeDocumentElement


Examples of org.odftoolkit.odfdom.dom.element.office.OfficeDocumentElement

   * @param officeMimetypeValue  the <code>String</code> value of <code>OfficeMimetypeAttribute</code>, see {@odf.attribute  office:mimetype} at specification
   * @param officeVersionValue  the <code>String</code> value of <code>OfficeVersionAttribute</code>, see {@odf.attribute  office:version} at specification
   * @return the element {@odf.element office:document}
   */
   public OfficeDocumentElement newOfficeDocumentElement(String officeMimetypeValue, String officeVersionValue) {
    OfficeDocumentElement officeDocument = ((OdfFileDom) this.ownerDocument).newOdfElement(OfficeDocumentElement.class);
    officeDocument.setOfficeMimetypeAttribute(officeMimetypeValue);
    officeDocument.setOfficeVersionAttribute(officeVersionValue);
    this.appendChild(officeDocument);
    return officeDocument;
  }
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.element.office.OfficeDocumentElement

   * Child element is new in Odf 1.2
   *
   * @return the element {@odf.element office:document}
   */
   public OfficeDocumentElement newOfficeDocumentElement(String officeMimetypeValue, String officeVersionValue) {
    OfficeDocumentElement officeDocument = ((OdfFileDom) this.ownerDocument).newOdfElement(OfficeDocumentElement.class);
    officeDocument.setOfficeMimetypeAttribute(officeMimetypeValue);
    officeDocument.setOfficeVersionAttribute(officeVersionValue);
    this.appendChild(officeDocument);
    return officeDocument;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.