| <!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:16 CET 2013 --> |
| <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> |
| <title>PresentationDocument (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="PresentationDocument (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 class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/PresentationDocument.html">Use</a></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><a href="../../../org/odftoolkit/simple/JarManifest.html" title="class in org.odftoolkit.simple"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../org/odftoolkit/simple/PresentationDocument.OdfMediaType.html" title="enum in org.odftoolkit.simple"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../index.html?org/odftoolkit/simple/PresentationDocument.html" target="_top">Frames</a></li> |
| <li><a href="PresentationDocument.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> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested_class_summary">Nested</a> | </li> |
| <li><a href="#fields_inherited_from_class_org.odftoolkit.odfdom.dom.OdfSchemaDocument">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.odftoolkit.simple</div> |
| <h2 title="Class PresentationDocument" class="title">Class PresentationDocument</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.odftoolkit.odfdom.pkg.OdfPackageDocument</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.odftoolkit.odfdom.dom.OdfSchemaDocument</li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../org/odftoolkit/simple/Document.html" title="class in org.odftoolkit.simple">org.odftoolkit.simple.Document</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.odftoolkit.simple.PresentationDocument</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="http://download.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a>, <a href="../../../org/odftoolkit/simple/chart/ChartContainer.html" title="interface in org.odftoolkit.simple.chart">ChartContainer</a>, <a href="../../../org/odftoolkit/simple/table/TableContainer.html" title="interface in org.odftoolkit.simple.table">TableContainer</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="strong">PresentationDocument</span> |
| extends <a href="../../../org/odftoolkit/simple/Document.html" title="class in org.odftoolkit.simple">Document</a> |
| implements <a href="../../../org/odftoolkit/simple/chart/ChartContainer.html" title="interface in org.odftoolkit.simple.chart">ChartContainer</a></pre> |
| <div class="block">This class represents an empty ODF presentation.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested_class_summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Class and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.OdfMediaType.html" title="enum in org.odftoolkit.simple">PresentationDocument.OdfMediaType</a></strong></code> |
| <div class="block">This enum contains all possible media types of PresentationDocument |
| documents.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.PresentationClass.html" title="enum in org.odftoolkit.simple">PresentationDocument.PresentationClass</a></strong></code> |
| <div class="block">It represents the defined values of presentation:class.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested_classes_inherited_from_class_org.odftoolkit.simple.Document"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from class org.odftoolkit.simple.<a href="../../../org/odftoolkit/simple/Document.html" title="class in org.odftoolkit.simple">Document</a></h3> |
| <code><a href="../../../org/odftoolkit/simple/Document.ScriptType.html" title="enum in org.odftoolkit.simple">Document.ScriptType</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested_classes_inherited_from_class_org.odftoolkit.odfdom.dom.OdfSchemaDocument"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from class org.odftoolkit.odfdom.dom.OdfSchemaDocument</h3> |
| <code>org.odftoolkit.odfdom.dom.OdfSchemaDocument.OdfXMLFile</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested_classes_inherited_from_class_org.odftoolkit.odfdom.pkg.OdfPackageDocument"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from class org.odftoolkit.odfdom.pkg.OdfPackageDocument</h3> |
| <code>org.odftoolkit.odfdom.pkg.OdfPackageDocument.Resource</code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields_inherited_from_class_org.odftoolkit.odfdom.dom.OdfSchemaDocument"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.odftoolkit.odfdom.dom.OdfSchemaDocument</h3> |
| <code>mContentDom, mDocumentStyles, mMetaDom, mSettingsDom, mStylesDom</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields_inherited_from_class_org.odftoolkit.odfdom.pkg.OdfPackageDocument"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.odftoolkit.odfdom.pkg.OdfPackageDocument</h3> |
| <code>mDocumentMediaType, mDocumentPathInPackage, mPackage, ROOT_DOCUMENT_PATH</code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier</th> |
| <th class="colLast" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected </code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#PresentationDocument(org.odftoolkit.odfdom.pkg.OdfPackage, java.lang.String, org.odftoolkit.simple.PresentationDocument.OdfMediaType)">PresentationDocument</a></strong>(org.odftoolkit.odfdom.pkg.OdfPackage pkg, |
| <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> internalPath, |
| <a href="../../../org/odftoolkit/simple/PresentationDocument.OdfMediaType.html" title="enum in org.odftoolkit.simple">PresentationDocument.OdfMediaType</a> odfMediaType)</code> |
| <div class="block">To avoid data duplication a new document is only created, if not already |
| opened.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#appendPresentation(org.odftoolkit.simple.PresentationDocument)">appendPresentation</a></strong>(<a href="../../../org/odftoolkit/simple/PresentationDocument.html" title="class in org.odftoolkit.simple">PresentationDocument</a> srcDoc)</code> |
| <div class="block">Append all the slides of the specified presentation document to the |
| current document.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#changeMode(org.odftoolkit.simple.PresentationDocument.OdfMediaType)">changeMode</a></strong>(<a href="../../../org/odftoolkit/simple/PresentationDocument.OdfMediaType.html" title="enum in org.odftoolkit.simple">PresentationDocument.OdfMediaType</a> type)</code> |
| <div class="block">Switches this instance to the given type.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../org/odftoolkit/simple/presentation/Slide.html" title="class in org.odftoolkit.simple.presentation">Slide</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#copyForeignSlide(int, org.odftoolkit.simple.PresentationDocument, int)">copyForeignSlide</a></strong>(int destIndex, |
| <a href="../../../org/odftoolkit/simple/PresentationDocument.html" title="class in org.odftoolkit.simple">PresentationDocument</a> srcDoc, |
| int srcIndex)</code> |
| <div class="block">Make a copy of slide which locates at the specified position of the |
| source presentation document and insert it to the current presentation |
| document at the new position.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/odftoolkit/simple/presentation/Slide.html" title="class in org.odftoolkit.simple.presentation">Slide</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#copySlide(int, int, java.lang.String)">copySlide</a></strong>(int source, |
| int dest, |
| <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> newName)</code> |
| <div class="block">Make a copy of the slide at a specified position to another position in |
| this presentation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../org/odftoolkit/simple/chart/Chart.html" title="class in org.odftoolkit.simple.chart">Chart</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#createChart(java.lang.String, org.odftoolkit.simple.chart.DataSet, java.awt.Rectangle)">createChart</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> title, |
| <a href="../../../org/odftoolkit/simple/chart/DataSet.html" title="class in org.odftoolkit.simple.chart">DataSet</a> dataset, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</a> rect)</code> |
| <div class="block">Creates a new Chart for this container.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/odftoolkit/simple/chart/Chart.html" title="class in org.odftoolkit.simple.chart">Chart</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#createChart(java.lang.String, org.odftoolkit.simple.SpreadsheetDocument, org.odftoolkit.odfdom.type.CellRangeAddressList, boolean, boolean, boolean, java.awt.Rectangle)">createChart</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> title, |
| <a href="../../../org/odftoolkit/simple/SpreadsheetDocument.html" title="class in org.odftoolkit.simple">SpreadsheetDocument</a> document, |
| org.odftoolkit.odfdom.type.CellRangeAddressList cellRangeAddr, |
| boolean firstRowAsLabel, |
| boolean firstColumnAsLabel, |
| boolean rowAsDataSeries, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</a> rect)</code> |
| <div class="block">Creates a new Chart for this container.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../org/odftoolkit/simple/chart/Chart.html" title="class in org.odftoolkit.simple.chart">Chart</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#createChart(java.lang.String, java.lang.String[], java.lang.String[], double[][], java.awt.Rectangle)">createChart</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> title, |
| <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>[] labels, |
| <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>[] legends, |
| double[][] data, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</a> rect)</code> |
| <div class="block">Creates a new Chart for this container.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#deleteChartById(java.lang.String)">deleteChartById</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> chartId)</code> |
| <div class="block">Deletes chart by chart id.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#deleteChartByTitle(java.lang.String)">deleteChartByTitle</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> title)</code> |
| <div class="block">Deletes chart(s) by chart title.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#deleteSlideByIndex(int)">deleteSlideByIndex</a></strong>(int index)</code> |
| <div class="block">Delete the slide at a specified position in this presentation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#deleteSlideByName(java.lang.String)">deleteSlideByName</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> name)</code> |
| <div class="block">Delete all the slides with a specified name in this presentation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/odftoolkit/simple/chart/Chart.html" title="class in org.odftoolkit.simple.chart">Chart</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#getChartById(java.lang.String)">getChartById</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> chartId)</code> |
| <div class="block">Gets chart with specified id.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../org/odftoolkit/simple/chart/Chart.html" title="class in org.odftoolkit.simple.chart">Chart</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#getChartByTitle(java.lang.String)">getChartByTitle</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> title)</code> |
| <div class="block">Gets chart list with specified title.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#getChartCount()">getChartCount</a></strong>()</code> |
| <div class="block">Returns the chart count of this container</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>org.odftoolkit.odfdom.dom.element.office.OfficePresentationElement</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#getContentRoot()">getContentRoot</a></strong>()</code> |
| <div class="block">Get the content root of a presentation document.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/odftoolkit/simple/presentation/Notes.NotesBuilder.html" title="class in org.odftoolkit.simple.presentation">Notes.NotesBuilder</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#getNotesBuilder()">getNotesBuilder</a></strong>()</code> |
| <div class="block">Return the notes builder of this document.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../org/odftoolkit/simple/presentation/Slide.SlideBuilder.html" title="class in org.odftoolkit.simple.presentation">Slide.SlideBuilder</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#getSlideBuilder()">getSlideBuilder</a></strong>()</code> |
| <div class="block">Return the slide builder of this document.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/odftoolkit/simple/presentation/Slide.html" title="class in org.odftoolkit.simple.presentation">Slide</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#getSlideByIndex(int)">getSlideByIndex</a></strong>(int index)</code> |
| <div class="block">Return the slide at a specified position in this presentation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../org/odftoolkit/simple/presentation/Slide.html" title="class in org.odftoolkit.simple.presentation">Slide</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#getSlideByName(java.lang.String)">getSlideByName</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> name)</code> |
| <div class="block">Return the slide which have a specified slide name in this presentation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#getSlideCount()">getSlideCount</a></strong>()</code> |
| <div class="block">Get the number of the slides in this presentation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><<a href="../../../org/odftoolkit/simple/presentation/Slide.html" title="class in org.odftoolkit.simple.presentation">Slide</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#getSlides()">getSlides</a></strong>()</code> |
| <div class="block">Return a list iterator containing all slides in this presentation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.odftoolkit.odfdom.pkg.OdfElement</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#getTableContainerElement()">getTableContainerElement</a></strong>()</code> |
| <div class="block">Get the ODF element which can have |
| <table:table> |
| as child element directly according to ODF specification.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../org/odftoolkit/simple/PresentationDocument.html" title="class in org.odftoolkit.simple">PresentationDocument</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.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> file)</code> |
| <div class="block">Creates an PresentationDocument from the OpenDocument provided by a File.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../org/odftoolkit/simple/PresentationDocument.html" title="class in org.odftoolkit.simple">PresentationDocument</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.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> inputStream)</code> |
| <div class="block">Creates an PresentationDocument from the OpenDocument provided by a |
| resource Stream.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../org/odftoolkit/simple/PresentationDocument.html" title="class in org.odftoolkit.simple">PresentationDocument</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.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> documentPath)</code> |
| <div class="block">Loads an PresentationDocument from the provided path.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#moveSlide(int, int)">moveSlide</a></strong>(int source, |
| int dest)</code> |
| <div class="block">Move the slide at a specified position to the destination position.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../org/odftoolkit/simple/PresentationDocument.html" title="class in org.odftoolkit.simple">PresentationDocument</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#newPresentationDocument()">newPresentationDocument</a></strong>()</code> |
| <div class="block">Creates an empty presentation document.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../org/odftoolkit/simple/PresentationDocument.html" title="class in org.odftoolkit.simple">PresentationDocument</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#newPresentationTemplateDocument()">newPresentationTemplateDocument</a></strong>()</code> |
| <div class="block">Creates an empty presentation template.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../org/odftoolkit/simple/presentation/Slide.html" title="class in org.odftoolkit.simple.presentation">Slide</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/odftoolkit/simple/PresentationDocument.html#newSlide(int, java.lang.String, org.odftoolkit.simple.presentation.Slide.SlideLayout)">newSlide</a></strong>(int index, |
| <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> name, |
| <a href="../../../org/odftoolkit/simple/presentation/Slide.SlideLayout.html" title="enum in org.odftoolkit.simple.presentation">Slide.SlideLayout</a> slideLayout)</code> |
| <div class="block">New a slide at the specified position with the specified name, and use |
| the specified slide template.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.odftoolkit.simple.Document"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.odftoolkit.simple.<a href="../../../org/odftoolkit/simple/Document.html" title="class in org.odftoolkit.simple">Document</a></h3> |
| <code><a href="../../../org/odftoolkit/simple/Document.html#addTable()">addTable</a>, <a href="../../../org/odftoolkit/simple/Document.html#addTable(int, int)">addTable</a>, <a href="../../../org/odftoolkit/simple/Document.html#close()">close</a>, <a href="../../../org/odftoolkit/simple/Document.html#getComponentMap()">getComponentMap</a>, <a href="../../../org/odftoolkit/simple/Document.html#getContentRoot(java.lang.Class)">getContentRoot</a>, <a href="../../../org/odftoolkit/simple/Document.html#getEmbeddedDocument(java.lang.String)">getEmbeddedDocument</a>, <a href="../../../org/odftoolkit/simple/Document.html#getEmbeddedDocuments()">getEmbeddedDocuments</a>, <a href="../../../org/odftoolkit/simple/Document.html#getEmbeddedDocuments(org.odftoolkit.simple.Document.OdfMediaType)">getEmbeddedDocuments</a>, <a href="../../../org/odftoolkit/simple/Document.html#getLocale(org.odftoolkit.simple.Document.ScriptType)">getLocale</a>, <a href="../../../org/odftoolkit/simple/Document.html#getOdfMediaType()">getOdfMediaType</a>, <a href="../../../org/odftoolkit/simple/Document.html#getOfficeMetadata()">getOfficeMetadata</a>, <a href="../../../org/odftoolkit/simple/Document.html#getScriptType(java.util.Locale)">getScriptType</a>, <a href="../../../org/odftoolkit/simple/Document.html#getSectionByName(java.lang.String)">getSectionByName</a>, <a href="../../../org/odftoolkit/simple/Document.html#getSectionIterator()">getSectionIterator</a>, <a href="../../../org/odftoolkit/simple/Document.html#getTableBuilder()">getTableBuilder</a>, <a href="../../../org/odftoolkit/simple/Document.html#getTableByName(java.lang.String)">getTableByName</a>, <a href="../../../org/odftoolkit/simple/Document.html#getTableContainerImpl()">getTableContainerImpl</a>, <a href="../../../org/odftoolkit/simple/Document.html#getTableList()">getTableList</a>, <a href="../../../org/odftoolkit/simple/Document.html#insertDocument(org.odftoolkit.odfdom.pkg.OdfPackageDocument, java.lang.String)">insertDocument</a>, <a href="../../../org/odftoolkit/simple/Document.html#loadDocument(java.io.File, java.lang.String)">loadDocument</a>, <a href="../../../org/odftoolkit/simple/Document.html#loadDocument(org.odftoolkit.odfdom.pkg.OdfPackage)">loadDocument</a>, <a href="../../../org/odftoolkit/simple/Document.html#loadDocument(org.odftoolkit.odfdom.pkg.OdfPackage, java.lang.String)">loadDocument</a>, <a href="../../../org/odftoolkit/simple/Document.html#loadDocument(java.lang.String, java.lang.String)">loadDocument</a>, <a href="../../../org/odftoolkit/simple/Document.html#LoadTableTemplateFromForeignTable(java.io.InputStream, java.lang.String)">LoadTableTemplateFromForeignTable</a>, <a href="../../../org/odftoolkit/simple/Document.html#loadTemplate(org.odftoolkit.odfdom.pkg.OdfPackageDocument.Resource, org.odftoolkit.simple.Document.OdfMediaType)">loadTemplate</a>, <a href="../../../org/odftoolkit/simple/Document.html#newImage(java.net.URI)">newImage</a>, <a href="../../../org/odftoolkit/simple/Document.html#removeElementLinkedResource(org.odftoolkit.odfdom.pkg.OdfElement)">removeElementLinkedResource</a>, <a href="../../../org/odftoolkit/simple/Document.html#save(java.io.File)">save</a>, <a href="../../../org/odftoolkit/simple/Document.html#save(java.io.File, java.lang.String)">save</a>, <a href="../../../org/odftoolkit/simple/Document.html#save(java.io.OutputStream)">save</a>, <a href="../../../org/odftoolkit/simple/Document.html#setLocale(java.util.Locale)">setLocale</a>, <a href="../../../org/odftoolkit/simple/Document.html#setLocale(java.util.Locale, org.odftoolkit.simple.Document.ScriptType)">setLocale</a>, <a href="../../../org/odftoolkit/simple/Document.html#setOdfMediaType(org.odftoolkit.simple.Document.OdfMediaType)">setOdfMediaType</a>, <a href="../../../org/odftoolkit/simple/Document.html#setPassword(java.lang.String)">setPassword</a>, <a href="../../../org/odftoolkit/simple/Document.html#toString()">toString</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.odftoolkit.odfdom.dom.OdfSchemaDocument"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.odftoolkit.odfdom.dom.OdfSchemaDocument</h3> |
| <code>getBaseURI, getBookmarkRDFMetadata, getContentDom, getContentStream, getDocumentStyles, getFileDom, getInContentMetadata, getInContentMetadataFromCache, getManifestRDFMetadata, getMasterPages, getMetaDom, getMetaStream, getOfficeMasterStyles, getOrCreateDocumentStyles, getRDFMetadata, getSettingsDom, getSettingsStream, getStylesDom, getStylesStream, getTables, getXMLFilePath</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.odftoolkit.odfdom.pkg.OdfPackageDocument"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.odftoolkit.odfdom.pkg.OdfPackageDocument</h3> |
| <code>flushDoms, getDocumentPath, getFileDom, getMediaTypeString, getPackage, getXMLFileMetadata, isExternalReference, isRootDocument, loadSubDocument, normalizeDocumentPath, removeDocument, save, setMediaTypeString</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="PresentationDocument(org.odftoolkit.odfdom.pkg.OdfPackage, java.lang.String, org.odftoolkit.simple.PresentationDocument.OdfMediaType)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>PresentationDocument</h4> |
| <pre>protected PresentationDocument(org.odftoolkit.odfdom.pkg.OdfPackage pkg, |
| <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> internalPath, |
| <a href="../../../org/odftoolkit/simple/PresentationDocument.OdfMediaType.html" title="enum in org.odftoolkit.simple">PresentationDocument.OdfMediaType</a> odfMediaType)</pre> |
| <div class="block">To avoid data duplication a new document is only created, if not already |
| opened. A document is cached by this constructor using the internalpath |
| as key.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="newPresentationDocument()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newPresentationDocument</h4> |
| <pre>public static <a href="../../../org/odftoolkit/simple/PresentationDocument.html" title="class in org.odftoolkit.simple">PresentationDocument</a> newPresentationDocument() |
| throws <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <div class="block">Creates an empty presentation document.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>ODF presentation document based on a default template</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - - if the document could not be created</dd></dl> |
| </li> |
| </ul> |
| <a name="newPresentationTemplateDocument()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newPresentationTemplateDocument</h4> |
| <pre>public static <a href="../../../org/odftoolkit/simple/PresentationDocument.html" title="class in org.odftoolkit.simple">PresentationDocument</a> newPresentationTemplateDocument() |
| throws <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <div class="block">Creates an empty presentation template.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>ODF presentation template based on a default</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - - if the template could not be created</dd></dl> |
| </li> |
| </ul> |
| <a name="loadDocument(java.io.InputStream)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>loadDocument</h4> |
| <pre>public static <a href="../../../org/odftoolkit/simple/PresentationDocument.html" title="class in org.odftoolkit.simple">PresentationDocument</a> loadDocument(<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> inputStream) |
| throws <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <div class="block">Creates an PresentationDocument from the OpenDocument provided by a |
| resource Stream. |
| |
| <p> |
| Since an InputStream does not provide the arbitrary (non sequentiell) |
| read access needed by PresentationDocument, the InputStream is cached. |
| This usually takes more time compared to the other createInternalDocument |
| methods. An advantage of caching is that there are no problems |
| overwriting an input file. |
| </p> |
| |
| <p> |
| If the resource stream is not a ODF presentation document, |
| ClassCastException might be thrown. |
| </p></div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>inputStream</code> - - the InputStream of the ODF presentation document.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the presentation document created from the given InputStream</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - - if the document could not be created.</dd></dl> |
| </li> |
| </ul> |
| <a name="loadDocument(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>loadDocument</h4> |
| <pre>public static <a href="../../../org/odftoolkit/simple/PresentationDocument.html" title="class in org.odftoolkit.simple">PresentationDocument</a> loadDocument(<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> documentPath) |
| throws <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <div class="block">Loads an PresentationDocument from the provided path. |
| |
| <p> |
| PresentationDocument relies on the file being available for read access |
| over the whole lifecycle of PresentationDocument. |
| </p> |
| |
| <p> |
| If the resource stream is not a ODF presentation document, |
| ClassCastException might be thrown. |
| </p></div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>documentPath</code> - - the path from where the document can be loaded</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the presentation document from the given path or NULL if the |
| media type is not supported by SIMPLE.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - - if the document could not be created.</dd></dl> |
| </li> |
| </ul> |
| <a name="loadDocument(java.io.File)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>loadDocument</h4> |
| <pre>public static <a href="../../../org/odftoolkit/simple/PresentationDocument.html" title="class in org.odftoolkit.simple">PresentationDocument</a> loadDocument(<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> file) |
| throws <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <div class="block">Creates an PresentationDocument from the OpenDocument provided by a File. |
| |
| <p> |
| PresentationDocument relies on the file being available for read access |
| over the whole lifecycle of PresentationDocument. |
| </p> |
| |
| <p> |
| If the resource stream is not a ODF presentation document, |
| ClassCastException might be thrown. |
| </p></div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>file</code> - - a file representing the ODF presentation document.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the presentation document created from the given File</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - - if the document could not be created.</dd></dl> |
| </li> |
| </ul> |
| <a name="getContentRoot()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getContentRoot</h4> |
| <pre>public org.odftoolkit.odfdom.dom.element.office.OfficePresentationElement getContentRoot() |
| throws <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <div class="block">Get the content root of a presentation document.</div> |
| <dl> |
| <dt><strong>Overrides:</strong></dt> |
| <dd><code><a href="../../../org/odftoolkit/simple/Document.html#getContentRoot()">getContentRoot</a></code> in class <code><a href="../../../org/odftoolkit/simple/Document.html" title="class in org.odftoolkit.simple">Document</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>content root, representing the office:presentation tag</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - if the file DOM could not be created.</dd></dl> |
| </li> |
| </ul> |
| <a name="changeMode(org.odftoolkit.simple.PresentationDocument.OdfMediaType)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>changeMode</h4> |
| <pre>public void changeMode(<a href="../../../org/odftoolkit/simple/PresentationDocument.OdfMediaType.html" title="enum in org.odftoolkit.simple">PresentationDocument.OdfMediaType</a> type)</pre> |
| <div class="block">Switches this instance to the given type. This method can be used to e.g. |
| convert a document instance to a template and vice versa. Changes take |
| affect in the package when saving the document.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - the compatible ODF mediatype.</dd></dl> |
| </li> |
| </ul> |
| <a name="getSlideBuilder()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSlideBuilder</h4> |
| <pre>public <a href="../../../org/odftoolkit/simple/presentation/Slide.SlideBuilder.html" title="class in org.odftoolkit.simple.presentation">Slide.SlideBuilder</a> getSlideBuilder()</pre> |
| <div class="block">Return the slide builder of this document. Every presentation document |
| has a slide builder.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the slide builder of this document.</dd><dt><span class="strong">Since:</span></dt> |
| <dd>0.3.5</dd></dl> |
| </li> |
| </ul> |
| <a name="getNotesBuilder()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getNotesBuilder</h4> |
| <pre>public <a href="../../../org/odftoolkit/simple/presentation/Notes.NotesBuilder.html" title="class in org.odftoolkit.simple.presentation">Notes.NotesBuilder</a> getNotesBuilder()</pre> |
| <div class="block">Return the notes builder of this document. Every presentation document |
| has a notes builder.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the notes builder of this document.</dd><dt><span class="strong">Since:</span></dt> |
| <dd>0.3.5</dd></dl> |
| </li> |
| </ul> |
| <a name="getSlideByIndex(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSlideByIndex</h4> |
| <pre>public <a href="../../../org/odftoolkit/simple/presentation/Slide.html" title="class in org.odftoolkit.simple.presentation">Slide</a> getSlideByIndex(int index)</pre> |
| <div class="block">Return the slide at a specified position in this presentation. Return |
| null if the index is out of range.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - the index of the slide to be returned</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>a draw slide at the specified position</dd></dl> |
| </li> |
| </ul> |
| <a name="getSlideCount()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSlideCount</h4> |
| <pre>public int getSlideCount()</pre> |
| <div class="block">Get the number of the slides in this presentation.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the number of slides</dd></dl> |
| </li> |
| </ul> |
| <a name="getSlideByName(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSlideByName</h4> |
| <pre>public <a href="../../../org/odftoolkit/simple/presentation/Slide.html" title="class in org.odftoolkit.simple.presentation">Slide</a> getSlideByName(<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> name)</pre> |
| <div class="block">Return the slide which have a specified slide name in this presentation. |
| <p> |
| According to the odf specification "The draw:name attribute specifies a |
| name by which this element can be referenced. It is optional but if |
| present, must be unique within the document instance. If not present, an |
| application may generate a unique name." |
| <p> |
| If the name is null, then return null because all the slide must has its |
| own unique name.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the specified slide name</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the slide whose name equals to the specified name</dd></dl> |
| </li> |
| </ul> |
| <a name="getSlides()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSlides</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><<a href="../../../org/odftoolkit/simple/presentation/Slide.html" title="class in org.odftoolkit.simple.presentation">Slide</a>> getSlides()</pre> |
| <div class="block">Return a list iterator containing all slides in this presentation.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>a list iterator containing all slides in this presentation</dd></dl> |
| </li> |
| </ul> |
| <a name="deleteSlideByIndex(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deleteSlideByIndex</h4> |
| <pre>public boolean deleteSlideByIndex(int index)</pre> |
| <div class="block">Delete the slide at a specified position in this presentation.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - the index of the slide that need to be delete |
| <p> |
| Throw IndexOutOfBoundsException if the slide index is out of |
| the presentation document slide count.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>false if the operation was not successful</dd></dl> |
| </li> |
| </ul> |
| <a name="deleteSlideByName(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deleteSlideByName</h4> |
| <pre>public boolean deleteSlideByName(<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> name)</pre> |
| <div class="block">Delete all the slides with a specified name in this presentation.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the slide that need to be delete</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>false if the operation was not successful</dd></dl> |
| </li> |
| </ul> |
| <a name="copySlide(int, int, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copySlide</h4> |
| <pre>public <a href="../../../org/odftoolkit/simple/presentation/Slide.html" title="class in org.odftoolkit.simple.presentation">Slide</a> copySlide(int source, |
| int dest, |
| <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> newName)</pre> |
| <div class="block">Make a copy of the slide at a specified position to another position in |
| this presentation. The original slide which at the dest index and after |
| the dest index will move after. |
| <p></div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>source</code> - the source position of the slide need to be copied</dd><dd><code>dest</code> - the destination position of the slide need to be copied</dd><dd><code>newName</code> - the new name of the copied slide</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the new slide at the destination position with the specified |
| name, and it has the same content with the slide at the source |
| position. |
| <p> |
| Throw IndexOutOfBoundsException if the slide index is out of the |
| presentation document slide count. If copy the slide at the end |
| of document, destIndex should set the same value with the slide |
| count.</dd></dl> |
| </li> |
| </ul> |
| <a name="moveSlide(int, int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>moveSlide</h4> |
| <pre>public void moveSlide(int source, |
| int dest)</pre> |
| <div class="block">Move the slide at a specified position to the destination position.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>source</code> - the current index of the slide that need to be moved</dd><dd><code>dest</code> - The index of the destination position before the move action |
| <p> |
| Throw IndexOutOfBoundsException if the slide index is out of |
| the presentation document slide count.</dd></dl> |
| </li> |
| </ul> |
| <a name="appendPresentation(org.odftoolkit.simple.PresentationDocument)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>appendPresentation</h4> |
| <pre>public void appendPresentation(<a href="../../../org/odftoolkit/simple/PresentationDocument.html" title="class in org.odftoolkit.simple">PresentationDocument</a> srcDoc)</pre> |
| <div class="block">Append all the slides of the specified presentation document to the |
| current document.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>srcDoc</code> - the specified <code>PresentationDocument</code> that need to |
| be appended</dd></dl> |
| </li> |
| </ul> |
| <a name="copyForeignSlide(int, org.odftoolkit.simple.PresentationDocument, int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copyForeignSlide</h4> |
| <pre>public <a href="../../../org/odftoolkit/simple/presentation/Slide.html" title="class in org.odftoolkit.simple.presentation">Slide</a> copyForeignSlide(int destIndex, |
| <a href="../../../org/odftoolkit/simple/PresentationDocument.html" title="class in org.odftoolkit.simple">PresentationDocument</a> srcDoc, |
| int srcIndex)</pre> |
| <div class="block">Make a copy of slide which locates at the specified position of the |
| source presentation document and insert it to the current presentation |
| document at the new position. The original slide which at the dest index |
| and after the dest index will move after.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>destIndex</code> - the new position of the copied slide in the current document</dd><dd><code>srcDoc</code> - the source document of the copied slide</dd><dd><code>srcIndex</code> - the slide index of the source document that need to be copied</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the new slide which has the same content with the source slide |
| <p> |
| Throw IndexOutOfBoundsException if the slide index is out of the |
| presentation document slide count If insert the foreign slide at |
| the end of document, destIndex should set the same value with the |
| slide count of the current presentation document.</dd></dl> |
| </li> |
| </ul> |
| <a name="newSlide(int, java.lang.String, org.odftoolkit.simple.presentation.Slide.SlideLayout)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newSlide</h4> |
| <pre>public <a href="../../../org/odftoolkit/simple/presentation/Slide.html" title="class in org.odftoolkit.simple.presentation">Slide</a> newSlide(int index, |
| <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> name, |
| <a href="../../../org/odftoolkit/simple/presentation/Slide.SlideLayout.html" title="enum in org.odftoolkit.simple.presentation">Slide.SlideLayout</a> slideLayout)</pre> |
| <div class="block">New a slide at the specified position with the specified name, and use |
| the specified slide template. See <code>OdfDrawPage.SlideLayout</code>. |
| <p> |
| If index is invalid, such as larger than the current document slide |
| number or is negative, then append the new slide at the end of the |
| document. |
| <p> |
| The slide name can be null.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - the new slide position</dd><dd><code>name</code> - the new slide name</dd><dd><code>slideLayout</code> - the new slide template</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the new slide which locate at the specified position with the |
| specified name and apply the specified slide template. If |
| slideLayout is null, then use the default slide template which is |
| a blank slide. |
| <p> |
| Throw IndexOutOfBoundsException if index is out of the |
| presentation document slide count.</dd></dl> |
| </li> |
| </ul> |
| <a name="createChart(java.lang.String, org.odftoolkit.simple.chart.DataSet, java.awt.Rectangle)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createChart</h4> |
| <pre>public <a href="../../../org/odftoolkit/simple/chart/Chart.html" title="class in org.odftoolkit.simple.chart">Chart</a> createChart(<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> title, |
| <a href="../../../org/odftoolkit/simple/chart/DataSet.html" title="class in org.odftoolkit.simple.chart">DataSet</a> dataset, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</a> rect)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html#createChart(java.lang.String, org.odftoolkit.simple.chart.DataSet, java.awt.Rectangle)">ChartContainer</a></code></strong></div> |
| <div class="block">Creates a new Chart for this container.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html#createChart(java.lang.String, org.odftoolkit.simple.chart.DataSet, java.awt.Rectangle)">createChart</a></code> in interface <code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html" title="interface in org.odftoolkit.simple.chart">ChartContainer</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>title</code> - chart title.</dd><dd><code>dataset</code> - chart data set.</dd><dd><code>rect</code> - chart rectangle.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the created chart.</dd></dl> |
| </li> |
| </ul> |
| <a name="createChart(java.lang.String, org.odftoolkit.simple.SpreadsheetDocument, org.odftoolkit.odfdom.type.CellRangeAddressList, boolean, boolean, boolean, java.awt.Rectangle)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createChart</h4> |
| <pre>public <a href="../../../org/odftoolkit/simple/chart/Chart.html" title="class in org.odftoolkit.simple.chart">Chart</a> createChart(<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> title, |
| <a href="../../../org/odftoolkit/simple/SpreadsheetDocument.html" title="class in org.odftoolkit.simple">SpreadsheetDocument</a> document, |
| org.odftoolkit.odfdom.type.CellRangeAddressList cellRangeAddr, |
| boolean firstRowAsLabel, |
| boolean firstColumnAsLabel, |
| boolean rowAsDataSeries, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</a> rect)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html#createChart(java.lang.String, org.odftoolkit.simple.SpreadsheetDocument, org.odftoolkit.odfdom.type.CellRangeAddressList, boolean, boolean, boolean, java.awt.Rectangle)">ChartContainer</a></code></strong></div> |
| <div class="block">Creates a new Chart for this container.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html#createChart(java.lang.String, org.odftoolkit.simple.SpreadsheetDocument, org.odftoolkit.odfdom.type.CellRangeAddressList, boolean, boolean, boolean, java.awt.Rectangle)">createChart</a></code> in interface <code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html" title="interface in org.odftoolkit.simple.chart">ChartContainer</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>title</code> - chart title.</dd><dd><code>document</code> - the data source spreadsheet document.</dd><dd><code>cellRangeAddr</code> - the cell range address list which is used as chart data set.</dd><dd><code>firstRowAsLabel</code> - whether uses first row as label.</dd><dd><code>firstColumnAsLabel</code> - whether uses first column as label.</dd><dd><code>rowAsDataSeries</code> - whether uses data as series.</dd><dd><code>rect</code> - chart rectangle.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the created chart.</dd></dl> |
| </li> |
| </ul> |
| <a name="createChart(java.lang.String, java.lang.String[], java.lang.String[], double[][], java.awt.Rectangle)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createChart</h4> |
| <pre>public <a href="../../../org/odftoolkit/simple/chart/Chart.html" title="class in org.odftoolkit.simple.chart">Chart</a> createChart(<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> title, |
| <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>[] labels, |
| <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>[] legends, |
| double[][] data, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</a> rect)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html#createChart(java.lang.String, java.lang.String[], java.lang.String[], double[][], java.awt.Rectangle)">ChartContainer</a></code></strong></div> |
| <div class="block">Creates a new Chart for this container.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html#createChart(java.lang.String, java.lang.String[], java.lang.String[], double[][], java.awt.Rectangle)">createChart</a></code> in interface <code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html" title="interface in org.odftoolkit.simple.chart">ChartContainer</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>title</code> - chart rectangle.</dd><dd><code>labels</code> - label strings</dd><dd><code>legends</code> - legend strings</dd><dd><code>data</code> - chart data set.</dd><dd><code>rect</code> - chart rectangle.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the created chart.</dd></dl> |
| </li> |
| </ul> |
| <a name="deleteChartById(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deleteChartById</h4> |
| <pre>public void deleteChartById(<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> chartId)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html#deleteChartById(java.lang.String)">ChartContainer</a></code></strong></div> |
| <div class="block">Deletes chart by chart id.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html#deleteChartById(java.lang.String)">deleteChartById</a></code> in interface <code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html" title="interface in org.odftoolkit.simple.chart">ChartContainer</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>chartId</code> - the id of specified chart.</dd></dl> |
| </li> |
| </ul> |
| <a name="deleteChartByTitle(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deleteChartByTitle</h4> |
| <pre>public void deleteChartByTitle(<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> title)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html#deleteChartByTitle(java.lang.String)">ChartContainer</a></code></strong></div> |
| <div class="block">Deletes chart(s) by chart title.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html#deleteChartByTitle(java.lang.String)">deleteChartByTitle</a></code> in interface <code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html" title="interface in org.odftoolkit.simple.chart">ChartContainer</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>title</code> - the title of specified chart(s).</dd></dl> |
| </li> |
| </ul> |
| <a name="getChartById(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getChartById</h4> |
| <pre>public <a href="../../../org/odftoolkit/simple/chart/Chart.html" title="class in org.odftoolkit.simple.chart">Chart</a> getChartById(<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> chartId)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html#getChartById(java.lang.String)">ChartContainer</a></code></strong></div> |
| <div class="block">Gets chart with specified id.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html#getChartById(java.lang.String)">getChartById</a></code> in interface <code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html" title="interface in org.odftoolkit.simple.chart">ChartContainer</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>chartId</code> - the id of this chart.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the chart with specified id.</dd></dl> |
| </li> |
| </ul> |
| <a name="getChartByTitle(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getChartByTitle</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../org/odftoolkit/simple/chart/Chart.html" title="class in org.odftoolkit.simple.chart">Chart</a>> getChartByTitle(<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> title)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html#getChartByTitle(java.lang.String)">ChartContainer</a></code></strong></div> |
| <div class="block">Gets chart list with specified title.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html#getChartByTitle(java.lang.String)">getChartByTitle</a></code> in interface <code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html" title="interface in org.odftoolkit.simple.chart">ChartContainer</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>title</code> - the title of specified chart(s).</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the chart(s) with specified title.</dd></dl> |
| </li> |
| </ul> |
| <a name="getChartCount()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getChartCount</h4> |
| <pre>public int getChartCount()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html#getChartCount()">ChartContainer</a></code></strong></div> |
| <div class="block">Returns the chart count of this container</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html#getChartCount()">getChartCount</a></code> in interface <code><a href="../../../org/odftoolkit/simple/chart/ChartContainer.html" title="interface in org.odftoolkit.simple.chart">ChartContainer</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the chart count of this container</dd></dl> |
| </li> |
| </ul> |
| <a name="getTableContainerElement()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getTableContainerElement</h4> |
| <pre>public org.odftoolkit.odfdom.pkg.OdfElement getTableContainerElement()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../org/odftoolkit/simple/table/TableContainer.html#getTableContainerElement()">TableContainer</a></code></strong></div> |
| <div class="block">Get the ODF element which can have |
| <table:table> |
| as child element directly according to ODF specification. This Element |
| will help to find the position to insert a new Table. For example, |
| <table:table> |
| element is usable with <office:text> element, so TextDocument will return |
| OfficeTextElement. While Presentation Notes is an indirectly |
| TableContainer, which holds Table with the help of its grand-child |
| element <draw:text-box>, so for Notes, DrawTextBoxElement should be |
| return.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../org/odftoolkit/simple/table/TableContainer.html#getTableContainerElement()">getTableContainerElement</a></code> in interface <code><a href="../../../org/odftoolkit/simple/table/TableContainer.html" title="interface in org.odftoolkit.simple.table">TableContainer</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>container element which can hold <text:table>.</dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= 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 class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/PresentationDocument.html">Use</a></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><a href="../../../org/odftoolkit/simple/JarManifest.html" title="class in org.odftoolkit.simple"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../org/odftoolkit/simple/PresentationDocument.OdfMediaType.html" title="enum in org.odftoolkit.simple"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../index.html?org/odftoolkit/simple/PresentationDocument.html" target="_top">Frames</a></li> |
| <li><a href="PresentationDocument.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> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested_class_summary">Nested</a> | </li> |
| <li><a href="#fields_inherited_from_class_org.odftoolkit.odfdom.dom.OdfSchemaDocument">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2010-2013 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> |
| </body> |
| </html> |