Commit Graph

3070 Commits

Author SHA1 Message Date
Yegor Kozlov
0ad2331f88 applied fix suggested in bug#46197: missing cast to float resulted in incorect calculation of picture size.Also added Picture.resize(scale)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@718023 13f79535-47bb-0310-9956-ffa450edef68
2008-11-16 13:24:42 +00:00
Josh Micich
d32368be4a Fix for bug 46213 - FormulaRecordAggregate should gracefully ignore extra StringRecords
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@717883 13f79535-47bb-0310-9956-ffa450edef68
2008-11-15 17:25:32 +00:00
Josh Micich
647a9c8d73 Follow-on from r713909 (bug 46174) - fixing Name to support general formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@717882 13f79535-47bb-0310-9956-ffa450edef68
2008-11-15 17:22:24 +00:00
Yegor Kozlov
2e2062d99a applied patch #46212 by Gisella Bronzetti: initial implementation of XWPFRun object
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@714244 13f79535-47bb-0310-9956-ffa450edef68
2008-11-15 12:54:09 +00:00
Yegor Kozlov
6a8bb2c748 more updates in javadocs and site documentation, also misc improvements in common hssf-xssf interfaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@714128 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 20:29:42 +00:00
Yegor Kozlov
acc1ba4585 1. fixed XSSFSheet.groupRow and ungroupRow to operate on 0-based arguments, was 1-based2. repackaged common xssh-hssf examples, created a page in the site for them 3. converted broken non-ascii characters to unicode in TestMetaDataIPI and TestWriteWellKnown
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713981 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 11:56:41 +00:00
Josh Micich
e703a254ed Fix for bug 46174 - HSSFName now handles general formulas (not just area references)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713909 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 02:20:22 +00:00
Josh Micich
ed5c2dac01 refactoring Record.serialize
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713894 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 01:25:16 +00:00
Josh Micich
a4b5d9ff2e Patch from Patrick Cheng (bugzilla 46189) - added chart records: CHARTFRTINFO, STARTBLOCK, ENDBLOCK, STARTOBJECT, ENDOBJECT, and CATLAB
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713892 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 01:10:26 +00:00
Josh Micich
41ad7b2410 Fix for bug 46199 - tweaks to EmbeddedObjectRefSubRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713852 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 23:01:46 +00:00
Josh Micich
9873ea6391 Changes to formula evaluation allowing for reduced memory usage
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713811 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 20:22:17 +00:00
Josh Micich
7a98ca6d17 updated javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713807 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 20:05:16 +00:00
Josh Micich
0d71be930e extracted local variable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713801 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 19:41:02 +00:00
Nick Burch
cf20f3397f Fix bug #45290 - Support odd files where the POIFS header block comes after the data blocks, and is on the data blocks list
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713447 13f79535-47bb-0310-9956-ffa450edef68
2008-11-12 18:25:33 +00:00
Nick Burch
fd2667bec2 Fix bug #46184 - more odd escaped date formats
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713403 13f79535-47bb-0310-9956-ffa450edef68
2008-11-12 15:31:34 +00:00
Nick Burch
178871c84b Include the sheet number in the output of XLS2CSVmra
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713398 13f79535-47bb-0310-9956-ffa450edef68
2008-11-12 15:25:36 +00:00
Nick Burch
5da1e72cad Fix bug #46043 - correctly write out HPSF properties with HWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713393 13f79535-47bb-0310-9956-ffa450edef68
2008-11-12 15:03:38 +00:00
Yegor Kozlov
af7f84c27e common ss interfaces for drawing, clientacnhor and picture, also some refactoring of common hssf-xssf code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713279 13f79535-47bb-0310-9956-ffa450edef68
2008-11-12 07:15:37 +00:00
Yegor Kozlov
5a5ab51f2b docs cleanup and improvements
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713108 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 18:57:50 +00:00
Yegor Kozlov
aa8ee7d78c bug# 45973: added factory method for FormulaEvaluator, also fixed unpaired tags in javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713021 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 11:43:20 +00:00
Yegor Kozlov
32de644e51 fixed bug#46182: Slideshow.readPictures() skips pictures with invalid headers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713009 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 10:07:08 +00:00
Nick Burch
f07b507940 Fix for bug #46137 - continue records after eofrecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@712652 13f79535-47bb-0310-9956-ffa450edef68
2008-11-10 12:20:49 +00:00
Yegor Kozlov
02db58997d junit should run with fork=yes, this option is important for gump wich operates in the -Dbuild.sysclasspath=only. ooxml-testcases were the case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@712625 13f79535-47bb-0310-9956-ffa450edef68
2008-11-10 08:15:30 +00:00
Yegor Kozlov
249ef2e3d6 converted non-ascii characters to unicode to keep compilers on UTF-8 systems quiet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@712543 13f79535-47bb-0310-9956-ffa450edef68
2008-11-09 19:45:45 +00:00
Yegor Kozlov
5fdc53ce5a 1. removed interfaces-jdk14, they are now obsolete2. started paving the way for XWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@712508 13f79535-47bb-0310-9956-ffa450edef68
2008-11-09 16:18:46 +00:00
Yegor Kozlov
d4d005f702 removed dependencies for jaxen and xerces, ooxml module does not need them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@712490 13f79535-47bb-0310-9956-ffa450edef68
2008-11-09 12:14:59 +00:00
Yegor Kozlov
63cf2a4902 minor improvements in build.xml, also fixed indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@712389 13f79535-47bb-0310-9956-ffa450edef68
2008-11-08 13:21:42 +00:00
Josh Micich
612008386a Fixed problem with linking shared formulas when ranges overlap
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@712307 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 23:16:48 +00:00
Yegor Kozlov
2517aa0e42 javadocs cleanup
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@712196 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 16:57:23 +00:00
Yegor Kozlov
0d7cb5c968 fixed a typo in the url to junit
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@712129 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 14:17:10 +00:00
Yegor Kozlov
1590882803 improved tasks for fetching jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@712095 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 09:29:54 +00:00
Yegor Kozlov
4b4b139e37 copy the ooxml branch to trunk
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@712084 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 08:09:35 +00:00
Josh Micich
0993370781 Merged revisions 711764 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk

........
  r711764 | josh | 2008-11-05 19:43:17 -0800 (Wed, 05 Nov 2008) | 1 line
  
  Bug 45784 - More fixes to SeriesTextRecord
........


git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@711963 13f79535-47bb-0310-9956-ffa450edef68
2008-11-06 20:26:01 +00:00
Yegor Kozlov
a828d3edbc should have been included in r711839
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@711840 13f79535-47bb-0310-9956-ffa450edef68
2008-11-06 10:52:17 +00:00
Yegor Kozlov
c4b1dc2e55 1. included ooxml javadocs in build.xml2. added a new rich example: BusinessPlan.java3. misc bug fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@711839 13f79535-47bb-0310-9956-ffa450edef68
2008-11-06 10:49:51 +00:00
Josh Micich
199264c607 Bug 45784 - More fixes to SeriesTextRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@711764 13f79535-47bb-0310-9956-ffa450edef68
2008-11-06 03:43:17 +00:00
Josh Micich
178c3de886 Merged revisions 709570,709598,710114,710134,710136,711505,711513-711515,711694,711739,711741,711746,711749 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk

........
  r709570 | josh | 2008-10-31 14:17:08 -0700 (Fri, 31 Oct 2008) | 1 line
  
  made DrawingSelectionRecord into a plain BIFF record (not an escher holder aggregate). Added some interpretation of fields
........
  r709598 | josh | 2008-10-31 16:24:41 -0700 (Fri, 31 Oct 2008) | 1 line
  
  Simplified multiple record expansion logic
........
  r710114 | yegor | 2008-11-03 09:54:01 -0800 (Mon, 03 Nov 2008) | 1 line
  
  fixed #46122: Picture#getEscherBSERecord threw NullPointerException if EscherContainerRecord.BSTORE_CONTAINER was not found
........
  r710134 | yegor | 2008-11-03 11:19:39 -0800 (Mon, 03 Nov 2008) | 1 line
  
  fixed bug #46033: table cells had incorrect text type resulting in corrupted style info
........
  r710136 | yegor | 2008-11-03 11:23:52 -0800 (Mon, 03 Nov 2008) | 1 line
  
  updated status of the fixed bug #46033
........
  r711505 | josh | 2008-11-04 19:50:31 -0800 (Tue, 04 Nov 2008) | 1 line
  
  Refactored test case
........
  r711513 | josh | 2008-11-04 21:45:17 -0800 (Tue, 04 Nov 2008) | 1 line
  
  Converted ConstantValueParser to use plain Strings instead of UnicodeStrings
........
  r711514 | josh | 2008-11-04 21:52:35 -0800 (Tue, 04 Nov 2008) | 1 line
  
  Converted SupBookRecord to use plain Strings instead of UnicodeStrings
........
  r711515 | josh | 2008-11-04 22:15:59 -0800 (Tue, 04 Nov 2008) | 1 line
  
  Refactored test case
........
  r711694 | josh | 2008-11-05 12:46:00 -0800 (Wed, 05 Nov 2008) | 1 line
  
  Fixed bug in conversion to/from text cells
........
  r711739 | josh | 2008-11-05 15:28:55 -0800 (Wed, 05 Nov 2008) | 1 line
  
  Refactoring test case
........
  r711741 | josh | 2008-11-05 15:35:02 -0800 (Wed, 05 Nov 2008) | 1 line
  
  Refactoring test case
........
  r711746 | josh | 2008-11-05 15:45:42 -0800 (Wed, 05 Nov 2008) | 1 line
  
  Fixed mistake in test case.  Constant value was 4 bytes too large (should be max *data* size not max *record* size).
........
  r711749 | josh | 2008-11-05 17:12:41 -0800 (Wed, 05 Nov 2008) | 1 line
  
  Introduced ContinuableRecord to help fix serialization of StringRecords with large data.  Fixed TextObjectRecord to only write 16bit unicode when needed.  Simplification in UnicodeString.
........


git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@711755 13f79535-47bb-0310-9956-ffa450edef68
2008-11-06 02:38:06 +00:00
Josh Micich
bcd1a9a1c5 Introduced ContinuableRecord to help fix serialization of StringRecords with large data. Fixed TextObjectRecord to only write 16bit unicode when needed. Simplification in UnicodeString.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@711749 13f79535-47bb-0310-9956-ffa450edef68
2008-11-06 01:12:41 +00:00
Josh Micich
603bd64f73 Fixed mistake in test case. Constant value was 4 bytes too large (should be max *data* size not max *record* size).
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@711746 13f79535-47bb-0310-9956-ffa450edef68
2008-11-05 23:45:42 +00:00
Josh Micich
ca3022fc20 Refactoring test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@711741 13f79535-47bb-0310-9956-ffa450edef68
2008-11-05 23:35:02 +00:00
Josh Micich
442c8eb01d Refactoring test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@711739 13f79535-47bb-0310-9956-ffa450edef68
2008-11-05 23:28:55 +00:00
Josh Micich
0e80e842aa Fixed bug in conversion to/from text cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@711694 13f79535-47bb-0310-9956-ffa450edef68
2008-11-05 20:46:00 +00:00
Josh Micich
5da098c36a Refactored test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@711515 13f79535-47bb-0310-9956-ffa450edef68
2008-11-05 06:15:59 +00:00
Josh Micich
abfa088b4f Converted SupBookRecord to use plain Strings instead of UnicodeStrings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@711514 13f79535-47bb-0310-9956-ffa450edef68
2008-11-05 05:52:35 +00:00
Josh Micich
54885b5650 Converted ConstantValueParser to use plain Strings instead of UnicodeStrings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@711513 13f79535-47bb-0310-9956-ffa450edef68
2008-11-05 05:45:17 +00:00
Josh Micich
36c4c0bacf Refactored test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@711505 13f79535-47bb-0310-9956-ffa450edef68
2008-11-05 03:50:31 +00:00
Yegor Kozlov
7fe7a28ff3 updated status of the fixed bug #46033
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@710136 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 19:23:52 +00:00
Yegor Kozlov
07a1e55859 fixed bug #46033: table cells had incorrect text type resulting in corrupted style info
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@710134 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 19:19:39 +00:00
Yegor Kozlov
78d8fcc80b fixed #46122: Picture#getEscherBSERecord threw NullPointerException if EscherContainerRecord.BSTORE_CONTAINER was not found
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@710114 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 17:54:01 +00:00
Josh Micich
faf0c46fc1 Simplified multiple record expansion logic
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@709598 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 23:24:41 +00:00