Commit Graph

285 Commits

Author SHA1 Message Date
Nick Burch
f3177bf387 Some matching sets of sample ooxml and ole2 files, along with a plain text description
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@608826 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 13:09:57 +00:00
Nick Burch
26b6528d9e Add some more sample ooxml documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@607022 13f79535-47bb-0310-9956-ffa450edef68
2007-12-27 09:01:03 +00:00
Nick Burch
12cd0bffa1 Update the sample ooxml files to the latest versions from http://openxmldeveloper.org/articles/SampleDocsAugust2007.aspx (previous samples were from a beta)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@606920 13f79535-47bb-0310-9956-ffa450edef68
2007-12-26 16:44:14 +00:00
Yegor Kozlov
ca66f610e4 fix bug #43781: slide->getShapes->getTextRun returns wrong text
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@606685 13f79535-47bb-0310-9956-ffa450edef68
2007-12-24 09:51:14 +00:00
Nick Burch
76b94fc202 Support for Mid, Replace and Substitute excel functions (bug #s 44095, 44097, 44099)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@606172 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 12:24:54 +00:00
Nick Burch
952c2e002d Patch from bug #44055 - support reading the from field from HSMF messages
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@606169 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 12:16:54 +00:00
Nick Burch
f08243b10f Avoid a rare ArrayIndexOutOfBoundsException on some word table stuff (patch from bug #44078)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@604878 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 14:19:19 +00:00
Nick Burch
99b5c68d34 Add comments on which formula related things should go in which of the two test suites
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@603538 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 10:30:22 +00:00
Nick Burch
c4fa9cf5f0 Support for the Trim function, and a little enhancement to the formula evaluation test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@603233 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 13:03:53 +00:00
Nick Burch
12705fe743 Workaround to avoid a NPE for Word Documents that are missing their ListTable (bug #44003)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@600896 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 11:41:11 +00:00
Nick Burch
75e57d9414 Add in a (disabled) test for bug #43670 (not yet fixed)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@589417 13f79535-47bb-0310-9956-ffa450edef68
2007-10-28 20:56:34 +00:00
Nick Burch
7774616a7d Stub out the HDGF compression routine, and tests for it. Document the first slab of the compressed data in the test, so it's easy to see if we're generating it properly. (Have yet to implement the compression support yet though)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@584534 13f79535-47bb-0310-9956-ffa450edef68
2007-10-14 12:42:47 +00:00
Nick Burch
786af85cc0 Replace the HDGW LZW engine with a fully documented, ASL licenced version. (Doesn't do compression yet, but is a much better start for that)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@584414 13f79535-47bb-0310-9956-ffa450edef68
2007-10-13 15:46:09 +00:00
Nick Burch
b151061e97 Implement the date function, patch from Pavel
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@579244 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 13:37:02 +00:00
Nick Burch
3365f9798b Finish the POIDocument move, and update HSSFWorkbook to use it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@577314 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 14:34:31 +00:00
Nick Burch
22d3036135 Move POIDocument out of the scratchpad
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@577260 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 11:57:05 +00:00
Nick Burch
ed2d78b08b When writing out a HSLF file, optionally also write out all the different OLE2 streams, and not just the normal HSLF related ones
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@576505 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 16:30:31 +00:00
Yegor Kozlov
7356dd361c support for adding Picture to ShapeGroup in HSLF. See Bug 43323 for details.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@573955 13f79535-47bb-0310-9956-ffa450edef68
2007-09-09 07:38:35 +00:00
Yegor Kozlov
a82e65ea7b Support for getting OLE object data from slide show. See Bug 43247 for details.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@573872 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 16:12:29 +00:00
Nick Burch
1998bb30a5 Add in missing copyright headers to a couple of new testcases
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@566198 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 14:41:46 +00:00
Nick Burch
6708ebde80 Patch from David Law in bug #43093 - handle Area3D formula references that refer to a different sheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@566157 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 13:58:12 +00:00
Yegor Kozlov
65c68651ab fixed bug 42620: More than one slide fails to open in OpenOffice. Fix: UserEditAtom.MaxPersistWritten wasn't updated when adding new slides.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@563185 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 16:49:47 +00:00
Nick Burch
ca73f5eb7e Initial HSMF (outlook) support from Travis
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@554774 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 22:19:21 +00:00
Nick Burch
3f4950fa82 Include a test for the text extraction code. Update code to use POILogger instead of System.err. Update the NOTICE file for the TLP change, and add entries for JUnit and the small GPL v3 bits of HDGF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@551273 13f79535-47bb-0310-9956-ffa450edef68
2007-06-27 19:00:35 +00:00
Nick Burch
27f71146d8 Lots more HDGF support for chunks, and add support for basic text extraction
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@551258 13f79535-47bb-0310-9956-ffa450edef68
2007-06-27 18:34:17 +00:00
Yegor Kozlov
f6e06619e7 fixed [Bug 42677] - HSLF SlideShow write() issues on tables
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@550731 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 08:09:24 +00:00
Nick Burch
d04f8956c5 Make a start on processing the commands within the chunks, and their values. Includes some tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@549616 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 21:24:25 +00:00
Nick Burch
2a0276c665 Start on processing the commands stored within a HDGF chunk, plus initial tests for it
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@549588 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 19:28:04 +00:00
Nick Burch
8ff8c4733c Tweak test to match last V11 related change
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@549111 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 13:58:14 +00:00
Nick Burch
456d639e55 Improved support for chunks and chunk streams, plus tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@548870 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 22:41:33 +00:00
Nick Burch
0df13bee23 Make a start on supporting Chunks
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@548836 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 19:55:30 +00:00
Nick Burch
44288ba5e5 Convert HDGFDiagram to using the new pointer and stream code, and add tests for it
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@548518 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 22:44:56 +00:00
Nick Burch
58a5831942 Basic support for a few key kinds of streams, and tests to go with this
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@548511 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 22:26:04 +00:00
Nick Burch
ca88624f6f Initial HDGF support for streams, plus tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@548476 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 20:24:39 +00:00
Nick Burch
407d10ffd1 Initial support for HDGF pointers, along with tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@548461 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 19:39:29 +00:00
Nick Burch
2d22286924 First stab at hdgf, an implementation of the visio format. Basic support for processing the equivalent of records - pointers and blocks. Now to refactor it into something sane!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@548428 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 18:10:57 +00:00
Yegor Kozlov
c5a4a5b891 encode unicode chars in HSLF unit tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@543411 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 07:06:51 +00:00
Yegor Kozlov
49a0737b06 HSLF: readonly support for hyperlinks
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@542804 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 11:56:46 +00:00
Yegor Kozlov
aeaf8fe21f fixed bug 38256: RuntimeException: Couldn't instantiate the class for type with id 0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@542453 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 08:32:56 +00:00
Yegor Kozlov
28b2906621 support for text bullets
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@542179 13f79535-47bb-0310-9956-ffa450edef68
2007-05-28 09:45:09 +00:00
Yegor Kozlov
bdd52c732f fixed bug 42520: NPE in Picture.getPictureData() and bug 42524: NPE in Shape.getShapeType(); Also changed the code to write messages to POILogger instead of System.err/System.out
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@541867 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 07:22:51 +00:00
Yegor Kozlov
09b709f426 fixed bug 42486: Failure parsing a seemingly valid PPT. Some of the assertions in ExHyperlink were too strong. Write to log instead of throwing exception
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@541632 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 13:03:26 +00:00
Yegor Kozlov
3bcdf011d1 added support for TitleMaster object
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@541622 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 12:04:45 +00:00
Yegor Kozlov
581fb11400 fixed bug 42484: NullPointerException from ShapeGroup.getAnchor()
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@541281 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 12:09:34 +00:00
Yegor Kozlov
eb267bb14a fixed bug 42485: All TextBoxes inside ShapeGroups have null TextRuns
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@541274 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 11:38:36 +00:00
Yegor Kozlov
ba9e3eb545 applied patches from bug 42474: (1) Incorrect matching of notes to slides and (2) NPE in RichTextRun.isBold() when the RichTextRun comes from a Notes model object
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@541219 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 07:52:04 +00:00
Nick Burch
b6fedbefd9 Initial version of a Missing Record Aware shim on HSSFListener. Includes limited tests, but not yet any documentation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@539462 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 13:27:04 +00:00
Nick Burch
5cf00bc2a6 Apply Trejkax's fix from bug #41653, and do a whole load of tests for the HWPF picture stuff. Includes a stub test for the problem identified in bug #41898
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@523777 13f79535-47bb-0310-9956-ffa450edef68
2007-03-29 17:36:37 +00:00
Nick Burch
5803bf4514 Don't NPE if we have a reference to a note, where there's no core record to go with that note's RefID. Instead, just log it, and pretend the note wasn't there.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@523678 13f79535-47bb-0310-9956-ffa450edef68
2007-03-29 11:50:50 +00:00
Yegor Kozlov
c57a5a47d0 fixed bug 41384: Array index wrong in record creation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@520893 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 14:04:32 +00:00
Rainer Klute
6ea2f6804a Make this compile for me.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@501314 13f79535-47bb-0310-9956-ffa450edef68
2007-01-30 05:49:04 +00:00
Nick Burch
066910f3c0 Add ExObjList support
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@497107 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 18:09:24 +00:00
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
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
Nick Burch
a7f8720bad Finish Comment2000Atom support
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381168 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 20:52:54 +00:00
Nick Burch
e27f1f5e98 Tests for Atom for 2000/XP style comments
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381153 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 20:10:29 +00:00
Nick Burch
c0f9638b82 Add support for converting to/from SYSTEMTIME dates
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381144 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 19:54:12 +00:00
Nick Burch
1e6596b0e0 Friendly wrapper on HWPF for extracting text from Word Documents
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377372 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 12:59:00 +00:00
Nick Burch
dde8b84f03 Start to support friendly usermodel interface to rich text character properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377216 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 19:01:16 +00:00
Nick Burch
8d1355745b More rich text work
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377170 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 12:56:33 +00:00
Nick Burch
64fc6d5410 Record level support for PPT 2000/XP comments (but not yet comment summaries or details)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375233 13f79535-47bb-0310-9956-ffa450edef68
2006-02-06 09:25:48 +00:00
Nick Burch
33cc22eea2 CString support
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375075 13f79535-47bb-0310-9956-ffa450edef68
2006-02-05 18:37:18 +00:00
Nick Burch
d8d15c3e20 Fix from CVS import - ensure PPT test files are stored as binary
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@371348 13f79535-47bb-0310-9956-ffa450edef68
2006-01-22 18:53:29 +00:00
Nick Burch
4fb1a3e4fe From Bug 38289: Yegor's support for pictures embeded in PPT files
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@369541 13f79535-47bb-0310-9956-ffa450edef68
2006-01-16 18:27:51 +00:00
Nick Burch
3ab6d6c4a8 Sample data from bug 38283, for a PPT file with an embeded picture in it
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@369539 13f79535-47bb-0310-9956-ffa450edef68
2006-01-16 18:19:05 +00:00
Nick Burch
ffb888bc9e More rich text related tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353801 13f79535-47bb-0310-9956-ffa450edef68
2005-11-29 22:23:28 +00:00
Nick Burch
f3b0f86095 Simple rich text sample PPT file
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353798 13f79535-47bb-0310-9956-ffa450edef68
2005-11-29 20:35:46 +00:00
Nick Burch
efbf7f9f5d Test for extracting text from slide PPDrawings (to ensure bug 37451 is really fixed)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353796 13f79535-47bb-0310-9956-ffa450edef68
2005-11-13 17:01:54 +00:00
Nick Burch
ab08265082 Test data from Yegor Kozlov from bug 37451 - PPT file with text from a text box
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353794 13f79535-47bb-0310-9956-ffa450edef68
2005-11-13 13:33:10 +00:00
Nick Burch
d70b1efce3 Basic tests for model.TextRun, and notes on what tests still need to
be written for it


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353793 13f79535-47bb-0310-9956-ffa450edef68
2005-11-13 13:29:27 +00:00
Nick Burch
67901ee8f9 Tests for updated RecordContainer
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353791 13f79535-47bb-0310-9956-ffa450edef68
2005-11-07 23:03:24 +00:00
Nick Burch
8e1d29cd39 Some further tests for rich text supporting code
(No tests as yet for rich text code, as that's still being worked on)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353789 13f79535-47bb-0310-9956-ffa450edef68
2005-11-07 22:26:44 +00:00
Nick Burch
66eba605c6 Finish off character style tests, and add paragraph style tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353782 13f79535-47bb-0310-9956-ffa450edef68
2005-09-04 19:26:40 +00:00
Nick Burch
d9c74c316c Add a few more tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353767 13f79535-47bb-0310-9956-ffa450edef68
2005-08-14 19:27:45 +00:00
Nick Burch
5e6d45c31c Update tests to track updates in StyleTextPropAtom
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353764 13f79535-47bb-0310-9956-ffa450edef68
2005-08-14 17:52:43 +00:00
Nick Burch
255fdf3d72 Tests for Font support from Yegor, from Bug #35972
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353760 13f79535-47bb-0310-9956-ffa450edef68
2005-08-02 17:16:46 +00:00
Nick Burch
9f2ba8ec8d Add a partial test for changing style properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353758 13f79535-47bb-0310-9956-ffa450edef68
2005-08-01 17:37:15 +00:00
Nick Burch
cba94f3955 Test code for the new Text Styling record class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353756 13f79535-47bb-0310-9956-ffa450edef68
2005-07-31 18:06:48 +00:00
Nick Burch
fdb11ab3cc Tests to ensure that RecordTypes.java is behaving as expected
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353741 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 12:37:56 +00:00
Nick Burch
8ce3da07aa Test to ensure that the updating of a slide's notes sheet works correctly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353735 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 19:06:39 +00:00
Nick Burch
3e42f98d79 Update to match changes in usermodel
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353734 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 19:06:16 +00:00
Nick Burch
fb53350066 Test to ensure that the code for working out the "most recent" versions
of the key records (from PersistPtr records) is working correctly


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353730 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 18:09:42 +00:00
Amol S. Deshmukh
eb7f1ce7e5 updated test cases to consider the case that rate=0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353727 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 20:49:14 +00:00