<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-298</id>
	<title>Nabble - Apache POI</title>
	<updated>2009-12-03T21:52:18Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Apache-POI-f298.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Apache-POI-f298.html" />
	<subtitle type="html">Java API To Access Microsoft Format Files Jakarta POI home is &lt;a href=&quot;http://poi.apache.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26635772</id>
	<title>Background color for symbol/textpart in HWPFDocument</title>
	<published>2009-12-03T21:52:18Z</published>
	<updated>2009-12-03T21:52:18Z</updated>
	<author>
		<name>refref</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;How can i get background color for part of .doc-document?
&lt;br&gt;(need it for doc2html)
&lt;br&gt;&lt;br&gt;Thnks&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---User-f332.html&quot; embed=&quot;fixTarget[332]&quot; target=&quot;_top&quot; &gt;POI - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Background-color-for-symbol-textpart-in-HWPFDocument-tp26635772p26635772.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26634999</id>
	<title>DO NOT REPLY [Bug 48336] Error reading date</title>
	<published>2009-12-03T15:17:29Z</published>
	<updated>2009-12-03T15:17:29Z</updated>
	<author>
		<name>Bugzilla from bugzilla@apache.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://issues.apache.org/bugzilla/show_bug.cgi?id=48336&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/show_bug.cgi?id=48336&lt;/a&gt;&lt;br&gt;&lt;br&gt;Josh Micich &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26634999&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;josh@...&lt;/a&gt;&amp;gt; changed:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;What &amp;nbsp; &amp;nbsp;|Removed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |Added
&lt;br&gt;----------------------------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status|REOPENED &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|NEEDINFO
&lt;br&gt;&lt;br&gt;--- Comment #4 from Josh Micich &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26634999&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;josh@...&lt;/a&gt;&amp;gt; 2009-12-03 15:17:26 UTC ---
&lt;br&gt;A short term work around is for you to use methods from DateUtil like
&lt;br&gt;setCalendar to calculate dates with negative 'serial date' values. &amp;nbsp;However it
&lt;br&gt;seems like you might be requesting a real change (to how POI behaves).
&lt;br&gt;&lt;br&gt;Normally such an enhancement request is rejected on the grounds that it
&lt;br&gt;involves POI doing something that Excel considers invalid. &amp;nbsp;However, I agree
&lt;br&gt;that the functionality you desire is very reasonable. &amp;nbsp;I think the restriction
&lt;br&gt;on dates before 1900 is silly. &amp;nbsp;On the other hand, we can't go about
&lt;br&gt;implementing every request for features from other applications that go beyond
&lt;br&gt;the Excel file format spec.
&lt;br&gt;&lt;br&gt;I want to wait for comments from other POI committers before doing anything. 
&lt;br&gt;There is also the general question of how we accept/reject/prioritize bugs and
&lt;br&gt;feature requests that raise issues of compliance with other applications. &amp;nbsp;I
&lt;br&gt;don't know of any POI documentation that deals with this.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the assignee for the bug.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26634999&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26634999&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-48336--New%3A-Error-reading-date-tp26630117p26634999.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26634344</id>
	<title>DO NOT REPLY [Bug 46479] [PATCH] evaluateInCell fails if the formula was previously invalid</title>
	<published>2009-12-03T14:23:55Z</published>
	<updated>2009-12-03T14:23:55Z</updated>
	<author>
		<name>Bugzilla from bugzilla@apache.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://issues.apache.org/bugzilla/show_bug.cgi?id=46479&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/show_bug.cgi?id=46479&lt;/a&gt;&lt;br&gt;&lt;br&gt;--- Comment #4 from Josh Micich &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26634344&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;josh@...&lt;/a&gt;&amp;gt; 2009-12-03 14:23:52 UTC ---
&lt;br&gt;Additional similar fixes applied in svn r886951
&lt;br&gt;&lt;br&gt;Problems occurred when changing a formula cell to type string. &amp;nbsp;These cases
&lt;br&gt;weren't addressed in the previous fix.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the assignee for the bug.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26634344&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26634344&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-46479--New%3A--PATCH--evaluateInCell-fails-if-the-formula-was-previously-invalid-tp21293643p26634344.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26633776</id>
	<title>Re: a 'lite' version of ooxml-schemas jar</title>
	<published>2009-12-03T13:45:29Z</published>
	<updated>2009-12-03T13:45:29Z</updated>
	<author>
		<name>Jukka Zitting</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;On Thu, Dec 3, 2009 at 5:58 PM, Yegor Kozlov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26633776&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yegor@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; the problem should be fixed in r886733.
&lt;br&gt;&amp;gt; At least, Tika trunk compiles OK against poi-ooxml-schemas produced from POI
&lt;br&gt;&amp;gt; trunk. JUnits run OK too.
&lt;br&gt;&lt;br&gt;Excellent, thanks!
&lt;br&gt;&lt;br&gt;BR,
&lt;br&gt;&lt;br&gt;Jukka Zitting
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26633776&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26633776&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/a-%27lite%27-version-of-ooxml-schemas-jar-tp26375372p26633776.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26630542</id>
	<title>DO NOT REPLY [Bug 48336] Error reading date</title>
	<published>2009-12-03T10:14:08Z</published>
	<updated>2009-12-03T10:14:08Z</updated>
	<author>
		<name>Bugzilla from bugzilla@apache.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://issues.apache.org/bugzilla/show_bug.cgi?id=48336&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/show_bug.cgi?id=48336&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26630542&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vdhanda@...&lt;/a&gt; changed:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;What &amp;nbsp; &amp;nbsp;|Removed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |Added
&lt;br&gt;----------------------------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status|RESOLVED &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|REOPENED
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Resolution|INVALID &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;&lt;br&gt;--- Comment #3 from &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26630542&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vdhanda@...&lt;/a&gt; 2009-12-03 10:14:08 UTC ---
&lt;br&gt;Can you try opening it in OpenOffice. &amp;nbsp;It shows the correct value as
&lt;br&gt;12/31/1896.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the assignee for the bug.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26630542&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26630542&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-48336--New%3A-Error-reading-date-tp26630117p26630542.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26630389</id>
	<title>DO NOT REPLY [Bug 48336] Error reading date</title>
	<published>2009-12-03T10:04:24Z</published>
	<updated>2009-12-03T10:04:24Z</updated>
	<author>
		<name>Bugzilla from bugzilla@apache.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://issues.apache.org/bugzilla/show_bug.cgi?id=48336&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/show_bug.cgi?id=48336&lt;/a&gt;&lt;br&gt;&lt;br&gt;Josh Micich &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26630389&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;josh@...&lt;/a&gt;&amp;gt; changed:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;What &amp;nbsp; &amp;nbsp;|Removed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |Added
&lt;br&gt;----------------------------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status|NEW &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |RESOLVED
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Resolution| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|INVALID
&lt;br&gt;&lt;br&gt;--- Comment #2 from Josh Micich &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26630389&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;josh@...&lt;/a&gt;&amp;gt; 2009-12-03 10:04:23 UTC ---
&lt;br&gt;There is something wrong with cell D1. &amp;nbsp;It displays as
&lt;br&gt;'#######################' in my Excel 2007. &amp;nbsp;Excel has roll-over tip text that
&lt;br&gt;provides more information: &amp;quot;Dates and times that are negative or too large
&lt;br&gt;display as ######.&amp;quot;
&lt;br&gt;Indeed the cell value is -1094
&lt;br&gt;HSSFCell.getNumericCellValue() should return -1094.0 and
&lt;br&gt;HSSFCell.getDateCellValue() should return null due to this invalid date value.
&lt;br&gt;&lt;br&gt;The cell has a custom format 'mmm-dd-yyyy' which suggests that the application
&lt;br&gt;that wrote this file intended for the cell to have a date value.
&lt;br&gt;&lt;br&gt;I am marking this bug as invalid because it appears that the problem is with
&lt;br&gt;&amp;quot;SoftArtisans OfficeWriter&amp;quot;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the assignee for the bug.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26630389&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26630389&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-48336--New%3A-Error-reading-date-tp26630117p26630389.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26630321</id>
	<title>Re: Text Substitution for Word 2007 in POI 3.5</title>
	<published>2009-12-03T10:01:02Z</published>
	<updated>2009-12-03T10:01:02Z</updated>
	<author>
		<name>MSB</name>
	</author>
	<content type="html">Sorry to say Rafael that I am not sure what it is that you are asking. I have just a a very quick - cursory - glance at the javadoc for the XWPFRun class and it is possible to call methods that will recover the text the run contains and to set the text it ought to encapsulate. Would it not be possible to recover the text, use Java's String handling capabilities to search for and replace text and then re-set the runs text?
&lt;br&gt;&lt;br&gt;Yours
&lt;br&gt;&lt;br&gt;Mark B
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Rafael Paiva wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;I assume it's not available. Any plans for having this back on 3.6? Any
&lt;br&gt;undocumented workaround for 3.5?
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Rafael.
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Text-Substitution-for-Word-2007-in-POI-3.5-tp26624595p26630321.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26630248</id>
	<title>Re: DO NOT REPLY [Bug 48336] New: Error reading date</title>
	<published>2009-12-03T09:56:12Z</published>
	<updated>2009-12-03T09:56:12Z</updated>
	<author>
		<name>MSB</name>
	</author>
	<content type="html">Can I ask, what does POI think the value in that cell is? I would guess that it is telling you that the cell holds a numeric value.
&lt;br&gt;&lt;br&gt;You do know that dates are actually stored as numeric values that are then 'converted' into the familair format by the formatting that is applied to the cell? If you are expecting to see a formatted date value recovered from the cell then you will need to use something like the DataFormatter class to convert the numeric value into the form you expect to see.
&lt;br&gt;&lt;br&gt;Yours
&lt;br&gt;&lt;br&gt;Mark B
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Bugzilla from bugzilla@apache.org wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;&lt;a href=&quot;https://issues.apache.org/bugzilla/show_bug.cgi?id=48336&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/show_bug.cgi?id=48336&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Summary: Error reading date
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Product: POI
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Version: 3.5-FINAL
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Platform: Other
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OS/Version: Linux
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: NEW
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Severity: critical
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: P2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Component: HSSF
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AssignedTo: dev@poi.apache.org
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ReportedBy: vdhanda@epistemic.com
&lt;br&gt;&lt;br&gt;&lt;br&gt;Created an attachment (id=24665)
&lt;br&gt;&amp;nbsp;--&amp;gt; (&lt;a href=&quot;https://issues.apache.org/bugzilla/attachment.cgi?id=24665&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/attachment.cgi?id=24665&lt;/a&gt;)
&lt;br&gt;Excel file
&lt;br&gt;&lt;br&gt;The attached Excel has a date value in row 1, column D. &amp;nbsp;POI doesn't read it as
&lt;br&gt;a date. &amp;nbsp;The file was created by SoftArtisans OfficeWriter for Excel 7.0.0.1642
&lt;br&gt;(&lt;a href=&quot;http://officewriter.softartisans.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://officewriter.softartisans.com&lt;/a&gt;).
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the assignee for the bug.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
&lt;br&gt;For additional commands, e-mail: dev-help@poi.apache.org
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-48336--New%3A-Error-reading-date-tp26630117p26630248.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26630130</id>
	<title>DO NOT REPLY [Bug 48336] Error reading date</title>
	<published>2009-12-03T09:47:10Z</published>
	<updated>2009-12-03T09:47:10Z</updated>
	<author>
		<name>Bugzilla from bugzilla@apache.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://issues.apache.org/bugzilla/show_bug.cgi?id=48336&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/show_bug.cgi?id=48336&lt;/a&gt;&lt;br&gt;&lt;br&gt;--- Comment #1 from &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26630130&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vdhanda@...&lt;/a&gt; 2009-12-03 09:47:09 UTC ---
&lt;br&gt;Created an attachment (id=24666)
&lt;br&gt;&amp;nbsp;--&amp;gt; (&lt;a href=&quot;https://issues.apache.org/bugzilla/attachment.cgi?id=24666&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/attachment.cgi?id=24666&lt;/a&gt;)
&lt;br&gt;BiffViewer dump
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the assignee for the bug.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26630130&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26630130&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-48336--New%3A-Error-reading-date-tp26630117p26630130.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26630118</id>
	<title>DO NOT REPLY [Bug 48336] Error reading date</title>
	<published>2009-12-03T09:46:19Z</published>
	<updated>2009-12-03T09:46:19Z</updated>
	<author>
		<name>Bugzilla from bugzilla@apache.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://issues.apache.org/bugzilla/show_bug.cgi?id=48336&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/show_bug.cgi?id=48336&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26630118&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vdhanda@...&lt;/a&gt; changed:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;What &amp;nbsp; &amp;nbsp;|Removed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |Added
&lt;br&gt;----------------------------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CC| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26630118&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vdhanda@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the assignee for the bug.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26630118&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26630118&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-48336--New%3A-Error-reading-date-tp26630117p26630118.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26630117</id>
	<title>DO NOT REPLY [Bug 48336] New: Error reading date</title>
	<published>2009-12-03T09:46:10Z</published>
	<updated>2009-12-03T09:46:10Z</updated>
	<author>
		<name>Bugzilla from bugzilla@apache.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://issues.apache.org/bugzilla/show_bug.cgi?id=48336&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/show_bug.cgi?id=48336&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Summary: Error reading date
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Product: POI
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Version: 3.5-FINAL
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Platform: Other
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OS/Version: Linux
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: NEW
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Severity: critical
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: P2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Component: HSSF
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AssignedTo: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26630117&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ReportedBy: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26630117&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vdhanda@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Created an attachment (id=24665)
&lt;br&gt;&amp;nbsp;--&amp;gt; (&lt;a href=&quot;https://issues.apache.org/bugzilla/attachment.cgi?id=24665&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/attachment.cgi?id=24665&lt;/a&gt;)
&lt;br&gt;Excel file
&lt;br&gt;&lt;br&gt;The attached Excel has a date value in row 1, column D. &amp;nbsp;POI doesn't read it as
&lt;br&gt;a date. &amp;nbsp;The file was created by SoftArtisans OfficeWriter for Excel 7.0.0.1642
&lt;br&gt;(&lt;a href=&quot;http://officewriter.softartisans.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://officewriter.softartisans.com&lt;/a&gt;).
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the assignee for the bug.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26630117&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26630117&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-48336--New%3A-Error-reading-date-tp26630117p26630117.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26629353</id>
	<title>Re: a 'lite' version of ooxml-schemas jar</title>
	<published>2009-12-03T08:58:04Z</published>
	<updated>2009-12-03T08:58:04Z</updated>
	<author>
		<name>Yegor Kozlov</name>
	</author>
	<content type="html">the problem should be fixed in r886733.
&lt;br&gt;At least, Tika trunk compiles OK against poi-ooxml-schemas produced from POI trunk. JUnits run OK too.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Yegor
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Wed, Dec 2, 2009 at 7:58 PM, Yegor Kozlov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26629353&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yegor@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; Can you point me at the place in Tika where getBookmarkStartArray() is used?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; See line 78 of o.a.tika.parser.microsoft.ooxml.XWPFWordExtractorDecorator [1].
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; [1] &lt;a href=&quot;http://svn.apache.org/viewvc/lucene/tika/trunk/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/ooxml/XWPFWordExtractorDecorator.java?revision=820962&amp;view=markup&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/viewvc/lucene/tika/trunk/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/ooxml/XWPFWordExtractorDecorator.java?revision=820962&amp;view=markup&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; BR,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Jukka Zitting
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26629353&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26629353&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26629353&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26629353&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/a-%27lite%27-version-of-ooxml-schemas-jar-tp26375372p26629353.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26626208</id>
	<title>Re: HSSFCell short/int</title>
	<published>2009-12-03T05:48:27Z</published>
	<updated>2009-12-03T05:48:27Z</updated>
	<author>
		<name>David Law-2</name>
	</author>
	<content type="html">Hi Josh,
&lt;br&gt;&lt;br&gt;thanks for that thorough explanation.
&lt;br&gt;My formulation was rather ambiguous.
&lt;br&gt;&lt;br&gt;The need for migrating to int is clear.
&lt;br&gt;&lt;br&gt;My issue is that for Rows it makes sense in the HSSF world to
&lt;br&gt;convert to &amp;quot;unsigned short&amp;quot; by AND'ing with 65535, as that is
&lt;br&gt;the maximum no. of rows, but for columns the max is 256, so it
&lt;br&gt;is really quite misleading, because the signed range of the
&lt;br&gt;short is sufficient.
&lt;br&gt;&lt;br&gt;The HSSFCell.getCell(short) code...
&lt;br&gt;int ushortCellNum = cellnum &amp; 0x0000FFFF; // avoid sign extension
&lt;br&gt;return getCell(ushortCellNum);
&lt;br&gt;...raises an issue with the beholder that is not relevant.
&lt;br&gt;&lt;br&gt;Maybe I can illustrate that with an example:
&lt;br&gt;I actually noticed this while migrating code from the deprecated
&lt;br&gt;method to the int method. My first shot was to AND my short with
&lt;br&gt;65535 before calling the int method, so you see, I was forced to
&lt;br&gt;deal with an issue that was irrelevant. My code would of course
&lt;br&gt;have worked with the AND, but its not necessary.
&lt;br&gt;&lt;br&gt;I would replace the 2 lines with...
&lt;br&gt;return getCell((int)cellnum);
&lt;br&gt;&lt;br&gt;In any case, I would think its better to give an out-of-range error
&lt;br&gt;that mentions the value supplied &amp; not its unsigned equivalent.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;DaveLaw
&lt;br&gt;&lt;br&gt;----- original message --------
&lt;br&gt;&lt;br&gt;Subject: Re: HSSFCell short/int
&lt;br&gt;Sent: Wed, 02 Dec 2009
&lt;br&gt;From: Josh Micich&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26626208&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;josh.micich@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello Dave,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It's not clear if you are questioning the merit of creating the newer
&lt;br&gt;&amp;gt; method &amp;quot;getCell(int)&amp;quot;, or whether the old method &amp;quot;getCell(short)&amp;quot;
&lt;br&gt;&amp;gt; should have been deprecated at all, so I'll attempt to answer both
&lt;br&gt;&amp;gt; concerns.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The most visible reason why POI is moving away from bytes and shorts
&lt;br&gt;&amp;gt; is the need for typecasts when using literal integer constants, even
&lt;br&gt;&amp;gt; when the value is quite obviously within range. &amp;nbsp;For example without
&lt;br&gt;&amp;gt; the new method &amp;quot;row.getCell(5)&amp;quot; would not compile. &amp;nbsp;We would have to
&lt;br&gt;&amp;gt; write &amp;quot;row.getCell((short)5)&amp;quot;.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; There have been several POI bugs involving representation of unsigned
&lt;br&gt;&amp;gt; (ushort, ubyte) quantities with java datatypes (signed) of the same
&lt;br&gt;&amp;gt; width (short, byte). &amp;nbsp;When shorts and bytes are used, the corrected
&lt;br&gt;&amp;gt; code generally needs more typecasts and bit mask expressions. &amp;nbsp; If
&lt;br&gt;&amp;gt; those datatypes are changed to int, the code is usually simpler and
&lt;br&gt;&amp;gt; easier to read.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The new method &amp;quot;getCell(int) method may in the first place have been
&lt;br&gt;&amp;gt; introduced as a result of the XSSF common interface work (a separate
&lt;br&gt;&amp;gt; reason, as suggested by Mark B).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; That sort-of explains the rationale for creating the new method
&lt;br&gt;&amp;gt; &amp;quot;getCell(int)&amp;quot;. &amp;nbsp; The reason for deprecating the old is to eliminate
&lt;br&gt;&amp;gt; overloading (of &amp;quot;getCell&amp;quot;). &amp;nbsp;Method overloading is sometimes very
&lt;br&gt;&amp;gt; handy but has quite a few pitfalls, and for that reason POI tries to
&lt;br&gt;&amp;gt; use overloading sparingly.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; As far as the exact meaning of the '@deprecated' tag, in POI (unlike
&lt;br&gt;&amp;gt; in the java runtime library) it means &amp;quot;This method will be removed in
&lt;br&gt;&amp;gt; a future POI version&amp;quot;. &amp;nbsp;An alternative is always given. &amp;nbsp;A deprecation
&lt;br&gt;&amp;gt; date has been provided in most places, to help POI users prioritize
&lt;br&gt;&amp;gt; clean-up of their own code.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You mentioned the comment from the the first line of the deprecated method:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int ushortCellNum = cellnum &amp; 0x0000FFFF; // avoid sign extension
&lt;br&gt;&amp;gt; The bit-mask is correct for 16-bit unsigned conversion. &amp;nbsp;Masking with
&lt;br&gt;&amp;gt; 0xFF would be wrong because it would silently convert every possible
&lt;br&gt;&amp;gt; input to a valid column index. &amp;nbsp;For example: is it sensible for
&lt;br&gt;&amp;gt; &amp;quot;getCell((short)300)&amp;quot; to succeed? &amp;nbsp; Maybe it looks pointless to
&lt;br&gt;&amp;gt; convert values in the range (-32768...-1) to (32768...65535) is
&lt;br&gt;&amp;gt; because the maximum column index is 255. &amp;nbsp;This conversion to unsigned
&lt;br&gt;&amp;gt; 16-bit has been done because it's more likely that the caller intends
&lt;br&gt;&amp;gt; an unsigned quantity (column indexes are never negative). &amp;nbsp;So if a
&lt;br&gt;&amp;gt; negative value *does* get into this method, it's probably better to
&lt;br&gt;&amp;gt; format the error message in terms of the unsigned 16 bit quantity.
&lt;br&gt;&amp;gt; Similar results could have been achieved with bounds checking the
&lt;br&gt;&amp;gt; argument, but would involve duplicating all the MissingCellPolicy
&lt;br&gt;&amp;gt; logic too.
&lt;br&gt;&amp;gt; So - that line of code is there for making better error messages, and
&lt;br&gt;&amp;gt; has little to do with the reasons for the &amp;nbsp;deprecation.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; regards,
&lt;br&gt;&amp;gt; Josh
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26626208&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26626208&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;--- original message end ----
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26626208&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26626208&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---User-f332.html&quot; embed=&quot;fixTarget[332]&quot; target=&quot;_top&quot; &gt;POI - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/HSSFCell-short-int-tp26607785p26626208.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26623818</id>
	<title>DO NOT REPLY [Bug 48327] cloneSheet() gives an &quot;Error file: data may have been lost&quot; in Excel 2003 or higher if sheet contains commented cells</title>
	<published>2009-12-03T02:29:10Z</published>
	<updated>2009-12-03T02:29:10Z</updated>
	<author>
		<name>Bugzilla from bugzilla@apache.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://issues.apache.org/bugzilla/show_bug.cgi?id=48327&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/show_bug.cgi?id=48327&lt;/a&gt;&lt;br&gt;&lt;br&gt;Manuela &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26623818&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;manuela.munaretto@...&lt;/a&gt;&amp;gt; changed:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;What &amp;nbsp; &amp;nbsp;|Removed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |Added
&lt;br&gt;----------------------------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Summary|cloneSheet() gives an &amp;nbsp; &amp;nbsp; &amp;nbsp; |cloneSheet() gives an
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;quot;Error file: data may have &amp;nbsp;|&amp;quot;Error file: data may have
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|been lost&amp;quot; in Excel 2003 or |been lost&amp;quot; in Excel 2003 or
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|higher if sheet commented &amp;nbsp; |higher if sheet contains
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|cells &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |commented cells
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the assignee for the bug.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26623818&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26623818&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-48327--New%3A-cloneSheet%28%29-gives-an-%22Error-file%3A-data-may-have-been-lost%22-in-Excel-2003-or-higher-tp26606004p26623818.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26623812</id>
	<title>DO NOT REPLY [Bug 48327] cloneSheet() gives an &quot;Error file: data may have been lost&quot; in Excel 2003 or higher if sheet commented cells</title>
	<published>2009-12-03T02:28:36Z</published>
	<updated>2009-12-03T02:28:36Z</updated>
	<author>
		<name>Bugzilla from bugzilla@apache.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://issues.apache.org/bugzilla/show_bug.cgi?id=48327&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/show_bug.cgi?id=48327&lt;/a&gt;&lt;br&gt;&lt;br&gt;Manuela &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26623812&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;manuela.munaretto@...&lt;/a&gt;&amp;gt; changed:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;What &amp;nbsp; &amp;nbsp;|Removed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |Added
&lt;br&gt;----------------------------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Summary|cloneSheet() gives an &amp;nbsp; &amp;nbsp; &amp;nbsp; |cloneSheet() gives an
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;quot;Error file: data may have &amp;nbsp;|&amp;quot;Error file: data may have
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|been lost&amp;quot; in Excel 2003 or |been lost&amp;quot; in Excel 2003 or
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|higher &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|higher if sheet commented
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|cells
&lt;br&gt;&lt;br&gt;--- Comment #1 from Manuela &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26623812&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;manuela.munaretto@...&lt;/a&gt;&amp;gt; 2009-12-03 02:28:35 UTC ---
&lt;br&gt;I tried to cancel all comments and Excel opens file without pop-up-ing error
&lt;br&gt;message: &amp;quot;Error file: data may have been lost&amp;quot;.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the assignee for the bug.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26623812&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26623812&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-48327--New%3A-cloneSheet%28%29-gives-an-%22Error-file%3A-data-may-have-been-lost%22-in-Excel-2003-or-higher-tp26606004p26623812.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26616818</id>
	<title>DO NOT REPLY [Bug 48332] Unable to read Excel file</title>
	<published>2009-12-02T13:30:16Z</published>
	<updated>2009-12-02T13:30:16Z</updated>
	<author>
		<name>Bugzilla from bugzilla@apache.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://issues.apache.org/bugzilla/show_bug.cgi?id=48332&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/show_bug.cgi?id=48332&lt;/a&gt;&lt;br&gt;&lt;br&gt;Josh Micich &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26616818&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;josh@...&lt;/a&gt;&amp;gt; changed:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;What &amp;nbsp; &amp;nbsp;|Removed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |Added
&lt;br&gt;----------------------------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status|NEW &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |RESOLVED
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Resolution| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|FIXED
&lt;br&gt;&lt;br&gt;--- Comment #4 from Josh Micich &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26616818&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;josh@...&lt;/a&gt;&amp;gt; 2009-12-02 13:30:14 UTC ---
&lt;br&gt;Fixed in svn r886311
&lt;br&gt;&lt;br&gt;junits added
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the assignee for the bug.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26616818&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26616818&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-48332--New%3A-Unable-to-read-Excel-file-tp26615270p26616818.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26615968</id>
	<title>Re: a 'lite' version of ooxml-schemas jar</title>
	<published>2009-12-02T12:35:03Z</published>
	<updated>2009-12-02T12:35:03Z</updated>
	<author>
		<name>Jukka Zitting</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;On Wed, Dec 2, 2009 at 7:58 PM, Yegor Kozlov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26615968&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yegor@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Can you point me at the place in Tika where getBookmarkStartArray() is used?
&lt;br&gt;&lt;br&gt;See line 78 of o.a.tika.parser.microsoft.ooxml.XWPFWordExtractorDecorator [1].
&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://svn.apache.org/viewvc/lucene/tika/trunk/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/ooxml/XWPFWordExtractorDecorator.java?revision=820962&amp;view=markup&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/viewvc/lucene/tika/trunk/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/ooxml/XWPFWordExtractorDecorator.java?revision=820962&amp;view=markup&lt;/a&gt;&lt;br&gt;&lt;br&gt;BR,
&lt;br&gt;&lt;br&gt;Jukka Zitting
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26615968&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26615968&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/a-%27lite%27-version-of-ooxml-schemas-jar-tp26375372p26615968.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26615409</id>
	<title>DO NOT REPLY [Bug 48332] Unable to read Excel file</title>
	<published>2009-12-02T11:59:37Z</published>
	<updated>2009-12-02T11:59:37Z</updated>
	<author>
		<name>Bugzilla from bugzilla@apache.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://issues.apache.org/bugzilla/show_bug.cgi?id=48332&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/show_bug.cgi?id=48332&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26615409&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vdhanda@...&lt;/a&gt; changed:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;What &amp;nbsp; &amp;nbsp;|Removed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |Added
&lt;br&gt;----------------------------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status|NEEDINFO &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|NEW
&lt;br&gt;&lt;br&gt;--- Comment #3 from &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26615409&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vdhanda@...&lt;/a&gt; 2009-12-02 11:59:36 UTC ---
&lt;br&gt;Hello Josh,
&lt;br&gt;&lt;br&gt;Yes, if I open and save the file in Excel and/or OpenOffice, the POI can read
&lt;br&gt;it. &amp;nbsp;
&lt;br&gt;&lt;br&gt;The stack trace from BiffViewer is at the bottom of the BiffViewer output. 
&lt;br&gt;Here's the stack trace from my application.
&lt;br&gt;&lt;br&gt;Exception in thread &amp;quot;main&amp;quot; org.apache.poi.hssf.record.RecordFormatException:
&lt;br&gt;Unable to construct record instance
&lt;br&gt;&amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.poi.hssf.record.RecordFactory$ReflectionRecordCreator.create(RecordFactory.java:64)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.poi.hssf.record.RecordFactory.createSingleRecord(RecordFactory.java:263)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.poi.hssf.record.RecordFactoryInputStream.readNextRecord(RecordFactoryInputStream.java:270)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.poi.hssf.record.RecordFactoryInputStream.nextRecord(RecordFactoryInputStream.java:236)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.java:377)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at org.apache.poi.hssf.usermodel.HSSFWorkbook.&amp;lt;init&amp;gt;(HSSFWorkbook.java:275)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at org.apache.poi.hssf.usermodel.HSSFWorkbook.&amp;lt;init&amp;gt;(HSSFWorkbook.java:200)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at org.apache.poi.hssf.usermodel.HSSFWorkbook.&amp;lt;init&amp;gt;(HSSFWorkbook.java:182)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.epistemic.http.ExcelHandler.handleResponseBody(ExcelHandler.java:126)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at com.aexp.pl.Tester.main(Tester.java:17)
&lt;br&gt;Caused by: java.lang.RuntimeException: Unusual record size remaining=(0)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.poi.hssf.record.ColumnInfoRecord.&amp;lt;init&amp;gt;(ColumnInfoRecord.java:72)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at
&lt;br&gt;sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at
&lt;br&gt;sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.poi.hssf.record.RecordFactory$ReflectionRecordCreator.create(RecordFactory.java:56)
&lt;br&gt;&amp;nbsp; &amp;nbsp; ... 9 more
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the assignee for the bug.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26615409&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26615409&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-48332--New%3A-Unable-to-read-Excel-file-tp26615270p26615409.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26615343</id>
	<title>DO NOT REPLY [Bug 48332] Unable to read Excel file</title>
	<published>2009-12-02T11:55:07Z</published>
	<updated>2009-12-02T11:55:07Z</updated>
	<author>
		<name>Bugzilla from bugzilla@apache.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://issues.apache.org/bugzilla/show_bug.cgi?id=48332&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/show_bug.cgi?id=48332&lt;/a&gt;&lt;br&gt;&lt;br&gt;Josh Micich &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26615343&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;josh@...&lt;/a&gt;&amp;gt; changed:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;What &amp;nbsp; &amp;nbsp;|Removed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |Added
&lt;br&gt;----------------------------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status|NEW &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |NEEDINFO
&lt;br&gt;&lt;br&gt;--- Comment #2 from Josh Micich &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26615343&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;josh@...&lt;/a&gt;&amp;gt; 2009-12-02 11:55:06 UTC ---
&lt;br&gt;Can you please attach the stack-trace of your error? &amp;nbsp;Also, can you investigate
&lt;br&gt;whether re-saving the file with Excel allows POI to read it?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the assignee for the bug.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26615343&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26615343&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-48332--New%3A-Unable-to-read-Excel-file-tp26615270p26615343.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26615289</id>
	<title>DO NOT REPLY [Bug 48332] Unable to read Excel file</title>
	<published>2009-12-02T11:52:29Z</published>
	<updated>2009-12-02T11:52:29Z</updated>
	<author>
		<name>Bugzilla from bugzilla@apache.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://issues.apache.org/bugzilla/show_bug.cgi?id=48332&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/show_bug.cgi?id=48332&lt;/a&gt;&lt;br&gt;&lt;br&gt;--- Comment #1 from &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26615289&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vdhanda@...&lt;/a&gt; 2009-12-02 11:52:28 UTC ---
&lt;br&gt;Created an attachment (id=24662)
&lt;br&gt;&amp;nbsp;--&amp;gt; (&lt;a href=&quot;https://issues.apache.org/bugzilla/attachment.cgi?id=24662&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/attachment.cgi?id=24662&lt;/a&gt;)
&lt;br&gt;The Excel
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the assignee for the bug.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26615289&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26615289&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-48332--New%3A-Unable-to-read-Excel-file-tp26615270p26615289.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26615275</id>
	<title>DO NOT REPLY [Bug 48332] Unable to read Excel file</title>
	<published>2009-12-02T11:51:16Z</published>
	<updated>2009-12-02T11:51:16Z</updated>
	<author>
		<name>Bugzilla from bugzilla@apache.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://issues.apache.org/bugzilla/show_bug.cgi?id=48332&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/show_bug.cgi?id=48332&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26615275&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vdhanda@...&lt;/a&gt; changed:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;What &amp;nbsp; &amp;nbsp;|Removed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |Added
&lt;br&gt;----------------------------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CC| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26615275&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vdhanda@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the assignee for the bug.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26615275&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26615275&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-48332--New%3A-Unable-to-read-Excel-file-tp26615270p26615275.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26615270</id>
	<title>DO NOT REPLY [Bug 48332] New: Unable to read Excel file</title>
	<published>2009-12-02T11:50:55Z</published>
	<updated>2009-12-02T11:50:55Z</updated>
	<author>
		<name>Bugzilla from bugzilla@apache.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://issues.apache.org/bugzilla/show_bug.cgi?id=48332&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/show_bug.cgi?id=48332&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Summary: Unable to read Excel file
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Product: POI
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Version: 3.5-FINAL
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Platform: Other
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OS/Version: Linux
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: NEW
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Severity: blocker
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: P2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Component: HSSF
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AssignedTo: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26615270&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ReportedBy: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26615270&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vdhanda@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Created an attachment (id=24661)
&lt;br&gt;&amp;nbsp;--&amp;gt; (&lt;a href=&quot;https://issues.apache.org/bugzilla/attachment.cgi?id=24661&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/attachment.cgi?id=24661&lt;/a&gt;)
&lt;br&gt;BiffViewer output
&lt;br&gt;&lt;br&gt;I have an Excel file that POI is not able to read. &amp;nbsp;MS Excel and OpenOffice can
&lt;br&gt;read it. &amp;nbsp;Attached is the BiffViewer output. &amp;nbsp;The Excel was created by another
&lt;br&gt;process using SoftArtisans OfficeWriter for Excel 7.0.0.1642
&lt;br&gt;(&lt;a href=&quot;http://officewriter.softartisans.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://officewriter.softartisans.com&lt;/a&gt;).
&lt;br&gt;&lt;br&gt;I really need to read this file via POI. &amp;nbsp;Please help.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the assignee for the bug.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26615270&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26615270&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-48332--New%3A-Unable-to-read-Excel-file-tp26615270p26615270.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26614842</id>
	<title>Re: HSSFCell short/int</title>
	<published>2009-12-02T11:27:06Z</published>
	<updated>2009-12-02T11:27:06Z</updated>
	<author>
		<name>Josh Micich</name>
	</author>
	<content type="html">Hello Dave,
&lt;br&gt;&lt;br&gt;It's not clear if you are questioning the merit of creating the newer
&lt;br&gt;method &amp;quot;getCell(int)&amp;quot;, or whether the old method &amp;quot;getCell(short)&amp;quot;
&lt;br&gt;should have been deprecated at all, so I'll attempt to answer both
&lt;br&gt;concerns.
&lt;br&gt;&lt;br&gt;&lt;br&gt;The most visible reason why POI is moving away from bytes and shorts
&lt;br&gt;is the need for typecasts when using literal integer constants, even
&lt;br&gt;when the value is quite obviously within range. &amp;nbsp;For example without
&lt;br&gt;the new method &amp;quot;row.getCell(5)&amp;quot; would not compile. &amp;nbsp;We would have to
&lt;br&gt;write &amp;quot;row.getCell((short)5)&amp;quot;.
&lt;br&gt;&lt;br&gt;There have been several POI bugs involving representation of unsigned
&lt;br&gt;(ushort, ubyte) quantities with java datatypes (signed) of the same
&lt;br&gt;width (short, byte). &amp;nbsp;When shorts and bytes are used, the corrected
&lt;br&gt;code generally needs more typecasts and bit mask expressions. &amp;nbsp; If
&lt;br&gt;those datatypes are changed to int, the code is usually simpler and
&lt;br&gt;easier to read.
&lt;br&gt;&lt;br&gt;The new method &amp;quot;getCell(int) method may in the first place have been
&lt;br&gt;introduced as a result of the XSSF common interface work (a separate
&lt;br&gt;reason, as suggested by Mark B).
&lt;br&gt;&lt;br&gt;&lt;br&gt;That sort-of explains the rationale for creating the new method
&lt;br&gt;&amp;quot;getCell(int)&amp;quot;. &amp;nbsp; The reason for deprecating the old is to eliminate
&lt;br&gt;overloading (of &amp;quot;getCell&amp;quot;). &amp;nbsp;Method overloading is sometimes very
&lt;br&gt;handy but has quite a few pitfalls, and for that reason POI tries to
&lt;br&gt;use overloading sparingly.
&lt;br&gt;&lt;br&gt;As far as the exact meaning of the '@deprecated' tag, in POI (unlike
&lt;br&gt;in the java runtime library) it means &amp;quot;This method will be removed in
&lt;br&gt;a future POI version&amp;quot;. &amp;nbsp;An alternative is always given. &amp;nbsp;A deprecation
&lt;br&gt;date has been provided in most places, to help POI users prioritize
&lt;br&gt;clean-up of their own code.
&lt;br&gt;&lt;br&gt;&lt;br&gt;You mentioned the comment from the the first line of the deprecated method:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int ushortCellNum = cellnum &amp; 0x0000FFFF; // avoid sign extension
&lt;br&gt;The bit-mask is correct for 16-bit unsigned conversion. &amp;nbsp;Masking with
&lt;br&gt;0xFF would be wrong because it would silently convert every possible
&lt;br&gt;input to a valid column index. &amp;nbsp;For example: is it sensible for
&lt;br&gt;&amp;quot;getCell((short)300)&amp;quot; to succeed? &amp;nbsp; Maybe it looks pointless to
&lt;br&gt;convert values in the range (-32768...-1) to (32768...65535) is
&lt;br&gt;because the maximum column index is 255. &amp;nbsp;This conversion to unsigned
&lt;br&gt;16-bit has been done because it's more likely that the caller intends
&lt;br&gt;an unsigned quantity (column indexes are never negative). &amp;nbsp;So if a
&lt;br&gt;negative value *does* get into this method, it's probably better to
&lt;br&gt;format the error message in terms of the unsigned 16 bit quantity.
&lt;br&gt;Similar results could have been achieved with bounds checking the
&lt;br&gt;argument, but would involve duplicating all the MissingCellPolicy
&lt;br&gt;logic too.
&lt;br&gt;So - that line of code is there for making better error messages, and
&lt;br&gt;has little to do with the reasons for the &amp;nbsp;deprecation.
&lt;br&gt;&lt;br&gt;regards,
&lt;br&gt;Josh
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26614842&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26614842&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---User-f332.html&quot; embed=&quot;fixTarget[332]&quot; target=&quot;_top&quot; &gt;POI - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/HSSFCell-short-int-tp26607785p26614842.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26614376</id>
	<title>Re: a 'lite' version of ooxml-schemas jar</title>
	<published>2009-12-02T10:58:55Z</published>
	<updated>2009-12-02T10:58:55Z</updated>
	<author>
		<name>Yegor Kozlov</name>
	</author>
	<content type="html">it for the next POI release.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The only odd thing about the upgrade was that I needed to comment out
&lt;br&gt;&amp;gt; a piece of Tika extraction code that uses the
&lt;br&gt;&amp;gt; org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBookmark
&lt;br&gt;&amp;gt; class as returned from XWPFParagraph.getCTP().getBookmarkStartArray().
&lt;br&gt;&amp;gt; It looks like that class is not included in the poi-ooxml-schemas jar
&lt;br&gt;&amp;gt; even though the CTP class with the getBookmarkStartArray() method is
&lt;br&gt;&amp;gt; there.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Can you point me at the place in Tika where getBookmarkStartArray() is used?
&lt;br&gt;ooxml-lite only includes classes called during execution of junits. getBookmarkStartArray is not covered by the tests 
&lt;br&gt;and it explains why the CTBookmark class is missing.
&lt;br&gt;&lt;br&gt;Yegor
&lt;br&gt;&lt;br&gt;&amp;gt; BR,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Jukka Zitting
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26614376&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26614376&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26614376&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26614376&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/a-%27lite%27-version-of-ooxml-schemas-jar-tp26375372p26614376.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26614072</id>
	<title>Re: release of POI-3.6</title>
	<published>2009-12-02T10:36:50Z</published>
	<updated>2009-12-02T10:36:50Z</updated>
	<author>
		<name>Jukka Zitting</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;On Tue, Dec 1, 2009 at 3:50 PM, Nick Burch &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26614072&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nick@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; I'd probably lean towards doing a beta now (eg roll it tomorrow or thurs, 72
&lt;br&gt;&amp;gt; hour vote, on the mirrors by monday), then release final just into the new
&lt;br&gt;&amp;gt; year.
&lt;br&gt;&lt;br&gt;+1 I'd really love that!
&lt;br&gt;&lt;br&gt;I'm hoping to have a Tika 0.6 release done next week, and being able
&lt;br&gt;to base it on a POI 3.6 beta (or even an alpha if there's some stuff
&lt;br&gt;that's not ready for beta status) would be perfect.
&lt;br&gt;&lt;br&gt;BR,
&lt;br&gt;&lt;br&gt;Jukka Zitting
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26614072&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26614072&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/release-of-POI-3.6-tp26592957p26614072.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26613934</id>
	<title>Re: a 'lite' version of ooxml-schemas jar</title>
	<published>2009-12-02T10:28:31Z</published>
	<updated>2009-12-02T10:28:31Z</updated>
	<author>
		<name>Jukka Zitting</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;On Tue, Nov 24, 2009 at 11:02 AM, Yegor Kozlov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26613934&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yegor@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; For Maven this change is transparent - POM for the poi-ooxml module depends
&lt;br&gt;&amp;gt; on poi-ooxml-schemas instead of ooxml-schemas, this means Maven users will
&lt;br&gt;&amp;gt; only need to update the version of POI from 3.5-FINAL to 3.6, the rest will
&lt;br&gt;&amp;gt; be handled by Maven automatically.
&lt;br&gt;&lt;br&gt;I just had a chance to test this with Tika, and it works beautifully.
&lt;br&gt;After upgrading to a POI 3.6-beta1-20091202 snapshot the size of the
&lt;br&gt;tika-app jar dropped from 25MB to 15MB. That's a major improvement,
&lt;br&gt;thanks! I can't wait for the next POI release.
&lt;br&gt;&lt;br&gt;The only odd thing about the upgrade was that I needed to comment out
&lt;br&gt;a piece of Tika extraction code that uses the
&lt;br&gt;org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBookmark
&lt;br&gt;class as returned from XWPFParagraph.getCTP().getBookmarkStartArray().
&lt;br&gt;It looks like that class is not included in the poi-ooxml-schemas jar
&lt;br&gt;even though the CTP class with the getBookmarkStartArray() method is
&lt;br&gt;there.
&lt;br&gt;&lt;br&gt;BR,
&lt;br&gt;&lt;br&gt;Jukka Zitting
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26613934&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26613934&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/a-%27lite%27-version-of-ooxml-schemas-jar-tp26375372p26613934.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26624595</id>
	<title>Text Substitution for Word 2007 in POI 3.5</title>
	<published>2009-12-02T10:26:45Z</published>
	<updated>2009-12-02T10:26:45Z</updated>
	<author>
		<name>Rafael Paiva</name>
	</author>
	<content type="html">I assume it's not available. Any plans for having this back on 3.6? Any
&lt;br&gt;undocumented workaround for 3.5?
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Rafael.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Text-Substitution-for-Word-2007-in-POI-3.5-tp26624595p26624595.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26612088</id>
	<title>Re: HSSFCell short/int</title>
	<published>2009-12-02T08:42:48Z</published>
	<updated>2009-12-02T08:42:48Z</updated>
	<author>
		<name>MSB</name>
	</author>
	<content type="html">I am only guessing David but the change my be the result of introducing the SS model to accomodate both the binary and OpenXML based file formats 'invisibly'. If you look at the org.apache.poi.ss.usermodel package, you will find there are classes called Workbook, Sheet, Cell, etc and these are used by those who may have to work with both types of file format and do not want to maintain two different code bases. Well, both HSSFCell and XSSFCell both implement the Cell interface and I would guess that the decision was taken to include just the single method getCell(int) in the interface and - as a result - both concrete classes because the OpenXML file format does not impose the 256 row limit on the user.
&lt;br&gt;&lt;br&gt;As I said, this is only a guess.
&lt;br&gt;&lt;br&gt;Yours
&lt;br&gt;&lt;br&gt;Mark B
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;David Law-2 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Could it be, the HSSFCell getCell(short cellnum)
&lt;br&gt;method has been rather confusingly deprecated?
&lt;br&gt;&lt;br&gt;Arguably, its laudable to &amp;quot;avoid sign extension&amp;quot;,
&lt;br&gt;but as there can only be 256 columns anyway,
&lt;br&gt;I find it really rather misleading.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;DaveLaw
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
&lt;br&gt;For additional commands, e-mail: user-help@poi.apache.org
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---User-f332.html&quot; embed=&quot;fixTarget[332]&quot; target=&quot;_top&quot; &gt;POI - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/HSSFCell-short-int-tp26607785p26612088.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26611959</id>
	<title>Re: Determine version of excel file</title>
	<published>2009-12-02T08:36:21Z</published>
	<updated>2009-12-02T08:36:21Z</updated>
	<author>
		<name>MSB</name>
	</author>
	<content type="html">Hello again,
&lt;br&gt;&lt;br&gt;If you code to the 'SS' model then you will not need to check the type returned by the WorkbookFactory at all. By this. I mean that you will use objects from the org.apache.poi.ss.usermodel package such as Workbook, Sheet and Cell in your program. That way, you need have no concerns at all about the actual type - and therefore the file format - that you are dealing with. Before deciding to move your code in this direction however, it would be wise to look closely at the methods defined on the various interfaces just to make sure that you can accomplish everything you require. Just as am example, on HSSFSheet you can add a data validation whuilst this methgod has not yet been declared within the Sheet interface. Should you need to extended functionality then of course you can just test the type returned to you by the WorkbookFactory and then 'direct' program flow accordingly.
&lt;br&gt;&lt;br&gt;Yours
&lt;br&gt;&lt;br&gt;Mark B
&lt;br&gt;&lt;br&gt;PS Sorry again for that 'just open the file and look at the header' bit this morning. I was over-excited about the work we had on today and seriously deprived of tea at that moment. Hope you did not waste any time pursuing that fruitless/pointless direction.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Sparecreative wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Thanks Mark,
&lt;br&gt;&lt;br&gt;That’s exactly what I was after. And, just so I’m clear, with the Workbook
&lt;br&gt;factory, I just check if the Workbook is an instance of either HSSF or XSSF
&lt;br&gt;and process accordingly.
&lt;br&gt;&lt;br&gt;On a related topic it would be great if the specifics for the two event
&lt;br&gt;based readers (for HSSF and XSSF) could be abstracted away so the we could
&lt;br&gt;use one set of methods regardless of the document type. Much like the user
&lt;br&gt;model.
&lt;br&gt;&lt;br&gt;Z.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So, to be clear, all you want to do is identify which files use the OpenXML
&lt;br&gt;&amp;gt; file format and which are binary?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If so, then take a look at the org.apache.poi.ss.usermodel.WorkbookFactory
&lt;br&gt;&amp;gt; (&lt;a href=&quot;http://poi.eu.apache.org/apidocs/org/apache/poi/ss/usermodel/WorkbookFactory&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://poi.eu.apache.org/apidocs/org/apache/poi/ss/usermodel/WorkbookFactory&lt;/a&gt;.
&lt;br&gt;&amp;gt; html)
&lt;br&gt;&amp;gt; class. All you need to do is call the static create method pasing an
&lt;br&gt;&amp;gt; InputStream and you will receive back an instance of either the HSSF or
&lt;br&gt;&amp;gt; XSSFWorkbook class depending upon the type of the file. Myself, I have never
&lt;br&gt;&amp;gt; tried using it with files that lack extensions but it ought to work and I
&lt;br&gt;&amp;gt; would certainly suggest giving it a try. Alternatively, you can simply catch
&lt;br&gt;&amp;gt; exceptions; i.e. try to open the file as an HSSFWorkbook, catch the
&lt;br&gt;&amp;gt; exception if the format is not correct and try to open it as an XSSFWorkbook
&lt;br&gt;&amp;gt; then catch and handle the exception thrown if the format is again invalid.
&lt;br&gt;&amp;gt; Finally, you could open an InputStream onto the file and examine the first
&lt;br&gt;&amp;gt; few bytes - I think it is safe to assume that the xml header would be the
&lt;br&gt;&amp;gt; first thing you read from an OpenXML based file.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yours
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Mark B
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Sparecreative wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; We¹re currently successfully using poi in a webapp to read from uploaded
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; excel files.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; At present we do a check on the filename extension. If xls we use HSSF and
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; if xslx we use XSSF and this is working reasonably well.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; The problem we have is that some of our users are uploading files with no
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; extension. Is there a way to determine the type of excel file that we are
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; dealing with programmatically?
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I¹d appreciate any pointers as I haven¹t had a lot of luck finding
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; anything
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; on the web.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Z.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; 
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---User-f332.html&quot; embed=&quot;fixTarget[332]&quot; target=&quot;_top&quot; &gt;POI - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Determine-version-of-excel-file-tp26603831p26611959.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26611823</id>
	<title>Re: Determine version of excel file</title>
	<published>2009-12-02T08:27:56Z</published>
	<updated>2009-12-02T08:27:56Z</updated>
	<author>
		<name>MSB</name>
	</author>
	<content type="html">Thanks for that Chris. I realised what I had said just as we pulled onto site this morning and have spent hours today calling myself all of the names under the sun and bewailing (good word) the fact that I could not get to a PC!! Of course you are correct, the xml is zipped so there will be no xml header at the start of the file. That will teach me to show off before I have had two cups of tea in the morning; my apologies to all.
&lt;br&gt;&lt;br&gt;Yours
&lt;br&gt;&lt;br&gt;Mark B
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;ChrisLott wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;MSB wrote:
&lt;br&gt;&amp;gt; ..
&lt;br&gt;&amp;gt; Finally, you could open an InputStream onto the file and examine the first
&lt;br&gt;&amp;gt; few bytes - I think it is safe to assume that the xml header would be the
&lt;br&gt;&amp;gt; first thing you read from an OpenXML based file.
&lt;br&gt;&lt;br&gt;Goodness, no! &amp;nbsp;:-) &amp;nbsp;An xlsx file (like a docx file and I suppose a pptx 
&lt;br&gt;file) is actually a zip archive. &amp;nbsp;Try opening it with winzip or your 
&lt;br&gt;favorite zip-file reader and you'll see (&amp;quot;zip -T sheet.xlsx&amp;quot;). &amp;nbsp;Inside 
&lt;br&gt;you'll see XML files, each of which should have a nice XML header. &amp;nbsp;I 
&lt;br&gt;suppose you could reimplement the magic-number check for a zip file done 
&lt;br&gt;by a unix/linux machine's &amp;quot;file&amp;quot; program, maybe that's what POI's 
&lt;br&gt;WorkbookFactory does under the covers.
&lt;br&gt;&lt;br&gt;chris...
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
&lt;br&gt;For additional commands, e-mail: user-help@poi.apache.org
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---User-f332.html&quot; embed=&quot;fixTarget[332]&quot; target=&quot;_top&quot; &gt;POI - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Determine-version-of-excel-file-tp26603831p26611823.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26609252</id>
	<title>DO NOT REPLY [Bug 48292] [PATCH] Support of array formulas</title>
	<published>2009-12-02T05:55:21Z</published>
	<updated>2009-12-02T05:55:21Z</updated>
	<author>
		<name>Bugzilla from bugzilla@apache.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://issues.apache.org/bugzilla/show_bug.cgi?id=48292&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/show_bug.cgi?id=48292&lt;/a&gt;&lt;br&gt;&lt;br&gt;--- Comment #5 from Petr.Udalau &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26609252&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Petr.Udalau@...&lt;/a&gt;&amp;gt; 2009-12-02 05:55:21 UTC ---
&lt;br&gt;Created an attachment (id=24659)
&lt;br&gt;&amp;nbsp;--&amp;gt; (&lt;a href=&quot;https://issues.apache.org/bugzilla/attachment.cgi?id=24659&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/attachment.cgi?id=24659&lt;/a&gt;)
&lt;br&gt;Tests for array formulas
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the assignee for the bug.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26609252&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26609252&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-48292--New%3A--PATCH--Support-of-array-formulas-tp26530771p26609252.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26609239</id>
	<title>DO NOT REPLY [Bug 48292] [PATCH] Support of array formulas</title>
	<published>2009-12-02T05:54:26Z</published>
	<updated>2009-12-02T05:54:26Z</updated>
	<author>
		<name>Bugzilla from bugzilla@apache.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://issues.apache.org/bugzilla/show_bug.cgi?id=48292&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/show_bug.cgi?id=48292&lt;/a&gt;&lt;br&gt;&lt;br&gt;Petr.Udalau &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26609239&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Petr.Udalau@...&lt;/a&gt;&amp;gt; changed:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;What &amp;nbsp; &amp;nbsp;|Removed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |Added
&lt;br&gt;----------------------------------------------------------------------------
&lt;br&gt;&amp;nbsp; Attachment #24623|0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; is obsolete| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|
&lt;br&gt;&lt;br&gt;--- Comment #4 from Petr.Udalau &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26609239&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Petr.Udalau@...&lt;/a&gt;&amp;gt; 2009-12-02 05:54:26 UTC ---
&lt;br&gt;Created an attachment (id=24658)
&lt;br&gt;&amp;nbsp;--&amp;gt; (&lt;a href=&quot;https://issues.apache.org/bugzilla/attachment.cgi?id=24658&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/attachment.cgi?id=24658&lt;/a&gt;)
&lt;br&gt;Final patch
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the assignee for the bug.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26609239&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26609239&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-48292--New%3A--PATCH--Support-of-array-formulas-tp26530771p26609239.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26609223</id>
	<title>DO NOT REPLY [Bug 48292] [PATCH] Support of array formulas</title>
	<published>2009-12-02T05:53:14Z</published>
	<updated>2009-12-02T05:53:14Z</updated>
	<author>
		<name>Bugzilla from bugzilla@apache.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://issues.apache.org/bugzilla/show_bug.cgi?id=48292&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/show_bug.cgi?id=48292&lt;/a&gt;&lt;br&gt;&lt;br&gt;--- Comment #3 from Petr.Udalau &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26609223&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Petr.Udalau@...&lt;/a&gt;&amp;gt; 2009-12-02 05:53:11 UTC ---
&lt;br&gt;Thanks for reworked patch.
&lt;br&gt;We have made final patch of array formula support and we will waiting for your
&lt;br&gt;review.
&lt;br&gt;&lt;br&gt;Notes:
&lt;br&gt;&lt;br&gt;1) About &amp;quot;if (isPartOfArrayFormulaGroup() &amp;&amp; f == null)&amp;quot; in XSSFCell:
&lt;br&gt;I saved Excel document with array formula and when I had opened the xml of
&lt;br&gt;sheet I saw that formula was set only for the first cell of array formula range
&lt;br&gt;and other cells contained only calculated result.
&lt;br&gt;&lt;br&gt;2) About parsing of array formulas:
&lt;br&gt;I changed OperandClassTransformer. But may be It is not solution for this
&lt;br&gt;problem.
&lt;br&gt;&lt;br&gt;3) About CellRangeAddress.valueOf():
&lt;br&gt;This is the case when the array formula is set into one cell. Then the Excel
&lt;br&gt;save the &amp;quot;ref&amp;quot; param of formula like a &amp;quot;A1&amp;quot;(It is only for one-cell array
&lt;br&gt;formula, when we set array formula into several cells &amp;quot;ref&amp;quot; param will contain
&lt;br&gt;range like &amp;quot;A1:B1&amp;quot;).
&lt;br&gt;&lt;br&gt;4) About evaluation of array formulas:
&lt;br&gt;There are two types of array formulas:
&lt;br&gt;&amp;nbsp; 1.Some formulas (for example &amp;quot;SQRT({1,2;3,4})&amp;quot;) can take array arguments and
&lt;br&gt;have to be evaluated in loop with different args like a simple function.
&lt;br&gt;&amp;nbsp; 2.Functions that have to be evaluated in special mode when it is in array
&lt;br&gt;formula.
&lt;br&gt;&lt;br&gt;5) About optimized CHOOSE and IF:
&lt;br&gt;Optimization IF/ Choose &amp;nbsp;was made by analyze of &amp;nbsp;first argument and evaluated
&lt;br&gt;only expression, represented by second argument in true case or by third
&lt;br&gt;argument in false case.
&lt;br&gt;In Array Formula Context first argument may be Boolean array which contains:
&lt;br&gt;-only true values
&lt;br&gt;-only false values
&lt;br&gt;-mixed true and false values.
&lt;br&gt;Method checkBooleanContent() provides analyze, which case we have.
&lt;br&gt;Fist two cases can be optimized in the same manner as usual IF/Choose function.
&lt;br&gt;Third case does not allow such optimization and requires evaluating both
&lt;br&gt;expression and only then &amp;nbsp;choosing right value from evaluated arrays according 
&lt;br&gt;Boolean array value. It means that we need to restore “non optimized” way to
&lt;br&gt;evaluate such IF/Choose function. Restore of “non optimized” way lead to
&lt;br&gt;ignoring of AttrPtg elements, which provide skipping no needed evaluation
&lt;br&gt;during optimized way.
&lt;br&gt;&lt;br&gt;Due to &amp;nbsp;that IF/Choose function may be nested, &amp;nbsp; decision of optimized/non
&lt;br&gt;optimized &amp;nbsp;is concern only for current IF/Choose function, need to keep in such
&lt;br&gt;function stack and be restored after &amp;nbsp;finishing of &amp;nbsp;evaluating current
&lt;br&gt;IF/Choose.
&lt;br&gt;&lt;br&gt;6) There will suitable to have common interface for Function and
&lt;br&gt;FreeRefFunction.
&lt;br&gt;&lt;br&gt;Do you have any ideas and proposals?
&lt;br&gt;&lt;br&gt;P.S. &amp;quot;test/resources&amp;quot; must be a source folder to run tests. TestArrays - main
&lt;br&gt;test.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/bugzilla/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the assignee for the bug.
&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26609223&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26609223&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---Dev-f331.html&quot; embed=&quot;fixTarget[331]&quot; target=&quot;_top&quot; &gt;POI - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-48292--New%3A--PATCH--Support-of-array-formulas-tp26530771p26609223.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26607785</id>
	<title>HSSFCell short/int</title>
	<published>2009-12-02T04:01:52Z</published>
	<updated>2009-12-02T04:01:52Z</updated>
	<author>
		<name>David Law-2</name>
	</author>
	<content type="html">Could it be, the HSSFCell getCell(short cellnum)
&lt;br&gt;method has been rather confusingly deprecated?
&lt;br&gt;&lt;br&gt;Arguably, its laudable to &amp;quot;avoid sign extension&amp;quot;,
&lt;br&gt;but as there can only be 256 columns anyway,
&lt;br&gt;I find it really rather misleading.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;DaveLaw
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26607785&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26607785&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---User-f332.html&quot; embed=&quot;fixTarget[332]&quot; target=&quot;_top&quot; &gt;POI - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/HSSFCell-short-int-tp26607785p26607785.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26607510</id>
	<title>Re: New hera</title>
	<published>2009-12-02T03:37:16Z</published>
	<updated>2009-12-02T03:37:16Z</updated>
	<author>
		<name>Mark Davidson-3</name>
	</author>
	<content type="html">I'm very new too. I found a lot of good information on the POI website (
&lt;br&gt;&lt;a href=&quot;http://poi.eu.apache.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://poi.eu.apache.org/&lt;/a&gt;) and in the examples and unit tests that you get
&lt;br&gt;in the source distribution.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;&lt;br&gt;Mark
&lt;br&gt;&lt;br&gt;2009/12/2 Emeka &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26607510&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;emekamicro@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt; Hello All,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am pretty new here, and would like to know where I can get good tutorials
&lt;br&gt;&amp;gt; and other relevant materials to get started.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Janus
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/POI---User-f332.html&quot; embed=&quot;fixTarget[332]&quot; target=&quot;_top&quot; &gt;POI - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/New-hera-tp26607115p26607510.html" />
</entry>

</feed>
