Commit Graph

115 Commits

Author SHA1 Message Date
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
Nick Burch 5d5464b3ad Tests to ensure that the StyleTextProp and RichText stuff plays nicely together
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@393553 13f79535-47bb-0310-9956-ffa450edef68
2006-04-12 18:01:11 +00:00
Nick Burch 4bc2ee40a8 Need right date in the test formatter
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@393552 13f79535-47bb-0310-9956-ffa450edef68
2006-04-12 18:00:38 +00:00
Nick Burch 9e06090a6e Add a check that just opening a usermodel slidesheet on it doesn't break things
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@393497 13f79535-47bb-0310-9956-ffa450edef68
2006-04-12 16:31:34 +00:00
Nick Burch 1e70a2efc7 Fix for 12 vs 24 hour times
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@391591 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 11:44:28 +00:00
Nick Burch 4850277501 Convert HWPFDocument to having POIDocument as its parent
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@391365 13f79535-47bb-0310-9956-ffa450edef68
2006-04-04 17:02:14 +00:00
Nick Burch 7fa4feb4bb Create a new Superclass, POIDocument, which handles the property (hpsf) stuff which was previously done by HSLFSlideShow. Add tests for this, and convert HSLFSlideShow to using it
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@391363 13f79535-47bb-0310-9956-ffa450edef68
2006-04-04 16:50:04 +00:00
Nick Burch b57714f465 Add more tests to ensure the IDs are still correct after writing out and reading back in again
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@389292 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 21:42:13 +00:00
Nick Burch 2dde4d5774 Fixes/Updates to tests to go with big change in how slides/notes are tied to their text
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@389287 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 21:36:00 +00:00
Nick Burch 15eb02e851 From Bug 38544 - example ppt file where paragraph styles run out before char styles
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@389282 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 21:31:31 +00:00
Nick Burch b07df66836 More slide related tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388942 13f79535-47bb-0310-9956-ffa450edef68
2006-03-26 19:08:10 +00:00
Nick Burch 903bbb2ba6 Tests for adding multiple slides
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388930 13f79535-47bb-0310-9956-ffa450edef68
2006-03-26 17:37:36 +00:00
Nick Burch 29a5b2b56b Tests for patches from Yegor (Bug #39097)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388921 13f79535-47bb-0310-9956-ffa450edef68
2006-03-26 16:21:08 +00:00
Nick Burch 71eda449e6 Add Yegor's new slide functionality (see bug 38954), with a bit of refactoring
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@387009 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 17:54:17 +00:00
Nick Burch 9cf5b40189 Tests for improved child record adding code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386997 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 16:29:50 +00:00
Nick Burch 7cfd0162a7 Test for new Environment record
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386987 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 16:10:07 +00:00
Nick Burch b7827f2687 Test for new Document record class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386982 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 15:59:43 +00:00
Nick Burch 00011b1c8e Tests to ensure we create empty StyleTextPropAtoms correctly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386976 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 14:52:41 +00:00
Nick Burch 8b1721c749 Tests for getting and changing the font of a rich text run
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386873 13f79535-47bb-0310-9956-ffa450edef68
2006-03-18 18:56:38 +00:00
Nick Burch d3a66fae07 Tests for creating a new Comment2000 record
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@385356 13f79535-47bb-0310-9956-ffa450edef68
2006-03-12 19:19:18 +00:00