Commit Graph

134 Commits

Author SHA1 Message Date
Nick Burch 1557708b2a Add ExHyperlink tests against a real file
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@497090 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 17:12:26 +00:00
Nick Burch a2bc714fa3 Add support for ExHyperlink and ExHyperlinkAtom
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@497079 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 16:59:45 +00:00
Nick Burch 255bc5a9c3 Support InteractiveInfo, the parent of InteractiveInfoAtom
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@497061 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 16:17:46 +00:00
Nick Burch 3577d348c3 Initial, basic support for InteractiveInfoAtom
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@497058 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 16:05:26 +00:00
Nick Burch 16b4ba157a Refactor the TextPropCollection and TextProp classes into their own model package. Some of the logic in StyleTextPropAtom should probably be refactored out too, but that's still to do
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496405 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 17:00:41 +00:00
Nick Burch 0d2f337be6 Fix for bug #41357, by moving byte array creation until after we've decided that we have a valid picture
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496398 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 16:40:03 +00:00
Nick Burch 3b14ab1eb2 Update the order of the TextProps, as it seems not to be based quite on the mask order. Fix from Yegor, from bug #40143
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496369 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 15:22:39 +00:00
Mark Emlyn David Thomas dec3b4b591 git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496331 13f79535-47bb-0310-9956-ffa450edef68 2007-01-15 14:36:03 +00:00
Nick Burch ff124420a0 Handle the fact that StyleTextPropAtom needs to work with a text length that's one larger than the underlying text it represents. (Fix from Yegor from bug #40143)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@495278 13f79535-47bb-0310-9956-ffa450edef68
2007-01-11 16:18:30 +00:00
Henri Yandell 81357fd328 Applied copy2license script to the files that were converted by dos2unix. ant jar continues to pass.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489762 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 21:00:02 +00:00
Henri Yandell 094505af85 Applying dos2unix on some of the Java files. The copy2license script isn't picking up the dos line endings. Hopefully not a problem for anyone
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489760 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 20:56:04 +00:00
Henri Yandell fca4623791 Applying the copy2license.pl script (with tiny modification to allow for more whitespace than it expects in the POI header) to all files. ant jar succeeds, and the svn diff has been verified by eye. Still more files to do, this is the first pass.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489730 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 19:18:16 +00:00
Nick Burch 5c5dcf0d4f If we have a picture of type 0, don't even bother trying to create a PictureData object for it
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@487181 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 11:49:56 +00:00
Nick Burch f86c96a2ab Support compressed pictures properly, from bug #41032
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@480585 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 14:49:40 +00:00
Nick Burch 5984e70059 Update from Yegor in bug 41046 - support background shapes and fills
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@480104 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 15:55:27 +00:00
Nick Burch 0bf725ae46 Fix for bug 41015 - add in another paragraph property
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@480093 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 15:34:20 +00:00
Amol S. Deshmukh ae6f6b3d1a updated to include additional tests for IF()
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@479293 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 06:14:54 +00:00
Amol S. Deshmukh c2bd2b7b1c added testcases for functions: if, islogical, isnontext, isnumber, isref, istext, left, right
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@479288 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 06:12:46 +00:00
Amol S. Deshmukh ad43b3a7ab replaced use of deprecated calls to get string value from cell
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@479287 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 06:11:36 +00:00
Nick Burch 23303f691f Avoid an exception when getting the default bitmap image size on some JVMs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@474253 13f79535-47bb-0310-9956-ffa450edef68
2006-11-13 11:13:55 +00:00
Nick Burch 59ced4d73e Support for DIB picture types, from Bug 40740
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@464984 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 18:12:43 +00:00
Nick Burch 5f167f01b2 Support for Master Sheets from Yegor (bug 40753)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@464982 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 18:01:19 +00:00
Nick Burch 966759c29b Don't depend on source files being utf8 for test to work
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@464977 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 17:52:18 +00:00
Nick Burch ccc494626e Fix for NPE in bug #40036. The TextBox will still be fairly useless though
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@450097 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 15:53:21 +00:00
Nick Burch 34878d8f01 From bug #38616 - support for extracting images from word files, plus tests for this
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@450066 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 14:46:39 +00:00
Nick Burch 93d416796d Handle the case where a StyleTextPropAtom has a mask that codes for more properties than we have data for (+tests for this)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@449983 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 11:19:30 +00:00
Nick Burch f038906105 Support alignment and indent levels for HSLF - patch from Yegor in bug #40324
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@448004 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 22:47:44 +00:00
Nick Burch 6e1236c74a Improved picture support for HSLF, from Yegor in bug 40388
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@448001 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 22:37:38 +00:00
Jason Height 5e3eb6beff Just removed a bunch of unused imports etc. Reduces eclipse warnings
Jason

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437998 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 07:47:00 +00:00
Jason Height d636083355 Hopefully fixed scratchpad test org.apache.poi.hssf/record/formula/functions/TestEverything.java from running out of memory and killing gump
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437486 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 00:31:36 +00:00
Jason Height 76a2ebcf6e Found a case where the shared formula does not resolve. This was in the test case for the org.apache.poi.hssf.record.formula.eval.TextEverything
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437126 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 08:23:22 +00:00
Nick Burch 3ed8893246 Access to Saved By Information - patch from Trejkaz in bug #38647
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@431320 13f79535-47bb-0310-9956-ffa450edef68
2006-08-14 10:29:49 +00:00
Nick Burch 9356b01d88 Yegor's TxMasterStyleAtom code from Bug #40057
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@423129 13f79535-47bb-0310-9956-ffa450edef68
2006-07-18 16:44:57 +00:00
Nick Burch 611a6f2fdd Remove a bit of debug code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@418856 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 21:27:09 +00:00
Nick Burch 9e077b9335 Yegor's Slide Title patch from bug 39948
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@418847 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 20:53:08 +00:00
Nick Burch 1ea2717c6f Add correct detection for encrypted powerpoint files. An exception will be thrown if they are encountered.\n(As we don't know how the encryption is done, we can't do any decryption of these files)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@418842 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 20:34:41 +00:00
Nick Burch 9f3cfdce35 Support re-ordering of slides, now that we know how slider ordering works
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@418612 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 16:02:20 +00:00
Nick Burch 7175573d2f Hopefully fix bug 39228 - big overhaul of how slides and notes are build, based on Yegor's discoveries. Hopefully, we now return the right slide #, and in the right order
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@417541 13f79535-47bb-0310-9956-ffa450edef68
2006-06-27 18:15:32 +00:00
Nick Burch 8514bc913e Update Document to offer the SlideListWithTexts by name, and change addSlide to add to the right SlideListWithText. (Based on a bug, the number I don't have to hand, doh\!)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@417434 13f79535-47bb-0310-9956-ffa450edef68
2006-06-27 11:42:29 +00:00
Nick Burch 0a800b06b4 Tweak rich text handling
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@414857 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 16:32:07 +00:00
Nick Burch 59ff1beb2b Tests for new RichText code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413914 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 14:58:46 +00:00
Nick Burch 053951da78 Refactor to allow easy testing of multiple files. Will enable a second file when bug #39800 is fixed
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413913 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 14:58:24 +00:00
Nick Burch 9dc69a14b3 Add test for empty constructor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@405757 13f79535-47bb-0310-9956-ffa450edef68
2006-05-10 13:24:54 +00:00
Nick Burch e626f3ec08 Fixes from Yegor, from bug #39395
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@405092 13f79535-47bb-0310-9956-ffa450edef68
2006-05-08 16:43:11 +00:00
Nick Burch ca716cdbe5 Tests to go with fix for bug 39374
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@395889 13f79535-47bb-0310-9956-ffa450edef68
2006-04-21 14:06:10 +00:00
Nick Burch 2e7eca951c Tests for fixes associated with Bug 39324
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@395882 13f79535-47bb-0310-9956-ffa450edef68
2006-04-21 13:45:04 +00:00
Nick Burch 85da377c7d Test to ensure that when we add slides, we can write them back out and everything behaves
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@395280 13f79535-47bb-0310-9956-ffa450edef68
2006-04-19 15:43:06 +00:00
Nick Burch 4a27fd3c8a Updated test from Yegor, to also test creating text boxes with properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@395219 13f79535-47bb-0310-9956-ffa450edef68
2006-04-19 11:41:27 +00:00
Nick Burch 1bb312f416 Updates from Yegor: New shape and picture stuff (see bug 39256)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@393576 13f79535-47bb-0310-9956-ffa450edef68
2006-04-12 18:48:53 +00:00
Nick Burch b463116c03 PPT file where the slides are returned in the wrong order, from bug #39228
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@393555 13f79535-47bb-0310-9956-ffa450edef68
2006-04-12 18:04:05 +00:00