You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ni...@apache.org on 2015/07/22 02:06:43 UTC
svn commit: r1692212 - in /poi/site/publish/apidocs: ./
org/apache/poi/poifs/filesystem/ org/apache/poi/xssf/model/
org/apache/poi/xssf/model/class-use/ org/apache/poi/xssf/usermodel/class-use/
Author: nick
Date: Wed Jul 22 00:06:43 2015
New Revision: 1692212
URL: http://svn.apache.org/r1692212
Log:
Javadocs update
Modified:
poi/site/publish/apidocs/index-all.html
poi/site/publish/apidocs/org/apache/poi/poifs/filesystem/NPOIFSFileSystem.html
poi/site/publish/apidocs/org/apache/poi/xssf/model/StylesTable.html
poi/site/publish/apidocs/org/apache/poi/xssf/model/ThemesTable.html
poi/site/publish/apidocs/org/apache/poi/xssf/model/class-use/ThemesTable.html
poi/site/publish/apidocs/org/apache/poi/xssf/usermodel/class-use/XSSFWorkbook.html
Modified: poi/site/publish/apidocs/index-all.html
URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/index-all.html?rev=1692212&r1=1692211&r2=1692212&view=diff
==============================================================================
--- poi/site/publish/apidocs/index-all.html (original)
+++ poi/site/publish/apidocs/index-all.html Wed Jul 22 00:06:43 2015
@@ -5961,6 +5961,8 @@
<dd> </dd>
<dt><span class="strong"><a href="./org/apache/poi/xssf/model/StylesTable.html#commit()">commit()</a></span> - Method in class org.apache.poi.xssf.model.<a href="./org/apache/poi/xssf/model/StylesTable.html" title="class in org.apache.poi.xssf.model">StylesTable</a></dt>
<dd> </dd>
+<dt><span class="strong"><a href="./org/apache/poi/xssf/model/ThemesTable.html#commit()">commit()</a></span> - Method in class org.apache.poi.xssf.model.<a href="./org/apache/poi/xssf/model/ThemesTable.html" title="class in org.apache.poi.xssf.model">ThemesTable</a></dt>
+<dd> </dd>
<dt><span class="strong"><a href="./org/apache/poi/xssf/usermodel/XSSFChart.html#commit()">commit()</a></span> - Method in class org.apache.poi.xssf.usermodel.<a href="./org/apache/poi/xssf/usermodel/XSSFChart.html" title="class in org.apache.poi.xssf.usermodel">XSSFChart</a></dt>
<dd> </dd>
<dt><span class="strong"><a href="./org/apache/poi/xssf/usermodel/XSSFDrawing.html#commit()">commit()</a></span> - Method in class org.apache.poi.xssf.usermodel.<a href="./org/apache/poi/xssf/usermodel/XSSFDrawing.html" title="class in org.apache.poi.xssf.usermodel">XSSFDrawing</a></dt>
@@ -11749,6 +11751,11 @@
<div class="block">Ensure a StyleTextPropAtom is present for this run,
by adding if required.</div>
</dd>
+<dt><span class="strong"><a href="./org/apache/poi/xssf/model/StylesTable.html#ensureThemesTable()">ensureThemesTable()</a></span> - Method in class org.apache.poi.xssf.model.<a href="./org/apache/poi/xssf/model/StylesTable.html" title="class in org.apache.poi.xssf.model">StylesTable</a></dt>
+<dd>
+<div class="block">If there isn't currently a <a href="./org/apache/poi/xssf/model/ThemesTable.html" title="class in org.apache.poi.xssf.model"><code>ThemesTable</code></a> for the
+ current Workbook, then creates one and sets it up.</div>
+</dd>
<dt><a href="./org/apache/poi/poifs/filesystem/Entry.html" title="interface in org.apache.poi.poifs.filesystem"><span class="strong">Entry</span></a> - Interface in <a href="./org/apache/poi/poifs/filesystem/package-summary.html">org.apache.poi.poifs.filesystem</a></dt>
<dd>
<div class="block">This interface provides access to an object managed by a Filesystem
@@ -35943,7 +35950,10 @@
<dt><span class="strong"><a href="./org/apache/poi/xslf/usermodel/XSLFSlideMaster.html#getTheme()">getTheme()</a></span> - Method in class org.apache.poi.xslf.usermodel.<a href="./org/apache/poi/xslf/usermodel/XSLFSlideMaster.html" title="class in org.apache.poi.xslf.usermodel">XSLFSlideMaster</a></dt>
<dd> </dd>
<dt><span class="strong"><a href="./org/apache/poi/xssf/model/StylesTable.html#getTheme()">getTheme()</a></span> - Method in class org.apache.poi.xssf.model.<a href="./org/apache/poi/xssf/model/StylesTable.html" title="class in org.apache.poi.xssf.model">StylesTable</a></dt>
-<dd> </dd>
+<dd>
+<div class="block">Get the current Workbook's theme table, or null if the
+ Workbook lacks any themes.</div>
+</dd>
<dt><span class="strong"><a href="./org/apache/poi/xssf/usermodel/XSSFColor.html#getTheme()">getTheme()</a></span> - Method in class org.apache.poi.xssf.usermodel.<a href="./org/apache/poi/xssf/usermodel/XSSFColor.html" title="class in org.apache.poi.xssf.usermodel">XSSFColor</a></dt>
<dd>
<div class="block">Index into the <clrScheme> collection, referencing a particular <sysClr> or
@@ -69594,6 +69604,8 @@ Compound Document Format.</div>
(breaking on the character level) or by moving the word to the following
line (breaking on the word level).</div>
</dd>
+<dt><span class="strong"><a href="./org/apache/poi/xssf/model/StylesTable.html#setWorkbook(org.apache.poi.xssf.usermodel.XSSFWorkbook)">setWorkbook(XSSFWorkbook)</a></span> - Method in class org.apache.poi.xssf.model.<a href="./org/apache/poi/xssf/model/StylesTable.html" title="class in org.apache.poi.xssf.model">StylesTable</a></dt>
+<dd> </dd>
<dt><span class="strong"><a href="./org/apache/poi/xssf/usermodel/XSSFWorkbook.html#setWorkbookPassword(java.lang.String,%20org.apache.poi.poifs.crypt.HashAlgorithm)">setWorkbookPassword(String, HashAlgorithm)</a></span> - Method in class org.apache.poi.xssf.usermodel.<a href="./org/apache/poi/xssf/usermodel/XSSFWorkbook.html" title="class in org.apache.poi.xssf.usermodel">XSSFWorkbook</a></dt>
<dd>
<div class="block">Sets the workbook password.</div>
@@ -74273,6 +74285,10 @@ Compound Document Format.</div>
<dd>
<div class="block">Class that represents theme of XLSX document.</div>
</dd>
+<dt><span class="strong"><a href="./org/apache/poi/xssf/model/ThemesTable.html#ThemesTable()">ThemesTable()</a></span> - Constructor for class org.apache.poi.xssf.model.<a href="./org/apache/poi/xssf/model/ThemesTable.html" title="class in org.apache.poi.xssf.model">ThemesTable</a></dt>
+<dd>
+<div class="block">Create a new, empty ThemesTable</div>
+</dd>
<dt><span class="strong"><a href="./org/apache/poi/xssf/model/ThemesTable.html#ThemesTable(org.apache.poi.openxml4j.opc.PackagePart,%20org.apache.poi.openxml4j.opc.PackageRelationship)">ThemesTable(PackagePart, PackageRelationship)</a></span> - Constructor for class org.apache.poi.xssf.model.<a href="./org/apache/poi/xssf/model/ThemesTable.html" title="class in org.apache.poi.xssf.model">ThemesTable</a></dt>
<dd>
<div class="block">Construct a ThemesTable.</div>
@@ -79835,6 +79851,10 @@ the order they are declared.</div>
<dd>
<div class="block">Write this table out as XML.</div>
</dd>
+<dt><span class="strong"><a href="./org/apache/poi/xssf/model/ThemesTable.html#writeTo(java.io.OutputStream)">writeTo(OutputStream)</a></span> - Method in class org.apache.poi.xssf.model.<a href="./org/apache/poi/xssf/model/ThemesTable.html" title="class in org.apache.poi.xssf.model">ThemesTable</a></dt>
+<dd>
+<div class="block">Write this table out as XML.</div>
+</dd>
<dt><span class="strong"><a href="./org/apache/poi/xssf/usermodel/XSSFTable.html#writeTo(java.io.OutputStream)">writeTo(OutputStream)</a></span> - Method in class org.apache.poi.xssf.usermodel.<a href="./org/apache/poi/xssf/usermodel/XSSFTable.html" title="class in org.apache.poi.xssf.usermodel">XSSFTable</a></dt>
<dd> </dd>
<dt><span class="strong"><a href="./org/apache/poi/util/ByteField.html#writeToBytes(byte[])">writeToBytes(byte[])</a></span> - Method in class org.apache.poi.util.<a href="./org/apache/poi/util/ByteField.html" title="class in org.apache.poi.util">ByteField</a></dt>
Modified: poi/site/publish/apidocs/org/apache/poi/poifs/filesystem/NPOIFSFileSystem.html
URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/poifs/filesystem/NPOIFSFileSystem.html?rev=1692212&r1=1692211&r2=1692212&view=diff
==============================================================================
--- poi/site/publish/apidocs/org/apache/poi/poifs/filesystem/NPOIFSFileSystem.html (original)
+++ poi/site/publish/apidocs/org/apache/poi/poifs/filesystem/NPOIFSFileSystem.html Wed Jul 22 00:06:43 2015
@@ -547,7 +547,10 @@ implements <a href="../../../../../org/a
has a POIFS (OLE2) header at the start of it.
If your InputStream does not support mark / reset,
then wrap it in a PushBackInputStream, then be
- sure to always use that, and not the original!</div>
+ sure to always use that and not the original!
+
+ After the method call, the InputStream is at the
+ same position as of the time of entering the method.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>inp</code> - An InputStream which supports either mark/reset, or is a PushbackInputStream</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
Modified: poi/site/publish/apidocs/org/apache/poi/xssf/model/StylesTable.html
URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/xssf/model/StylesTable.html?rev=1692212&r1=1692211&r2=1692212&view=diff
==============================================================================
--- poi/site/publish/apidocs/org/apache/poi/xssf/model/StylesTable.html (original)
+++ poi/site/publish/apidocs/org/apache/poi/xssf/model/StylesTable.html Wed Jul 22 00:06:43 2015
@@ -204,6 +204,13 @@ extends <a href="../../../../../org/apac
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#createCellStyle()">createCellStyle</a></strong>()</code> </td>
</tr>
<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#ensureThemesTable()">ensureThemesTable</a></strong>()</code>
+<div class="block">If there isn't currently a <a href="../../../../../org/apache/poi/xssf/model/ThemesTable.html" title="class in org.apache.poi.xssf.model"><code>ThemesTable</code></a> for the
+ current Workbook, then creates one and sets it up.</div>
+</td>
+</tr>
+<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html" title="class in org.apache.poi.xssf.usermodel">XSSFFont</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#findFont(short,%20short,%20short,%20java.lang.String,%20boolean,%20boolean,%20short,%20byte)">findFont</a></strong>(short boldWeight,
short color,
@@ -216,129 +223,136 @@ extends <a href="../../../../../org/apac
<div class="block">Finds a font that matches the one with the supplied attributes</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xssf/usermodel/extensions/XSSFCellBorder.html" title="class in org.apache.poi.xssf.usermodel.extensions">XSSFCellBorder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getBorderAt(int)">getBorderAt</a></strong>(int idx)</code> </td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>java.util.List<<a href="../../../../../org/apache/poi/xssf/usermodel/extensions/XSSFCellBorder.html" title="class in org.apache.poi.xssf.usermodel.extensions">XSSFCellBorder</a>></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getBorders()">getBorders</a></strong>()</code> </td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getCellStyleXfAt(int)">getCellStyleXfAt</a></strong>(int idx)</code> </td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getCellXfAt(int)">getCellXfAt</a></strong>(int idx)</code> </td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>org.openxmlformats.schemas.spreadsheetml.x2006.main.CTStylesheet</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getCTStylesheet()">getCTStylesheet</a></strong>()</code>
<div class="block">For unit testing only!</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>org.openxmlformats.schemas.spreadsheetml.x2006.main.CTDxf</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getDxfAt(int)">getDxfAt</a></strong>(int idx)</code> </td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xssf/usermodel/extensions/XSSFCellFill.html" title="class in org.apache.poi.xssf.usermodel.extensions">XSSFCellFill</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getFillAt(int)">getFillAt</a></strong>(int idx)</code> </td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>java.util.List<<a href="../../../../../org/apache/poi/xssf/usermodel/extensions/XSSFCellFill.html" title="class in org.apache.poi.xssf.usermodel.extensions">XSSFCellFill</a>></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getFills()">getFills</a></strong>()</code> </td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html" title="class in org.apache.poi.xssf.usermodel">XSSFFont</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getFontAt(int)">getFontAt</a></strong>(int idx)</code> </td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>java.util.List<<a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html" title="class in org.apache.poi.xssf.usermodel">XSSFFont</a>></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getFonts()">getFonts</a></strong>()</code> </td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getNumberFormatAt(int)">getNumberFormatAt</a></strong>(int idx)</code> </td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>java.util.Map<java.lang.Integer,java.lang.String></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getNumberFormats()">getNumberFormats</a></strong>()</code> </td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getNumCellStyles()">getNumCellStyles</a></strong>()</code>
<div class="block">get the size of cell styles</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFCellStyle.html" title="class in org.apache.poi.xssf.usermodel">XSSFCellStyle</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getStyleAt(int)">getStyleAt</a></strong>(int idx)</code> </td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xssf/model/ThemesTable.html" title="class in org.apache.poi.xssf.model">ThemesTable</a></code></td>
-<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getTheme()">getTheme</a></strong>()</code> </td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getTheme()">getTheme</a></strong>()</code>
+<div class="block">Get the current Workbook's theme table, or null if the
+ Workbook lacks any themes.</div>
+</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#putBorder(org.apache.poi.xssf.usermodel.extensions.XSSFCellBorder)">putBorder</a></strong>(<a href="../../../../../org/apache/poi/xssf/usermodel/extensions/XSSFCellBorder.html" title="class in org.apache.poi.xssf.usermodel.extensions">XSSFCellBorder</a> border)</code> </td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#putCellStyleXf(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf)">putCellStyleXf</a></strong>(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf cellStyleXf)</code> </td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#putCellXf(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf)">putCellXf</a></strong>(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf cellXf)</code> </td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#putDxf(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTDxf)">putDxf</a></strong>(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTDxf dxf)</code> </td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#putFill(org.apache.poi.xssf.usermodel.extensions.XSSFCellFill)">putFill</a></strong>(<a href="../../../../../org/apache/poi/xssf/usermodel/extensions/XSSFCellFill.html" title="class in org.apache.poi.xssf.usermodel.extensions">XSSFCellFill</a> fill)</code> </td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#putFont(org.apache.poi.xssf.usermodel.XSSFFont)">putFont</a></strong>(<a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html" title="class in org.apache.poi.xssf.usermodel">XSSFFont</a> font)</code> </td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#putFont(org.apache.poi.xssf.usermodel.XSSFFont,%20boolean)">putFont</a></strong>(<a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html" title="class in org.apache.poi.xssf.usermodel">XSSFFont</a> font,
boolean forceRegistration)</code>
<div class="block">Records the given font in the font table.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#putNumberFormat(java.lang.String)">putNumberFormat</a></strong>(java.lang.String fmt)</code> </td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#putStyle(org.apache.poi.xssf.usermodel.XSSFCellStyle)">putStyle</a></strong>(<a href="../../../../../org/apache/poi/xssf/usermodel/XSSFCellStyle.html" title="class in org.apache.poi.xssf.usermodel">XSSFCellStyle</a> style)</code> </td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#readFrom(java.io.InputStream)">readFrom</a></strong>(java.io.InputStream is)</code>
<div class="block">Read this shared styles table from an XML file.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#replaceCellStyleXfAt(int,%20org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf)">replaceCellStyleXfAt</a></strong>(int idx,
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf cellStyleXf)</code> </td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#replaceCellXfAt(int,%20org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf)">replaceCellXfAt</a></strong>(int idx,
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf cellXf)</code> </td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#setTheme(org.apache.poi.xssf.model.ThemesTable)">setTheme</a></strong>(<a href="../../../../../org/apache/poi/xssf/model/ThemesTable.html" title="class in org.apache.poi.xssf.model">ThemesTable</a> theme)</code> </td>
</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#setWorkbook(org.apache.poi.xssf.usermodel.XSSFWorkbook)">setWorkbook</a></strong>(<a href="../../../../../org/apache/poi/xssf/usermodel/XSSFWorkbook.html" title="class in org.apache.poi.xssf.usermodel">XSSFWorkbook</a> wb)</code> </td>
+</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#writeTo(java.io.OutputStream)">writeTo</a></strong>(java.io.OutputStream out)</code>
@@ -424,6 +438,15 @@ extends <a href="../../../../../org/apac
<!-- -->
</a>
<h3>Method Detail</h3>
+<a name="setWorkbook(org.apache.poi.xssf.usermodel.XSSFWorkbook)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setWorkbook</h4>
+<pre>public void setWorkbook(<a href="../../../../../org/apache/poi/xssf/usermodel/XSSFWorkbook.html" title="class in org.apache.poi.xssf.usermodel">XSSFWorkbook</a> wb)</pre>
+</li>
+</ul>
<a name="getTheme()">
<!-- -->
</a>
@@ -431,6 +454,10 @@ extends <a href="../../../../../org/apac
<li class="blockList">
<h4>getTheme</h4>
<pre>public <a href="../../../../../org/apache/poi/xssf/model/ThemesTable.html" title="class in org.apache.poi.xssf.model">ThemesTable</a> getTheme()</pre>
+<div class="block">Get the current Workbook's theme table, or null if the
+ Workbook lacks any themes.
+ <p>Use <a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#ensureThemesTable()"><code>ensureThemesTable()</code></a> to have a themes table
+ created if needed</div>
</li>
</ul>
<a name="setTheme(org.apache.poi.xssf.model.ThemesTable)">
@@ -442,6 +469,18 @@ extends <a href="../../../../../org/apac
<pre>public void setTheme(<a href="../../../../../org/apache/poi/xssf/model/ThemesTable.html" title="class in org.apache.poi.xssf.model">ThemesTable</a> theme)</pre>
</li>
</ul>
+<a name="ensureThemesTable()">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>ensureThemesTable</h4>
+<pre>public void ensureThemesTable()</pre>
+<div class="block">If there isn't currently a <a href="../../../../../org/apache/poi/xssf/model/ThemesTable.html" title="class in org.apache.poi.xssf.model"><code>ThemesTable</code></a> for the
+ current Workbook, then creates one and sets it up.
+ After this, calls to <a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getTheme()"><code>getTheme()</code></a> won't give null</div>
+</li>
+</ul>
<a name="readFrom(java.io.InputStream)">
<!-- -->
</a>
Modified: poi/site/publish/apidocs/org/apache/poi/xssf/model/ThemesTable.html
URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/xssf/model/ThemesTable.html?rev=1692212&r1=1692211&r2=1692212&view=diff
==============================================================================
--- poi/site/publish/apidocs/org/apache/poi/xssf/model/ThemesTable.html (original)
+++ poi/site/publish/apidocs/org/apache/poi/xssf/model/ThemesTable.html Wed Jul 22 00:06:43 2015
@@ -136,12 +136,17 @@ extends <a href="../../../../../org/apac
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
+<td class="colOne"><code><strong><a href="../../../../../org/apache/poi/xssf/model/ThemesTable.html#ThemesTable()">ThemesTable</a></strong>()</code>
+<div class="block">Create a new, empty ThemesTable</div>
+</td>
+</tr>
+<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../../org/apache/poi/xssf/model/ThemesTable.html#ThemesTable(org.apache.poi.openxml4j.opc.PackagePart,%20org.apache.poi.openxml4j.opc.PackageRelationship)">ThemesTable</a></strong>(<a href="../../../../../org/apache/poi/openxml4j/opc/PackagePart.html" title="class in org.apache.poi.openxml4j.opc">PackagePart</a> part,
<a href="../../../../../org/apache/poi/openxml4j/opc/PackageRelationship.html" title="class in org.apache.poi.openxml4j.opc">PackageRelationship</a> rel)</code>
<div class="block">Construct a ThemesTable.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../org/apache/poi/xssf/model/ThemesTable.html#ThemesTable(org.openxmlformats.schemas.drawingml.x2006.main.ThemeDocument)">ThemesTable</a></strong>(org.openxmlformats.schemas.drawingml.x2006.main.ThemeDocument theme)</code>
<div class="block">Construct a ThemesTable from an existing ThemeDocument.</div>
</td>
@@ -162,12 +167,18 @@ extends <a href="../../../../../org/apac
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
+<td class="colFirst"><code>protected void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/ThemesTable.html#commit()">commit</a></strong>()</code>
+<div class="block">Save the content in the underlying package part.</div>
+</td>
+</tr>
+<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFColor.html" title="class in org.apache.poi.xssf.usermodel">XSSFColor</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/ThemesTable.html#getThemeColor(int)">getThemeColor</a></strong>(int idx)</code>
<div class="block">Convert a theme "index" into a color.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/ThemesTable.html#inheritFromThemeAsRequired(org.apache.poi.xssf.usermodel.XSSFColor)">inheritFromThemeAsRequired</a></strong>(<a href="../../../../../org/apache/poi/xssf/usermodel/XSSFColor.html" title="class in org.apache.poi.xssf.usermodel">XSSFColor</a> color)</code>
<div class="block">If the colour is based on a theme, then inherit
@@ -175,13 +186,19 @@ extends <a href="../../../../../org/apac
required.</div>
</td>
</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/ThemesTable.html#writeTo(java.io.OutputStream)">writeTo</a></strong>(java.io.OutputStream out)</code>
+<div class="block">Write this table out as XML.</div>
+</td>
+</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.poi.POIXMLDocumentPart">
<!-- -->
</a>
<h3>Methods inherited from class org.apache.poi.<a href="../../../../../org/apache/poi/POIXMLDocumentPart.html" title="class in org.apache.poi">POIXMLDocumentPart</a></h3>
-<code><a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#addRelation(java.lang.String,%20org.apache.poi.POIXMLDocumentPart)">addRelation</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#commit()">commit</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#createRelationship(org.apache.poi.POIXMLRelation,%20org.apache.poi.POIXMLFactory)">createRelationship</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#createRelationship(org.apache.poi.POIXMLRelation,%20org.apache.poi.POIXMLFactory,%20int)">createRelationship</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#createRelationship(org.apache.poi.POIXMLRelation,%20org.apache.poi.POIXMLFactory,%20int,%20boolean)">createRelationship</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#getPackagePart()">getPackagePart</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#getPackageRelationship()">getPackageRelationship</a>, <a hr
ef="../../../../../org/apache/poi/POIXMLDocumentPart.html#getParent()">getParent</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#getRelationById(java.lang.String)">getRelationById</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#getRelationId(org.apache.poi.POIXMLDocumentPart)">getRelationId</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#getRelations()">getRelations</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#getTargetPart(org.apache.poi.openxml4j.opc.PackageRelationship)">getTargetPart</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#onDocumentCreate()">onDocumentCreate</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#onDocumentRead()">onDocumentRead</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#onDocumentRemove()">onDocumentRemove</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#onSave(java.util.Set)">onSave</a>, <a href
="../../../../../org/apache/poi/POIXMLDocumentPart.html#prepareForCommit()">prepareForCommit</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#read(org.apache.poi.POIXMLFactory,%20java.util.Map)">read</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#rebase(org.apache.poi.openxml4j.opc.OPCPackage)">rebase</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#removeRelation(org.apache.poi.POIXMLDocumentPart)">removeRelation</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#removeRelation(org.apache.poi.POIXMLDocumentPart,%20boolean)">removeRelation</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#toString()">toString</a></code></li>
+<code><a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#addRelation(java.lang.String,%20org.apache.poi.POIXMLDocumentPart)">addRelation</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#createRelationship(org.apache.poi.POIXMLRelation,%20org.apache.poi.POIXMLFactory)">createRelationship</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#createRelationship(org.apache.poi.POIXMLRelation,%20org.apache.poi.POIXMLFactory,%20int)">createRelationship</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#createRelationship(org.apache.poi.POIXMLRelation,%20org.apache.poi.POIXMLFactory,%20int,%20boolean)">createRelationship</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#getPackagePart()">getPackagePart</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#getPackageRelationship()">getPackageRelationship</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#getParent()">getParent</a>,
<a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#getRelationById(java.lang.String)">getRelationById</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#getRelationId(org.apache.poi.POIXMLDocumentPart)">getRelationId</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#getRelations()">getRelations</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#getTargetPart(org.apache.poi.openxml4j.opc.PackageRelationship)">getTargetPart</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#onDocumentCreate()">onDocumentCreate</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#onDocumentRead()">onDocumentRead</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#onDocumentRemove()">onDocumentRemove</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#onSave(java.util.Set)">onSave</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#prepareForCommit()">prepareFo
rCommit</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#read(org.apache.poi.POIXMLFactory,%20java.util.Map)">read</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#rebase(org.apache.poi.openxml4j.opc.OPCPackage)">rebase</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#removeRelation(org.apache.poi.POIXMLDocumentPart)">removeRelation</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#removeRelation(org.apache.poi.POIXMLDocumentPart,%20boolean)">removeRelation</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#toString()">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
@@ -204,6 +221,16 @@ extends <a href="../../../../../org/apac
<!-- -->
</a>
<h3>Constructor Detail</h3>
+<a name="ThemesTable()">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>ThemesTable</h4>
+<pre>public ThemesTable()</pre>
+<div class="block">Create a new, empty ThemesTable</div>
+</li>
+</ul>
<a name="ThemesTable(org.apache.poi.openxml4j.opc.PackagePart, org.apache.poi.openxml4j.opc.PackageRelationship)">
<!-- -->
</a>
@@ -253,7 +280,7 @@ extends <a href="../../../../../org/apac
<a name="inheritFromThemeAsRequired(org.apache.poi.xssf.usermodel.XSSFColor)">
<!-- -->
</a>
-<ul class="blockListLast">
+<ul class="blockList">
<li class="blockList">
<h4>inheritFromThemeAsRequired</h4>
<pre>public void inheritFromThemeAsRequired(<a href="../../../../../org/apache/poi/xssf/usermodel/XSSFColor.html" title="class in org.apache.poi.xssf.usermodel">XSSFColor</a> color)</pre>
@@ -262,6 +289,51 @@ extends <a href="../../../../../org/apac
required.</div>
</li>
</ul>
+<a name="writeTo(java.io.OutputStream)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>writeTo</h4>
+<pre>public void writeTo(java.io.OutputStream out)
+ throws java.io.IOException</pre>
+<div class="block">Write this table out as XML.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>out</code> - The stream to write to.</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code>java.io.IOException</code> - if an error occurs while writing.</dd></dl>
+</li>
+</ul>
+<a name="commit()">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>commit</h4>
+<pre>protected void commit()
+ throws java.io.IOException</pre>
+<div class="block"><strong>Description copied from class: <code><a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#commit()">POIXMLDocumentPart</a></code></strong></div>
+<div class="block">Save the content in the underlying package part.
+ Default implementation is empty meaning that the package part is left unmodified.
+
+ Sub-classes should override and add logic to marshal the "model" into Ooxml4J.
+
+ For example, the code saving a generic XML entry may look as follows:
+ <pre><code>
+ protected void commit() throws IOException {
+ PackagePart part = getPackagePart();
+ OutputStream out = part.getOutputStream();
+ XmlObject bean = getXmlBean(); //the "model" which holds changes in memory
+ bean.save(out, DEFAULT_XML_OPTIONS);
+ out.close();
+ }
+ </code></pre></div>
+<dl>
+<dt><strong>Overrides:</strong></dt>
+<dd><code><a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#commit()">commit</a></code> in class <code><a href="../../../../../org/apache/poi/POIXMLDocumentPart.html" title="class in org.apache.poi">POIXMLDocumentPart</a></code></dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code>java.io.IOException</code></dd></dl>
+</li>
+</ul>
</li>
</ul>
</li>
Modified: poi/site/publish/apidocs/org/apache/poi/xssf/model/class-use/ThemesTable.html
URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/xssf/model/class-use/ThemesTable.html?rev=1692212&r1=1692211&r2=1692212&view=diff
==============================================================================
--- poi/site/publish/apidocs/org/apache/poi/xssf/model/class-use/ThemesTable.html (original)
+++ poi/site/publish/apidocs/org/apache/poi/xssf/model/class-use/ThemesTable.html Wed Jul 22 00:06:43 2015
@@ -103,7 +103,10 @@
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/poi/xssf/model/ThemesTable.html" title="class in org.apache.poi.xssf.model">ThemesTable</a></code></td>
-<td class="colLast"><span class="strong">StylesTable.</span><code><strong><a href="../../../../../../org/apache/poi/xssf/model/StylesTable.html#getTheme()">getTheme</a></strong>()</code> </td>
+<td class="colLast"><span class="strong">StylesTable.</span><code><strong><a href="../../../../../../org/apache/poi/xssf/model/StylesTable.html#getTheme()">getTheme</a></strong>()</code>
+<div class="block">Get the current Workbook's theme table, or null if the
+ Workbook lacks any themes.</div>
+</td>
</tr>
</tbody>
</table>
Modified: poi/site/publish/apidocs/org/apache/poi/xssf/usermodel/class-use/XSSFWorkbook.html
URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/xssf/usermodel/class-use/XSSFWorkbook.html?rev=1692212&r1=1692211&r2=1692212&view=diff
==============================================================================
--- poi/site/publish/apidocs/org/apache/poi/xssf/usermodel/class-use/XSSFWorkbook.html (original)
+++ poi/site/publish/apidocs/org/apache/poi/xssf/usermodel/class-use/XSSFWorkbook.html Wed Jul 22 00:06:43 2015
@@ -133,6 +133,19 @@
</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/apache/poi/xssf/model/package-summary.html">org.apache.poi.xssf.model</a> with parameters of type <a href="../../../../../../org/apache/poi/xssf/usermodel/XSSFWorkbook.html" title="class in org.apache.poi.xssf.usermodel">XSSFWorkbook</a></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>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><span class="strong">StylesTable.</span><code><strong><a href="../../../../../../org/apache/poi/xssf/model/StylesTable.html#setWorkbook(org.apache.poi.xssf.usermodel.XSSFWorkbook)">setWorkbook</a></strong>(<a href="../../../../../../org/apache/poi/xssf/usermodel/XSSFWorkbook.html" title="class in org.apache.poi.xssf.usermodel">XSSFWorkbook</a> wb)</code> </td>
+</tr>
+</tbody>
+</table>
</li>
<li class="blockList"><a name="org.apache.poi.xssf.streaming">
<!-- -->
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org