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/10/25 17:23:59 UTC
svn commit: r1710462 - in /poi/site/publish/apidocs/org/apache/poi:
ss/format/CellFormat.html ss/usermodel/DataFormatter.html
ss/util/DateFormatConverter.html xdgf/usermodel/XDGFText.html
Author: nick
Date: Sun Oct 25 16:23:59 2015
New Revision: 1710462
URL: http://svn.apache.org/viewvc?rev=1710462&view=rev
Log:
Republish javadocs
Modified:
poi/site/publish/apidocs/org/apache/poi/ss/format/CellFormat.html
poi/site/publish/apidocs/org/apache/poi/ss/usermodel/DataFormatter.html
poi/site/publish/apidocs/org/apache/poi/ss/util/DateFormatConverter.html
poi/site/publish/apidocs/org/apache/poi/xdgf/usermodel/XDGFText.html
Modified: poi/site/publish/apidocs/org/apache/poi/ss/format/CellFormat.html
URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/ss/format/CellFormat.html?rev=1710462&r1=1710461&r2=1710462&view=diff
==============================================================================
--- poi/site/publish/apidocs/org/apache/poi/ss/format/CellFormat.html (original)
+++ poi/site/publish/apidocs/org/apache/poi/ss/format/CellFormat.html Sun Oct 25 16:23:59 2015
@@ -125,6 +125,11 @@ extends java.lang.Object</pre>
fourth part (example: text in the cell's usual color, with the text value
surround by brackets). </dl>
<p/>
+ A given format part may specify a given Locale, by including something
+ like <tt>[$$-409]</tt> or <tt>[$£-809]</tt> or <tt>[$-40C]</tt>. These
+ are (currently) largely ignored. You can use <a href="../../../../../org/apache/poi/ss/util/DateFormatConverter.html" title="class in org.apache.poi.ss.util"><code>DateFormatConverter</code></a>
+ to look these up into Java Locales if desired.
+ <p/>
In addition to these, there is a general format that is used when no format
is specified. This formatting is presented by the <a href="../../../../../org/apache/poi/ss/format/CellFormat.html#GENERAL_FORMAT"><code>GENERAL_FORMAT</code></a>
object.
Modified: poi/site/publish/apidocs/org/apache/poi/ss/usermodel/DataFormatter.html
URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/ss/usermodel/DataFormatter.html?rev=1710462&r1=1710461&r2=1710462&view=diff
==============================================================================
--- poi/site/publish/apidocs/org/apache/poi/ss/usermodel/DataFormatter.html (original)
+++ poi/site/publish/apidocs/org/apache/poi/ss/usermodel/DataFormatter.html Sun Oct 25 16:23:59 2015
@@ -160,7 +160,16 @@ implements java.util.Observer</pre>
<li>Invalid dates are formatted as 255 pound signs ("#")</li>
<li>simulate Excel's handling of a format string of all # when the value is 0.
Excel will output "", <code>DataFormatter</code> will output "0".
- </ul></div>
+ </ul>
+ <p>
+ Some formats are automatically "localised" by Excel, eg show as mm/dd/yyyy when
+ loaded in Excel in some Locales but as dd/mm/yyyy in others. These are always
+ returned in the "default" (US) format, as stored in the file.
+ Some format strings request an alternate locale, eg
+ <code>[$-809]d/m/yy h:mm AM/PM</code> which explicitly requests UK locale.
+ These locale directives are (currently) ignored.
+ You can use <a href="../../../../../org/apache/poi/ss/util/DateFormatConverter.html" title="class in org.apache.poi.ss.util"><code>DateFormatConverter</code></a> to do some of this localisation if
+ you need it.</div>
</li>
</ul>
</div>
Modified: poi/site/publish/apidocs/org/apache/poi/ss/util/DateFormatConverter.html
URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/ss/util/DateFormatConverter.html?rev=1710462&r1=1710461&r2=1710462&view=diff
==============================================================================
--- poi/site/publish/apidocs/org/apache/poi/ss/util/DateFormatConverter.html (original)
+++ poi/site/publish/apidocs/org/apache/poi/ss/util/DateFormatConverter.html Sun Oct 25 16:23:59 2015
@@ -110,8 +110,9 @@ extends java.lang.Object</pre>
cellStyle.setDataFormat(poiFormat.getFormat(excelFormatPattern));
cell.setCellValue(new Date());
cell.setCellStyle(cellStyle); // formats date as '2012å¹´3æ17æ¥'
+ </code></pre>
- </code></pre></div>
+ TODO Generalise this for all Excel format strings</div>
</li>
</ul>
</div>
Modified: poi/site/publish/apidocs/org/apache/poi/xdgf/usermodel/XDGFText.html
URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/xdgf/usermodel/XDGFText.html?rev=1710462&r1=1710461&r2=1710462&view=diff
==============================================================================
--- poi/site/publish/apidocs/org/apache/poi/xdgf/usermodel/XDGFText.html (original)
+++ poi/site/publish/apidocs/org/apache/poi/xdgf/usermodel/XDGFText.html Sun Oct 25 16:23:59 2015
@@ -214,7 +214,7 @@ extends java.lang.Object</pre>
<h4>getTextBounds</h4>
<pre>public java.awt.geom.Rectangle2D.Double getTextBounds()</pre>
<div class="block">These are in the shape coordinate system</div>
-<dl><dt><span class="strong">See Also:</span></dt><dd><code>https://msdn.microsoft.com/en-us/library/hh644132(v=office.12).aspx</code></dd></dl>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="https://msdn.microsoft.com/en-us/library/hh644132(v=office.12).aspx">Text Block Coordinate System docs</a></dd></dl>
</li>
</ul>
<a name="getBoundsAsPath()">
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org