1499 Commits

Author SHA1 Message Date
Jason Height
eccc71e996 Small fix for when the start row didnt contain any cells.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353364 13f79535-47bb-0310-9956-ffa450edef68
2003-09-21 22:11:56 +00:00
Rainer Klute
bb343314a6 - Comparing sections refined: For the dictionary (property 0) only the value (Map) is relevant. The dictionary's codepage (property 1) is disregarded.
- New sample application CopyCompare. I'll turn that into a testcase later.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353362 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 15:43:08 +00:00
Glen Stampoultzis
245026d89c Fixed validation error
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353361 13f79535-47bb-0310-9956-ffa450edef68
2003-09-19 14:20:02 +00:00
Rainer Klute
8f08b03cf0 These changes introduce the following HPSF enhancements and fixes:
- Section dictionaries (aka custom properties) can be written now.
- Constructor MutableProperty(PropertySet) sets the class ID correctly now.
- Possible invalid section count fixed
- More testcases
- Cosmetics


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353360 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 18:56:35 +00:00
Jason Height
774387396f StringRecords are inValueSection.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353358 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 05:21:33 +00:00
Jason Height
37d721c6fd Based on my trials and Tetsuya's email i have changed this to use getFromUnicodeLE
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353357 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 03:44:56 +00:00
Jason Height
5b82dc6574 Fixed ExtSST serialization (length not calculated correctly)
Implemented DBCellRecord and IndexRecord serialization

Can now import into MS Access. Cool! Both of the above fixes were required to make this work.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353356 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 02:10:50 +00:00
Jason Height
9aebc04aef Fixed zero length Label string reading
Fixed incorrect offset for uncompressed unicode


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353355 13f79535-47bb-0310-9956-ffa450edef68
2003-09-17 05:34:29 +00:00
Rainer Klute
cdf513d1a3 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353354 13f79535-47bb-0310-9956-ffa450edef68
2003-09-16 15:59:06 +00:00
Rainer Klute
ebeb4f83e3 HPSF writing property sets documentation completed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353353 13f79535-47bb-0310-9956-ffa450edef68
2003-09-16 15:58:30 +00:00
Rainer Klute
adfcf683ca *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353352 13f79535-47bb-0310-9956-ffa450edef68
2003-09-15 20:13:45 +00:00
Rainer Klute
90908c6cb8 More HPSF property writing documentation.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353351 13f79535-47bb-0310-9956-ffa450edef68
2003-09-15 20:13:01 +00:00
Rainer Klute
07542ba88d Test cases updated/enhanced.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353350 13f79535-47bb-0310-9956-ffa450edef68
2003-09-13 12:32:11 +00:00
Rainer Klute
d99a03d6d9 - PropertySetFactory.create(InputStream) no longer throws an UnexpectedPropertySetTypeException.
- HPSFRuntimeException is thrown when the application tries to read a non-integer property with Section.getPropertyIntValue(long).
- Package description updated.
- ClassIDhashCode() implemented.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353349 13f79535-47bb-0310-9956-ffa450edef68
2003-09-13 12:31:28 +00:00
Rainer Klute
4572e39df6 Sample programs for writing properties using HPSF added
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353348 13f79535-47bb-0310-9956-ffa450edef68
2003-09-13 12:18:34 +00:00
Rainer Klute
8ea7b359b6 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353347 13f79535-47bb-0310-9956-ffa450edef68
2003-09-13 12:17:24 +00:00
Rainer Klute
aab3ec2fbb Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353346 13f79535-47bb-0310-9956-ffa450edef68
2003-09-13 12:15:38 +00:00
Rainer Klute
afa41cff14 Column headers swapped.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353345 13f79535-47bb-0310-9956-ffa450edef68
2003-09-11 21:48:47 +00:00
Danny Mui
6be7d56b1a Changed merged region tracking to use object pointers rather than
index pointers so we don't have to make sure the indices are up to date.
 PR: 22922	
 Submitted by:	xuemin@appresso.com (Xuemin Guan)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353344 13f79535-47bb-0310-9956-ffa450edef68
2003-09-06 19:15:53 +00:00
Rainer Klute
53a4992600 Oh, well, let's do it like this.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353342 13f79535-47bb-0310-9956-ffa450edef68
2003-09-04 20:28:56 +00:00
Rainer Klute
1de48575d0 Writing: API enhanced, bugs fixed, performance improvements, code simplifications, two new testcases, more int to long promotions.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353341 13f79535-47bb-0310-9956-ffa450edef68
2003-09-04 20:15:24 +00:00
Rainer Klute
e5805a3925 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353340 13f79535-47bb-0310-9956-ffa450edef68
2003-09-04 20:10:52 +00:00
Andrew C. Oliver
cb14b878c8 JDK 1.3 compilation issue
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353339 13f79535-47bb-0310-9956-ffa450edef68
2003-09-04 20:05:03 +00:00
Rainer Klute
09f3bf3ae7 Ant DTD added plus reference to it in the build.xml. Now it is possible to edit build.xml with an DTD-aware XML editor (like Emacs with PSGML).
New target "javadocs". It is just a copy of the fragment from the "reports" target. This can surely by improved.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353338 13f79535-47bb-0310-9956-ffa450edef68
2003-09-04 19:52:11 +00:00
Rainer Klute
1a18c3d249 I reverted my changes to the "section" element. Now it no longer complies with the DTD but Forrest can process it. :-(
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353337 13f79535-47bb-0310-9956-ffa450edef68
2003-09-04 19:48:01 +00:00
Rainer Klute
d085296822 @author modified
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353336 13f79535-47bb-0310-9956-ffa450edef68
2003-09-04 19:46:00 +00:00
Glen Stampoultzis
08fc8ae755 Same changes but to the head.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353335 13f79535-47bb-0310-9956-ffa450edef68
2003-09-04 03:50:04 +00:00
Rainer Klute
82894a1c70 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353333 13f79535-47bb-0310-9956-ffa450edef68
2003-09-01 18:54:23 +00:00
Rainer Klute
16bacce309 Property ID handling fixed (long vs. int).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353332 13f79535-47bb-0310-9956-ffa450edef68
2003-09-01 18:53:28 +00:00
Rainer Klute
cd81f1d981 New method toInputStream() added.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353331 13f79535-47bb-0310-9956-ffa450edef68
2003-09-01 18:51:08 +00:00
Rainer Klute
884b089a1e More HPSF documentation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353330 13f79535-47bb-0310-9956-ffa450edef68
2003-09-01 18:48:20 +00:00
Rainer Klute
7d2105b62f Test case added.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353329 13f79535-47bb-0310-9956-ffa450edef68
2003-09-01 05:50:48 +00:00
Rainer Klute
588fc224f0 Bug fixed in writing Unicode strings.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353328 13f79535-47bb-0310-9956-ffa450edef68
2003-09-01 05:45:36 +00:00
Avik Sengupta
6b8378de60 Sync to REL_2_BR: HSSFCell.getStringValue now returns the formula result if it is a string.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353327 13f79535-47bb-0310-9956-ffa450edef68
2003-08-31 06:19:41 +00:00
Avik Sengupta
3a17ddd5d4 Syncing to REL_2_BR: Macro functions and related fixes, by Paul Krause bug id:21444
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353326 13f79535-47bb-0310-9956-ffa450edef68
2003-08-31 06:16:57 +00:00
Rainer Klute
d357f85b69 German translation fixes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353324 13f79535-47bb-0310-9956-ffa450edef68
2003-08-30 09:20:11 +00:00
Rainer Klute
60ad2a3e2c Small documentation updates for HPSF writing capabilities.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353323 13f79535-47bb-0310-9956-ffa450edef68
2003-08-30 09:19:04 +00:00
Rainer Klute
1a7bd1f276 Typo fixed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353322 13f79535-47bb-0310-9956-ffa450edef68
2003-08-30 09:18:15 +00:00
Rainer Klute
468615d2d9 HPSF writing capability added.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353321 13f79535-47bb-0310-9956-ffa450edef68
2003-08-30 09:13:53 +00:00
Rainer Klute
bc90c342c3 Test cases for HPSF writing capability added.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353320 13f79535-47bb-0310-9956-ffa450edef68
2003-08-30 09:11:59 +00:00
Rainer Klute
444f97320e Hex dump with byte positions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353319 13f79535-47bb-0310-9956-ffa450edef68
2003-08-30 09:05:19 +00:00
Glen Stampoultzis
644fd9a0f2 Point to new mirrored downloads
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353318 13f79535-47bb-0310-9956-ffa450edef68
2003-08-29 00:45:14 +00:00
Rainer Klute
999adb848a Apache license added.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353317 13f79535-47bb-0310-9956-ffa450edef68
2003-08-25 19:46:00 +00:00
Rainer Klute
e906df7398 No longer needed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353316 13f79535-47bb-0310-9956-ffa450edef68
2003-08-25 19:42:13 +00:00
Avik Sengupta
44e944a581 21863, Paul Krause
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353312 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 19:07:41 +00:00
Avik Sengupta
12f2fb7bba Add protect record to sheet. Sync from REL_2_BRANCH ..Thanks Rick Berman
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353311 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 19:01:52 +00:00
Rainer Klute
ff601bc97b Removed hastily added import statement.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353309 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 15:31:10 +00:00
Rainer Klute
a9b7edee74 - New test case to read all files from the HPSF data directory.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353308 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 15:14:39 +00:00
Rainer Klute
a32efda12e - Fixed a bug that occured when reading a section with properties that are not stored with ascending offsets in the property list.
- An error message is printed to standard error now when an unsupported variant type occurs. The data bytes are still available.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353307 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 15:12:22 +00:00
Rainer Klute
01cdf806ed Added a method for a formatted hex dump.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353306 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 14:49:35 +00:00