Uses of Class
org.odftoolkit.odfdom.doc.OdfDocument

Packages that use OdfDocument
org.odftoolkit.odfdom   
org.odftoolkit.odfdom.doc The "Document Layer" exisit for usability reasons, it gives a feature based view on the document model. 
org.odftoolkit.odfdom.doc.draw   
org.odftoolkit.odfdom.doc.table Provide convenient methods to manipulate table in ODF text and spreadsheet document. 
 

Uses of OdfDocument in org.odftoolkit.odfdom
 

Fields in org.odftoolkit.odfdom declared as OdfDocument
protected  OdfDocument OdfElement.mOdfDocument
           
 

Methods in org.odftoolkit.odfdom that return OdfDocument
 OdfDocument OdfFileDom.getOdfDocument()
          Retrieves the Odf Document
 

Constructors in org.odftoolkit.odfdom with parameters of type OdfDocument
OdfFileDom(OdfDocument odfDocument, java.lang.String packagePath)
          Creates the DOM representation of an XML file of an Odf document.
 

Uses of OdfDocument in org.odftoolkit.odfdom.doc
 

Subclasses of OdfDocument in org.odftoolkit.odfdom.doc
 class OdfChartDocument
          This class represents an empty ODF document , which will be in general embedded in an existing ODF (Spreadsheet) document.
 class OdfGraphicsDocument
          This class represents an empty ODF graphics document.
 class OdfImageDocument
          This class represents an ODF image document.
 class OdfPresentationDocument
          This class represents an empty ODF presentation.
 class OdfSpreadsheetDocument
          This class represents an empty ODF spreadsheet document.
 class OdfTextDocument
          This class represents an empty ODF text document.
 

Methods in org.odftoolkit.odfdom.doc that return OdfDocument
 OdfDocument OdfDocument.getEmbeddedDocument(java.lang.String pathToObject)
          Returns an embedded OdfDocument of the current OdfDocument matching to the internal package path given as an parameter.
protected  OdfDocument OdfDocument.getRootDocument()
          Retreives the root OdfDocument that determines the mediatype of the package.
static OdfDocument OdfDocument.loadDocument(java.io.File file)
          Creates an OdfDocument from the OpenDocument provided by a File.
static OdfDocument OdfDocument.loadDocument(java.io.InputStream inStream)
          Creates an OdfDocument from the OpenDocument provided by a resource Stream.
static OdfDocument OdfDocument.loadDocument(OdfPackage odfPackage)
          Creates an OdfDocument from the OpenDocument provided by an ODF package.
static OdfDocument OdfDocument.loadDocument(java.lang.String path)
          Loads an OdfDocument from the provided path.
protected static OdfDocument OdfDocument.loadTemplate(OdfDocument.Resource res)
          Loads an OpenDocument from the given resource
 

Methods in org.odftoolkit.odfdom.doc that return types with arguments of type OdfDocument
 java.util.List<OdfDocument> OdfDocument.getEmbeddedDocuments()
          Method returns all embedded OdfDocuments, which match a valid OdfMediaType, of the current OdfDocument.
 java.util.List<OdfDocument> OdfDocument.getEmbeddedDocuments(OdfDocument.OdfMediaType mediaType)
          Method returns all embedded OdfDocuments of the current OdfDocument matching the according MediaType.
 

Methods in org.odftoolkit.odfdom.doc with parameters of type OdfDocument
 void OdfDocument.embedDocument(java.lang.String pkgPathToChildDocument, OdfDocument newOdfDocument)
          Add an OdfDocument as an embedded OdfDocument to the current OdfDocument
protected  void OdfDocument.setRootDocument(OdfDocument root)
          Sets the root OdfDocument that determines the mediatype of the package.
 

Uses of OdfDocument in org.odftoolkit.odfdom.doc.draw
 

Methods in org.odftoolkit.odfdom.doc.draw with parameters of type OdfDocument
static void OdfDrawImage.deleteImage(OdfDocument doc, OdfDrawImage image)
          The method deletes the specified image from image container.
static void OdfDrawImage.deleteImageByPath(OdfDocument doc, java.lang.String imagePath)
          The method deletes one or more images from image container by image path.
static java.util.List<OdfDrawImage> OdfDrawImage.getImageByPath(OdfDocument doc, java.lang.String imagePath)
          The method returns the specific one or more images by image path since the image may be inserted to the document several times.
static int OdfDrawImage.getImageCount(OdfDocument doc)
          Get the count of image objects in the image container.
static java.util.Set<java.lang.String> OdfDrawImage.getImagePathSet(OdfDocument doc)
          The method return the set of all the image paths.
static java.util.List<OdfDrawImage> OdfDrawImage.getImages(OdfDocument doc)
          The method return the image list in the image container.
 

Uses of OdfDocument in org.odftoolkit.odfdom.doc.table
 

Fields in org.odftoolkit.odfdom.doc.table declared as OdfDocument
protected  OdfDocument OdfTable.mDocument
           
 

Methods in org.odftoolkit.odfdom.doc.table with parameters of type OdfDocument
static OdfTable OdfTable.newTable(OdfDocument document)
          Construct the OdfTable feature.
static OdfTable OdfTable.newTable(OdfDocument document, int numRows, int numCols)
          Construct the OdfTable feature with a specified row number and column number.
static OdfTable OdfTable.newTable(OdfDocument document, int numRows, int numCols, int headerRowNumber, int headerColumnNumber)
          Construct the OdfTable feature with a specified row number, column number, header row number, header column number.
static OdfTable OdfTable.newTable(OdfDocument document, java.lang.String[] rowLabel, java.lang.String[] columnLabel, double[][] data)
          Construct the OdfTable feature with a specified 2 dimension array as the data of this table.
static OdfTable OdfTable.newTable(OdfDocument document, java.lang.String[] rowLabel, java.lang.String[] columnLabel, java.lang.String[][] data)
          Construct the OdfTable feature with a specified 2 dimension array as the data of this table.
 



Copyright © 2008-2010 ODF Toolkit Project. All Rights Reserved.