org.jopendocument.dom
Class ODDocument

java.lang.Object
  extended by org.jopendocument.dom.ODDocument
Direct Known Subclasses:
SpreadSheet, TextDocument

public abstract class ODDocument
extends Object

An ODF document, like a spreadsheet or a text file.

Author:
Sylvain

Constructor Summary
protected ODDocument(ODPackage orig)
           
 
Method Summary
protected  org.jdom.Element getBody()
           
 org.jdom.Document getContentDocument()
           
 ODEpoch getEpoch()
           
 ODEpoch getEpoch(boolean updateFromXML)
           
 XMLFormatVersion getFormatVersion()
           
 ODPackage getPackage()
           
 XMLVersion getVersion()
           
 File saveAs(File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ODDocument

protected ODDocument(ODPackage orig)
Method Detail

getVersion

public final XMLVersion getVersion()

getFormatVersion

public final XMLFormatVersion getFormatVersion()

getPackage

public final ODPackage getPackage()

getContentDocument

public final org.jdom.Document getContentDocument()

getBody

protected final org.jdom.Element getBody()

getEpoch

public final ODEpoch getEpoch()

getEpoch

public final ODEpoch getEpoch(boolean updateFromXML)

saveAs

public File saveAs(File file)
            throws FileNotFoundException,
                   IOException
Throws:
FileNotFoundException
IOException


Copyright © 2010 jOpenDocument All Rights Reserved.