blob: ff527eeb315d70cdbb9db8f63f00c1fee5f70bb9 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (version 1.7.0_03) on Fri Feb 22 10:35:19 CET 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class org.odftoolkit.simple.TextDocument (Simple ODF API v0.8-incubating - http://incubator.apache.org/odftoolkit/)</title>
<meta name="date" content="2013-02-22">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class org.odftoolkit.simple.TextDocument (Simple ODF API v0.8-incubating - http://incubator.apache.org/odftoolkit/)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../org/odftoolkit/simple/TextDocument.html" title="class in org.odftoolkit.simple">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/odftoolkit/simple//class-useTextDocument.html" target="_top">Frames</a></li>
<li><a href="TextDocument.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class org.odftoolkit.simple.TextDocument" class="title">Uses of Class<br>org.odftoolkit.simple.TextDocument</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../org/odftoolkit/simple/TextDocument.html" title="class in org.odftoolkit.simple">TextDocument</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#org.odftoolkit.simple">org.odftoolkit.simple</a></td>
<td class="colLast">
<div class="block">Provide high level methods to frequently used ODF documents</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.odftoolkit.simple.common.navigation">org.odftoolkit.simple.common.navigation</a></td>
<td class="colLast">
<div class="block">Provide classes to operate the content and style of the selected text content.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.odftoolkit.simple">
<!-- -->
</a>
<h3>Uses of <a href="../../../../org/odftoolkit/simple/TextDocument.html" title="class in org.odftoolkit.simple">TextDocument</a> in <a href="../../../../org/odftoolkit/simple/package-summary.html">org.odftoolkit.simple</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../org/odftoolkit/simple/package-summary.html">org.odftoolkit.simple</a> that return <a href="../../../../org/odftoolkit/simple/TextDocument.html" title="class in org.odftoolkit.simple">TextDocument</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/odftoolkit/simple/TextDocument.html" title="class in org.odftoolkit.simple">TextDocument</a></code></td>
<td class="colLast"><span class="strong">TextDocument.</span><code><strong><a href="../../../../org/odftoolkit/simple/TextDocument.html#loadDocument(java.io.File)">loadDocument</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;file)</code>
<div class="block">Creates an TextDocument from the OpenDocument provided by a File.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/odftoolkit/simple/TextDocument.html" title="class in org.odftoolkit.simple">TextDocument</a></code></td>
<td class="colLast"><span class="strong">TextDocument.</span><code><strong><a href="../../../../org/odftoolkit/simple/TextDocument.html#loadDocument(java.io.InputStream)">loadDocument</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;inputStream)</code>
<div class="block">Creates an TextDocument from the OpenDocument provided by a resource
Stream.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/odftoolkit/simple/TextDocument.html" title="class in org.odftoolkit.simple">TextDocument</a></code></td>
<td class="colLast"><span class="strong">TextDocument.</span><code><strong><a href="../../../../org/odftoolkit/simple/TextDocument.html#loadDocument(java.lang.String)">loadDocument</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;documentPath)</code>
<div class="block">Loads an TextDocument from the provided path.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/odftoolkit/simple/TextDocument.html" title="class in org.odftoolkit.simple">TextDocument</a></code></td>
<td class="colLast"><span class="strong">TextDocument.</span><code><strong><a href="../../../../org/odftoolkit/simple/TextDocument.html#newTextDocument()">newTextDocument</a></strong>()</code>
<div class="block">Creates an empty text document.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/odftoolkit/simple/TextDocument.html" title="class in org.odftoolkit.simple">TextDocument</a></code></td>
<td class="colLast"><span class="strong">TextDocument.</span><code><strong><a href="../../../../org/odftoolkit/simple/TextDocument.html#newTextDocument(org.odftoolkit.simple.TextDocument.OdfMediaType)">newTextDocument</a></strong>(<a href="../../../../org/odftoolkit/simple/TextDocument.OdfMediaType.html" title="enum in org.odftoolkit.simple">TextDocument.OdfMediaType</a>&nbsp;mimeType)</code>
<div class="block">Creates an empty text document.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/odftoolkit/simple/TextDocument.html" title="class in org.odftoolkit.simple">TextDocument</a></code></td>
<td class="colLast"><span class="strong">TextDocument.</span><code><strong><a href="../../../../org/odftoolkit/simple/TextDocument.html#newTextMasterDocument()">newTextMasterDocument</a></strong>()</code>
<div class="block">Creates an empty text master document.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/odftoolkit/simple/TextDocument.html" title="class in org.odftoolkit.simple">TextDocument</a></code></td>
<td class="colLast"><span class="strong">TextDocument.</span><code><strong><a href="../../../../org/odftoolkit/simple/TextDocument.html#newTextTemplateDocument()">newTextTemplateDocument</a></strong>()</code>
<div class="block">Creates an empty text template.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/odftoolkit/simple/TextDocument.html" title="class in org.odftoolkit.simple">TextDocument</a></code></td>
<td class="colLast"><span class="strong">TextDocument.</span><code><strong><a href="../../../../org/odftoolkit/simple/TextDocument.html#newTextWebDocument()">newTextWebDocument</a></strong>()</code>
<div class="block">Creates an empty text web.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../org/odftoolkit/simple/package-summary.html">org.odftoolkit.simple</a> with parameters of type <a href="../../../../org/odftoolkit/simple/TextDocument.html" title="class in org.odftoolkit.simple">TextDocument</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">TextDocument.</span><code><strong><a href="../../../../org/odftoolkit/simple/TextDocument.html#insertContentFromDocumentAfter(org.odftoolkit.simple.TextDocument, org.odftoolkit.simple.text.Paragraph, boolean)">insertContentFromDocumentAfter</a></strong>(<a href="../../../../org/odftoolkit/simple/TextDocument.html" title="class in org.odftoolkit.simple">TextDocument</a>&nbsp;sourceDocument,
<a href="../../../../org/odftoolkit/simple/text/Paragraph.html" title="class in org.odftoolkit.simple.text">Paragraph</a>&nbsp;referenceParagraph,
boolean&nbsp;isCopyStyle)</code>
<div class="block">Copy text content of the source TextDocument and insert it to the current TextDocument
after the reference Paragraph, with Styles or without Styles.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">TextDocument.</span><code><strong><a href="../../../../org/odftoolkit/simple/TextDocument.html#insertContentFromDocumentBefore(org.odftoolkit.simple.TextDocument, org.odftoolkit.simple.text.Paragraph, boolean)">insertContentFromDocumentBefore</a></strong>(<a href="../../../../org/odftoolkit/simple/TextDocument.html" title="class in org.odftoolkit.simple">TextDocument</a>&nbsp;sourceDocument,
<a href="../../../../org/odftoolkit/simple/text/Paragraph.html" title="class in org.odftoolkit.simple.text">Paragraph</a>&nbsp;referenceParagraph,
boolean&nbsp;isCopyStyle)</code>
<div class="block">Copy text content of the source TextDocument and insert it to the current TextDocument
before the reference Paragraph, with Styles or without Styles.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.odftoolkit.simple.common.navigation">
<!-- -->
</a>
<h3>Uses of <a href="../../../../org/odftoolkit/simple/TextDocument.html" title="class in org.odftoolkit.simple">TextDocument</a> in <a href="../../../../org/odftoolkit/simple/common/navigation/package-summary.html">org.odftoolkit.simple.common.navigation</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../org/odftoolkit/simple/common/navigation/package-summary.html">org.odftoolkit.simple.common.navigation</a> with parameters of type <a href="../../../../org/odftoolkit/simple/TextDocument.html" title="class in org.odftoolkit.simple">TextDocument</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">TextSelection.</span><code><strong><a href="../../../../org/odftoolkit/simple/common/navigation/TextSelection.html#replaceWith(org.odftoolkit.simple.TextDocument)">replaceWith</a></strong>(<a href="../../../../org/odftoolkit/simple/TextDocument.html" title="class in org.odftoolkit.simple">TextDocument</a>&nbsp;newTextDocument)</code>
<div class="block">Replace the content with a TextDocument with Styles.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">TextDocumentSelection.</span><code><strong><a href="../../../../org/odftoolkit/simple/common/navigation/TextDocumentSelection.html#replaceWithTextDocument(org.odftoolkit.simple.TextDocument)">replaceWithTextDocument</a></strong>(<a href="../../../../org/odftoolkit/simple/TextDocument.html" title="class in org.odftoolkit.simple">TextDocument</a>&nbsp;textDocument)</code>
<div class="block">Replace the Searched Content with a TextDocument with Styles.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../../../org/odftoolkit/simple/common/navigation/package-summary.html">org.odftoolkit.simple.common.navigation</a> with parameters of type <a href="../../../../org/odftoolkit/simple/TextDocument.html" title="class in org.odftoolkit.simple">TextDocument</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/common/navigation/TextStyleNavigation.html#TextStyleNavigation(java.util.Map, org.odftoolkit.simple.TextDocument)">TextStyleNavigation</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;org.odftoolkit.odfdom.dom.style.props.OdfStyleProperty,<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;props,
<a href="../../../../org/odftoolkit/simple/TextDocument.html" title="class in org.odftoolkit.simple">TextDocument</a>&nbsp;doc)</code>
<div class="block">Construct <code>TextStyleNavigation</code> with style properties condition and
navigation scope.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../org/odftoolkit/simple/TextDocument.html" title="class in org.odftoolkit.simple">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/odftoolkit/simple//class-useTextDocument.html" target="_top">Frames</a></li>
<li><a href="TextDocument.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2010-2013 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
</body>
</html>