Uses of Class
org.odftoolkit.simple.Document

Packages that use Document
org.odftoolkit.simple Provide high level methods to frequently used ODF documents. 
org.odftoolkit.simple.common Provide text extraction methods to all ODF documents and elements. 
org.odftoolkit.simple.common.navigation Provide classes to operate the content and style of the selected text content. 
org.odftoolkit.simple.table Provide convenient methods to manipulate table in ODF text and spreadsheet document. 
org.odftoolkit.simple.text Provide convenient methods to manipulate frequently used structures in ODF text document, such as list and section. 
org.odftoolkit.simple.text.list Provide convenient methods to handle list in ODF document. 
 

Uses of Document in org.odftoolkit.simple
 

Subclasses of Document in org.odftoolkit.simple
 class ChartDocument
          This class represents an empty ODF document , which will be in general embedded in an existing ODF (Spreadsheet) document.
 class GraphicsDocument
          This class represents an empty ODF graphics document.
 class PresentationDocument
          This class represents an empty ODF presentation.
 class SpreadsheetDocument
          This class represents an empty ODF spreadsheet document.
 class TextDocument
          This class represents an empty ODF text document.
 

Methods in org.odftoolkit.simple that return Document
 Document Document.getEmbeddedDocument(String documentPath)
          Returns an embedded OdfPackageDocument from the given package path.
static Document Document.loadDocument(File file)
          Creates a Document from the OpenDocument provided by a File.
static Document Document.loadDocument(InputStream inStream)
          Creates a Document from the OpenDocument provided by a resource Stream.
static Document Document.loadDocument(OdfPackage odfPackage)
          Creates a Document from the OpenDocument provided by an ODF package.
static Document Document.loadDocument(OdfPackage odfPackage, String internalPath)
          Creates a Document from the OpenDocument provided by an ODF package.
static Document Document.loadDocument(String documentPath)
          Loads a Document from the provided path.
protected static Document Document.loadTemplate(OdfPackageDocument.Resource res, Document.OdfMediaType odfMediaType)
          Loads an OpenDocument from the given resource.
 

Methods in org.odftoolkit.simple that return types with arguments of type Document
 List<Document> Document.getEmbeddedDocuments()
          Method returns all embedded OdfPackageDocuments, which match a valid OdfMediaType, of the root OdfPackageDocument.
 List<Document> Document.getEmbeddedDocuments(Document.OdfMediaType mediaType)
          Method returns all embedded OdfPackageDocuments of the root OdfPackageDocument matching the according MediaType.
 

Uses of Document in org.odftoolkit.simple.common
 

Methods in org.odftoolkit.simple.common with parameters of type Document
static String EditableTextExtractor.getText(Document doc)
          Return the text content of document as String
static EditableTextExtractor EditableTextExtractor.newOdfEditableTextExtractor(Document doc)
          An instance of EditableTextExtractor will be created to extract the editable text content in specified document.
 

Uses of Document in org.odftoolkit.simple.common.navigation
 

Constructors in org.odftoolkit.simple.common.navigation with parameters of type Document
TextNavigation(String pattern, Document doc)
          Construct TextNavigation with matched condition and navigation scope.
 

Uses of Document in org.odftoolkit.simple.table
 

Fields in org.odftoolkit.simple.table declared as Document
protected  Document Table.mDocument
           
 

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

Constructors in org.odftoolkit.simple.table with parameters of type Document
Table.TableBuilder(Document doc)
          SlideBuilder constructor.
 

Uses of Document in org.odftoolkit.simple.text
 

Methods in org.odftoolkit.simple.text that return Document
 Document Section.getOwnerDocument()
          Return the ODF document which this section belongs to.
 

Uses of Document in org.odftoolkit.simple.text.list
 

Constructors in org.odftoolkit.simple.text.list with parameters of type Document
BulletDecorator(Document doc)
          Constructor with Document.
ImageDecorator(Document doc, URI imageUri)
          Constructor with Document and image URI.
NumberDecorator(Document doc)
          Constructor with Document.
OutLineDecorator(Document doc)
          Constructor with Document.
 



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