poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r1756004 - in /poi/site/publish/apidocs: index-all.html org/apache/poi/hwpf/HWPFDocument.html
Date Thu, 11 Aug 2016 15:38:15 GMT
Author: nick
Date: Thu Aug 11 15:38:15 2016
New Revision: 1756004

URL: http://svn.apache.org/viewvc?rev=1756004&view=rev
Log:
Republish Javadocs

Modified:
    poi/site/publish/apidocs/index-all.html
    poi/site/publish/apidocs/org/apache/poi/hwpf/HWPFDocument.html

Modified: poi/site/publish/apidocs/index-all.html
URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/index-all.html?rev=1756004&r1=1756003&r2=1756004&view=diff
==============================================================================
--- poi/site/publish/apidocs/index-all.html (original)
+++ poi/site/publish/apidocs/index-all.html Thu Aug 11 15:38:15 2016
@@ -87097,7 +87097,9 @@ the order they are declared.</div>
 </dd>
 <dt><span class="strong"><a href="./org/apache/poi/hwpf/HWPFDocument.html#write()">write()</a></span>
- Method in class org.apache.poi.hwpf.<a href="./org/apache/poi/hwpf/HWPFDocument.html"
title="class in org.apache.poi.hwpf">HWPFDocument</a></dt>
 <dd>
-<div class="block">Warning - not currently implemented for HWPF!</div>
+<div class="block">Write out the word file that is represented by this class, to the

+  currently open <code>File</code>, via the writeable <a href="./org/apache/poi/poifs/filesystem/POIFSFileSystem.html"
title="class in org.apache.poi.poifs.filesystem"><code>POIFSFileSystem</code></a>
+  it was opened as.</div>
 </dd>
 <dt><span class="strong"><a href="./org/apache/poi/hwpf/HWPFDocument.html#write(java.io.File)">write(File)</a></span>
- Method in class org.apache.poi.hwpf.<a href="./org/apache/poi/hwpf/HWPFDocument.html"
title="class in org.apache.poi.hwpf">HWPFDocument</a></dt>
 <dd>

Modified: poi/site/publish/apidocs/org/apache/poi/hwpf/HWPFDocument.html
URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/hwpf/HWPFDocument.html?rev=1756004&r1=1756003&r2=1756004&view=diff
==============================================================================
--- poi/site/publish/apidocs/org/apache/poi/hwpf/HWPFDocument.html (original)
+++ poi/site/publish/apidocs/org/apache/poi/hwpf/HWPFDocument.html Thu Aug 11 15:38:15 2016
@@ -450,7 +450,9 @@ extends <a href="../../../../org/apache/
 <tr class="altColor">
 <td class="colFirst"><code>void</code></td>
 <td class="colLast"><code><strong><a href="../../../../org/apache/poi/hwpf/HWPFDocument.html#write()">write</a></strong>()</code>
-<div class="block">Warning - not currently implemented for HWPF!</div>
+<div class="block">Write out the word file that is represented by this class, to the

+  currently open <code>File</code>, via the writeable <a href="../../../../org/apache/poi/poifs/filesystem/POIFSFileSystem.html"
title="class in org.apache.poi.poifs.filesystem"><code>POIFSFileSystem</code></a>
+  it was opened as.</div>
 </td>
 </tr>
 <tr class="rowColor">
@@ -1025,12 +1027,21 @@ public&nbsp;<a href="../../../../org/apa
 <h4>write</h4>
 <pre>public&nbsp;void&nbsp;write()
            throws java.io.IOException</pre>
-<div class="block">Warning - not currently implemented for HWPF!</div>
+<div class="block">Write out the word file that is represented by this class, to the

+  currently open <code>File</code>, via the writeable <a href="../../../../org/apache/poi/poifs/filesystem/POIFSFileSystem.html"
title="class in org.apache.poi.poifs.filesystem"><code>POIFSFileSystem</code></a>
+  it was opened as. 
+  
+ <p>This will fail (with an <code>IllegalStateException</code> if the
+  Document was opened read-only, opened from an <code>InputStream</code>
+   instead of a File, or if this is not the root document. For those cases, 
+   you must use <a href="../../../../org/apache/poi/hwpf/HWPFDocument.html#write(java.io.OutputStream)"><code>write(OutputStream)</code></a>
or <a href="../../../../org/apache/poi/hwpf/HWPFDocument.html#write(java.io.File)"><code>write(File)</code></a>
to 
+   write to a brand new document.</div>
 <dl>
 <dt><strong>Specified by:</strong></dt>
 <dd><code><a href="../../../../org/apache/poi/POIDocument.html#write()">write</a></code>&nbsp;in
class&nbsp;<code><a href="../../../../org/apache/poi/POIDocument.html" title="class
in org.apache.poi">POIDocument</a></code></dd>
 <dt><span class="strong">Throws:</span></dt>
-<dd><code>java.io.IOException</code> - thrown on errors writing to the
file</dd></dl>
+<dd><code>java.io.IOException</code> - thrown on errors writing to the
file</dd><dt><span class="strong">Since:</span></dt>
+  <dd>3.15</dd></dl>
 </li>
 </ul>
 <a name="write(java.io.File)">



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message