Commit Graph

581 Commits

Author SHA1 Message Date
Josh Micich
7f985ab0aa Fix for bug 45582 - handle extra bytes after the EOFRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683706 13f79535-47bb-0310-9956-ffa450edef68
2008-08-07 20:32:25 +00:00
Josh Micich
340f5fb874 JDK 1.4 compatibility. Some exception clean-up
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683699 13f79535-47bb-0310-9956-ffa450edef68
2008-08-07 20:23:26 +00:00
Josh Micich
2988701bd6 should have been submitted with r683081
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683093 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 03:06:18 +00:00
Nick Burch
17f779f950 With help from Yegor, fix bug #45537 - Include headers and footers (of slides and notes) in the extracted text from HSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683020 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 22:49:24 +00:00
Nick Burch
d09ecf579c Start on bug #45537 - headers and footers from ppt
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682778 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 16:33:07 +00:00
Nick Burch
c07944f2dc Fix bug #45543 - Optionally extract comment text with PowerPointExtractor, and initial hslf model support for comments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682533 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 22:48:39 +00:00
Yegor Kozlov
ee01022c01 support for headers / footers in HSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682336 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 11:40:25 +00:00
Nick Burch
d5020af75e Support for creating new HSLF CurrentUserAtoms
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@680853 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 21:40:47 +00:00
Nick Burch
9500a5f31e Fix bug #45437 - Detect encrypted word documents, and throw an EncryptedDocumentException instead of a OOM
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@678539 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 19:35:47 +00:00
Nick Burch
a7c8dca597 Shuffle the HDGF chunks_parse_cmds.tbl off into resources where it more properly belongs, and correctly update the legal notice file to match
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@674348 13f79535-47bb-0310-9956-ffa450edef68
2008-07-06 21:16:05 +00:00
Nick Burch
17285a57b1 Patch from N.Hira from bug #45252 - Improvement for HWPF Range.replaceText()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@672570 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 18:58:23 +00:00
Nick Burch
5acc99f2a1 Patch from N. Hira from bug #45001 - Further fix for HWPF Range.delete() and unicode characters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@672569 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 18:54:02 +00:00
Nick Burch
1f27ceb98f Patch from dnapoletano from bug #45175 - Support for variable length operands in org.apache.poi.hwpf.sprm.SprmOperation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@672567 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 18:48:35 +00:00
Nick Burch
501c3b258a Improved HWPF Range.replaceText, from N. Hira in bug #45001
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@669456 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 11:47:48 +00:00
Yegor Kozlov
c2341a72db TextShape.getMarginLeft() returned incorrect value. Added a unit test for text margins.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@668257 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 18:38:59 +00:00
Nick Burch
7cf39af9a2 Unit test from bug #45001, and new replaceText method (no test yet)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@668143 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 12:49:55 +00:00
Yegor Kozlov
e1de21bc09 bug#44692 - Fixed HSSFPicture.resize() to properly resize pictures if the underlying columns/rows have modified size
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@664515 13f79535-47bb-0310-9956-ffa450edef68
2008-06-08 15:31:05 +00:00
Yegor Kozlov
3cbc6fc52a expose access to OEPlaceholderAtom so that users can determine whether a shape represents ppt placeholder (date/time, footer or slide number)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@664493 13f79535-47bb-0310-9956-ffa450edef68
2008-06-08 12:37:39 +00:00
Yegor Kozlov
4360c3607d Fixed TextShape.resizeToFitText() to properly resize TextShape. See patch#45140
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@664492 13f79535-47bb-0310-9956-ffa450edef68
2008-06-08 12:32:10 +00:00
Yegor Kozlov
d2445ee652 Support custom image renderers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@664491 13f79535-47bb-0310-9956-ffa450edef68
2008-06-08 12:31:19 +00:00
Yegor Kozlov
a0e68a7530 Correctly increment the reference count of a blip when a picture is inserted
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@664490 13f79535-47bb-0310-9956-ffa450edef68
2008-06-08 12:30:25 +00:00
Nick Burch
1afa028f34 X, Y, Width and Height getters/setters on HSSFChart
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@660474 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 11:44:49 +00:00
Josh Micich
d3ee29261c Fixed compiler errors. Other improvements for type safety and immutability.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658984 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 03:00:29 +00:00
Nick Burch
15db21d326 Patch from bug #45003 - Support embeded HDGF visio documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658352 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 17:17:16 +00:00
Nick Burch
e09c35f448 Put abstract write(OutputStream) method on POIDocument
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658350 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 17:12:08 +00:00
Nick Burch
ee4ba764b7 Patch from bug #45001 - Partial fix for HWPF Range.insertBefore() and Range.delete() with unicode characters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658349 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 16:57:20 +00:00
Nick Burch
2e633955d9 Patch from bug #44937 from Squeeself- Partial support for extracting Escher images from HWPF files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658302 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 16:01:53 +00:00
Nick Burch
1747a02fa7 Fix #44824 - Avoid an infinite loop when reading some HWPF pictures
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658287 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 15:46:54 +00:00
Josh Micich
42b0a779b5 bug 45000 - Fixed NPE in ListLevel when numberText is null
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@656757 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 17:49:23 +00:00
Yegor Kozlov
193ac0db79 added a set accessor for embedded ole data
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@656699 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 15:23:38 +00:00
Yegor Kozlov
8cd5e9d411 convert line breaks into internal ppt represenatation when changing text
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@656252 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 12:42:30 +00:00
Yegor Kozlov
c0e0729da0 Support for embedded ActiveX objects: PowerPoint references them similar to embedded documents but in a different container: ExControl instead of ExEmbed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@656215 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 10:18:00 +00:00
Yegor Kozlov
643df24cfb properly update TextSpecInfoAtom when parent text is changed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@656213 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 10:15:00 +00:00
Yegor Kozlov
ee9a91198b more work on rendering ppt slides
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@652298 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 06:29:11 +00:00
Nick Burch
71413188e1 As mentioned on dev@ - zap the old, initial OOXML code out of trunk. It isn't compatible with the new code in the ooxml branch, which may catch users out, and anyone wanting OOXML support should be using the code in the branch to get updates and lots more features
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@650915 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 15:45:42 +00:00
Yegor Kozlov
182344b2bb a couple of HSLF examples
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@650130 13f79535-47bb-0310-9956-ffa450edef68
2008-04-21 12:52:23 +00:00
Yegor Kozlov
f5d6d1d2db more improvements in slide rendering
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@650129 13f79535-47bb-0310-9956-ffa450edef68
2008-04-21 12:51:47 +00:00
Yegor Kozlov
40c49400e7 more improvements in slide rendering
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@649911 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 11:17:48 +00:00
Yegor Kozlov
6e96462b0e misc improvements in slide rendering
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@649798 13f79535-47bb-0310-9956-ffa450edef68
2008-04-19 11:17:37 +00:00
Yegor Kozlov
4ff1e84247 properly set shapeId for new shapes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@649797 13f79535-47bb-0310-9956-ffa450edef68
2008-04-19 11:16:53 +00:00
Yegor Kozlov
76a479f668 Support for getting embedded sounds from slide show
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@649796 13f79535-47bb-0310-9956-ffa450edef68
2008-04-19 11:09:59 +00:00
Yegor Kozlov
15b47da3fb improved rendering of text
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@649557 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 14:57:07 +00:00
Yegor Kozlov
f5c9d3023f initial support for rendering powerpoint slides into images
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@649143 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 15:08:03 +00:00
Yegor Kozlov
1cd1e8546f Support for getting OLE object data from slide show
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@648674 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 11:57:15 +00:00
Yegor Kozlov
e52de74f2d Misc improvements in Freeform shape
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@648624 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 08:44:07 +00:00
Yegor Kozlov
9b786497f8 bug #41071 is fixed in trunk. Added a unit test and resolved.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@648589 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 07:47:16 +00:00
Yegor Kozlov
437dc3b77d Improved factoring of ppt objects. For ppt tabels Slide.getShapes() returns the Table object (was ShapeGroup)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@648276 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 15:12:58 +00:00
Yegor Kozlov
e643ec7129 TextSpecInfoAtom is present in PPT 2003+. When the text is changed we must update this record, otherwise the ppt becomes corrupted
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@648274 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 15:11:13 +00:00
Yegor Kozlov
0d790c922c start improving handling of resources in HSLF. PPFont object represents a font in a presenatation.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@648203 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 10:05:22 +00:00
Yegor Kozlov
149e87cda0 TextShape is a common superclass of all shapes that can hold text. The subclasses are TextBox and AutoShape.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@648156 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 07:54:20 +00:00