Uses of Class
org.odftoolkit.simple.TextDocument

Packages that use TextDocument
org.odftoolkit.simple Provide high level methods to frequently used ODF documents. 
org.odftoolkit.simple.common.navigation Provide classes to operate the content and style of the selected text content. 
 

Uses of TextDocument in org.odftoolkit.simple
 

Methods in org.odftoolkit.simple that return TextDocument
static TextDocument TextDocument.loadDocument(File file)
          Creates an TextDocument from the OpenDocument provided by a File.
static TextDocument TextDocument.loadDocument(InputStream inputStream)
          Creates an TextDocument from the OpenDocument provided by a resource Stream.
static TextDocument TextDocument.loadDocument(String documentPath)
          Loads an TextDocument from the provided path.
static TextDocument TextDocument.newTextDocument()
          Creates an empty text document.
static TextDocument TextDocument.newTextDocument(TextDocument.OdfMediaType mimeType)
          Creates an empty text document.
static TextDocument TextDocument.newTextMasterDocument()
          Creates an empty text master document.
static TextDocument TextDocument.newTextTemplateDocument()
          Creates an empty text template.
static TextDocument TextDocument.newTextWebDocument()
          Creates an empty text web.
 

Methods in org.odftoolkit.simple with parameters of type TextDocument
 void TextDocument.insertContentFromDocumentAfter(TextDocument sourceDocument, Paragraph referenceParagraph, boolean isCopyStyle)
          Copy text content of the source TextDocument and insert it to the current TextDocument after the reference Paragraph, with Styles or without Styles.
 void TextDocument.insertContentFromDocumentBefore(TextDocument sourceDocument, Paragraph referenceParagraph, boolean isCopyStyle)
          Copy text content of the source TextDocument and insert it to the current TextDocument before the reference Paragraph, with Styles or without Styles.
 

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

Methods in org.odftoolkit.simple.common.navigation with parameters of type TextDocument
 void TextSelection.replaceWith(TextDocument newTextDocument)
          Replace the content with a TextDocument with Styles.
 void TextDocumentSelection.replaceWithTextDocument(TextDocument textDocument)
          Replace the Searched Content with a TextDocument with Styles.
 

Constructors in org.odftoolkit.simple.common.navigation with parameters of type TextDocument
TextStyleNavigation(Map<OdfStyleProperty,String> props, TextDocument doc)
          Construct TextStyleNavigation with style properties condition and navigation scope.
 



Copyright © 2010-2017 The Apache Software Foundation. All Rights Reserved.