Commit Graph

5192 Commits

Author SHA1 Message Date
Nick Burch
ace1bade16 Add some helper methods for working with attachments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1359542 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 09:43:49 +00:00
Nick Burch
832068ae23 Provide one example of how PropertyValues can be encoded and decoded, rest still needed (along with logic in PropertiesChunk to drive it)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1359243 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 16:08:30 +00:00
Nick Burch
eb368e205d Start on the code to process properties, and wire it up. No properties reading code exists yet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1358813 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 18:50:11 +00:00
Nick Burch
9a5378ff55 In preparation for reading the HSMF __properties stream, improve the Types support to be a class with ID+Name+Length, rather than simply an ID. Allows some tidying in HMEF. (Also stubs a few properties bits)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1358802 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 18:05:17 +00:00
Evgeniy Berlog
bbe479f069 implemented creating shapes in new file using new model
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1358301 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 17:00:20 +00:00
Nick Burch
e000ae1b75 Disable building of the PDF version of the site
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1356155 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 09:55:22 +00:00
Yegor Kozlov
2257c01910 avoid NPE when setting line properties if linewidth is zero
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1356102 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 08:07:16 +00:00
Evgeniy Berlog
4c43845491 implemented work with existing shape groups and polygons
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1355866 13f79535-47bb-0310-9956-ffa450edef68
2012-07-01 09:38:08 +00:00
Evgeniy Berlog
43e8428d58 implemented creating comments in existing files, bugfixes
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1354910 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 10:56:55 +00:00
Yegor Kozlov
2a63a73b98 Bugzilla 48469 - Updated case study
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1354584 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 15:41:55 +00:00
Yegor Kozlov
368a2de047 Bug 53476 - Support Complex Name in formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1354550 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 14:50:22 +00:00
Yegor Kozlov
bfc4b5ae22 Bugzilla 53414: properly update sheet dimensions when adding column
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1353962 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 11:30:45 +00:00
Evgeniy Berlog
b1f3eb6ca0 implemented creating shapes in existing files
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1353960 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 11:21:13 +00:00
Evgeniy Berlog
f6a678adc9 added support for HSSFPicture in HSSFShapeFactory, fixed bugs, added tests
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1352818 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 09:37:17 +00:00
Nick Burch
984af0b3a8 Update JavaDocs to make it clearer to users about the different constuctors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1352685 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 21:00:54 +00:00
Yegor Kozlov
c360a094be Utility to test that POI produces readable output after re-saving xls files
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1351998 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 08:57:38 +00:00
Yegor Kozlov
21e710c082 more tests to ensure that poi compiles against poi-ooxml-schemas.jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1351994 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 08:46:50 +00:00
Nick Burch
7aea48961d Add File based constructor to OPCPackage, alongside existing String one (which constructed a File from the string internally)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1351894 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 22:50:14 +00:00
Evgeniy Berlog
74f69523a7 improved aggregating drawing records in documents with charts,
fixed reading EscherContainer records from byte array

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1351850 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 21:00:04 +00:00
Evgeniy Berlog
74f75bebd8 Added such improvements:
1. Each shape contains EscherContainerRecord(SpContainer). Shapes get and set all properties into EscherOptRecord. 
2. HSSFShapeGroup takes coordinates from EscherSpgrRecord.
3. Added tests for creating new HSSFSimpleShape from scratch and reading from existing file
4. Improved work with anchors.

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1351484 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 20:59:32 +00:00
Evgeniy Berlog
1b76a7e345 fixed bug in EscherAggregate if sheet contains no shapes
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1351309 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 12:02:36 +00:00
Yegor Kozlov
3d077abe2c fixed EscherAggregate to correctly write records with trailing solver container
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1350298 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 15:36:34 +00:00
Nick Burch
6de1dc574e Fix bug #53389 - Handle formatting General and @ formats even if a locale is prefixed to them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1349562 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 22:10:52 +00:00
Evgeniy Berlog
1021f99832 added file for tests(check commit rights)
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1349253 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 11:07:20 +00:00
Nick Burch
019db98d41 Update the site footer year range
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1348658 13f79535-47bb-0310-9956-ffa450edef68
2012-06-10 20:46:48 +00:00
Nick Burch
c7fd6d3212 Update the FormulaEvaluator performance section to match current behaviour
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1348657 13f79535-47bb-0310-9956-ffa450edef68
2012-06-10 20:40:32 +00:00
Yegor Kozlov
5de1aec65e initial support for reading shapes, see patch from June 8 in Bugzilla 53372
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1348168 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 17:47:37 +00:00
Yegor Kozlov
d3f4e26985 Bugzilla 53010, patch from June 3: improved support for Continue records in drawing blocks
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1345858 13f79535-47bb-0310-9956-ffa450edef68
2012-06-04 08:08:47 +00:00
Yegor Kozlov
4f20669925 more tests and fixes, see patch from May 30 in Bugzilla 53010
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1344621 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 09:47:17 +00:00
Yegor Kozlov
99fcaf0edb set line color in draw command in PPGraphics2D.java
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1344204 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 11:33:36 +00:00
Yegor Kozlov
9108ca6471 Bugzilla 53302: fixed EscherAggregate to correctly handle Continue records in drawing blocks
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1343218 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 12:15:16 +00:00
Yegor Kozlov
bafe7814ff Bugzilla 53271 - Removed unconditional asserts in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1342604 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 12:53:12 +00:00
Yegor Kozlov
25f26be727 branch for gsoc2012
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1341450 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 12:47:11 +00:00
Yegor Kozlov
8d13b85a8d Bugzilla 53025: Updatad documentation and example on data validations
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1340042 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 09:09:10 +00:00
Yegor Kozlov
569112c88d Bug 53227 - Corrected AddDimensionedImage.java to support XSSF/SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1340027 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 08:22:12 +00:00
Nick Burch
af24b99d7d List Commons Codec as a dependency, as it has been needed for some time now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1337978 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 20:16:16 +00:00
Yegor Kozlov
3722fd2a70 polishing BiffDrawingToXml: more readable output and removed unnecessary tags
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1334342 13f79535-47bb-0310-9956-ffa450edef68
2012-05-05 08:25:08 +00:00
Yegor Kozlov
eee49e3709 Bugzilla 53058 - Utility for representing drawings contained in a binary Excel file as a XML tree
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1333050 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 14:00:46 +00:00
Nick Burch
0ac6f0fd5a Patch from Josh Holthaus from bug #53165 - HWPF support for fetching the description (alt text) of a picture
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1332594 13f79535-47bb-0310-9956-ffa450edef68
2012-05-01 09:46:15 +00:00
Nick Burch
8a13b1bf04 Fix bug #48528 - support negative arguments to the DATE() function
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1331796 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 17:29:06 +00:00
Nick Burch
b956b78e91 Fix bug #53092 - allow specifying of a TimeZone to DateUtil.getJavaDate(), for when it is known that a file comes from a different (known) timezone to the current machine
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1331477 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 15:49:49 +00:00
Yegor Kozlov
e030cf8159 info on nightly builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1328842 13f79535-47bb-0310-9956-ffa450edef68
2012-04-22 11:14:59 +00:00
Yegor Kozlov
f3c2ce6de8 include commons-codec.jar in dists, support for jenkins build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1328803 13f79535-47bb-0310-9956-ffa450edef68
2012-04-22 06:40:10 +00:00
Yegor Kozlov
87099af3cb Bugzilla 53043 - don't duplicate hyperlink relationships when saving XSSF file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1328653 13f79535-47bb-0310-9956-ffa450edef68
2012-04-21 12:50:57 +00:00
Yegor Kozlov
6fc404c4a6 Bugzilla 53101: fixed evaluation of SUM over cell range > 255
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1328647 13f79535-47bb-0310-9956-ffa450edef68
2012-04-21 12:48:42 +00:00
Yegor Kozlov
083c1368b3 Bugzilla 49529 - avoid exception when cloning sheets with no drawing records and initialized drawing patriarch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1306781 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 10:35:41 +00:00
Maxim Valyanskiy
6facec409f unit test for #52991 (unexpected end of ZLIB input stream)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1305812 13f79535-47bb-0310-9956-ffa450edef68
2012-03-27 11:29:39 +00:00
Maxim Valyanskiy
95b5c80bf0 HWPF: fix NPE when reading paragraph properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1305810 13f79535-47bb-0310-9956-ffa450edef68
2012-03-27 11:14:47 +00:00
Yegor Kozlov
e33be7fdd6 fixed broken link to release notes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1305803 13f79535-47bb-0310-9956-ffa450edef68
2012-03-27 10:11:35 +00:00
Maxim Valyanskiy
b9a6d0a2e0 #52991: Unexpected end of ZLIB input stream on embedded OLE extraction from PPT
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1305778 13f79535-47bb-0310-9956-ffa450edef68
2012-03-27 08:32:47 +00:00