Package org.odftoolkit.odfdom.dom.element.office

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


   * Constructor of <code>OdfOfficeMeta</code> feature.
   *
   * @param metaDom  the file DOM element of meta.xml
   */
  public OdfOfficeMeta(OdfFileDom metaDom) {
      OfficeDocumentMetaElement metaEle = OdfElement.findFirstChildNode(OfficeDocumentMetaElement.class, metaDom);
      mOfficeMetaElement = OdfElement.findFirstChildNode(OfficeMetaElement.class, metaEle);
  }
View Full Code Here


   * Constructor of <code>OdfOfficeMeta</code> feature.
   *
   * @param metaDom  the file DOM element of meta.xml
   */
  public OdfOfficeMeta(OdfFileDom metaDom) {
      OfficeDocumentMetaElement metaEle = OdfElement.findFirstChildNode(OfficeDocumentMetaElement.class, metaDom);
      mOfficeMetaElement = OdfElement.findFirstChildNode(OfficeMetaElement.class, metaEle);
  }
View Full Code Here

   * Constructor of <code>Meta</code> feature.
   *
   * @param metaDom  the file DOM element of meta.xml
   */
  public Meta(OdfFileDom metaDom) {
    OfficeDocumentMetaElement metaEle = OdfElement.findFirstChildNode(OfficeDocumentMetaElement.class, metaDom);
    mOfficeMetaElement = OdfElement.findFirstChildNode(OfficeMetaElement.class, metaEle);
  }
View Full Code Here

   * @param odfDocument   the document the XML files belongs to
   * @param packagePath   the internal package path to the XML file
   */
  public OdfMetaDom(OdfSchemaDocument odfDocument, String packagePath) {
    super(odfDocument, packagePath);
    OfficeDocumentMetaElement rootElement = this.getRootElement();
    if(rootElement == null){   
      rootElement = new OfficeDocumentMetaElement(this);
      this.appendChild(rootElement);
      OfficeMetaElement officeMetaElement = new OfficeMetaElement(this);
      rootElement.appendChild(officeMetaElement);
    }
  }
View Full Code Here

TOP

Related Classes of org.odftoolkit.odfdom.dom.element.office.OfficeDocumentMetaElement

Copyright © 2018 www.massapicom. 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.