Commit Graph

162 Commits

Author SHA1 Message Date
Jason Height
07f76e4bb6 Major landing of the following changes:
1) Full implementation of UnicodeStrings
2) exposure of RichText strings to the usermodel
3) Modification to SSTRecord to support duplicates. Fixes a few bugs
4) RecordInputStream *smart* ?? handeling of continue records!

Phew This took 6 months on and off to put together. Just happy to commit somethig

Report any problems!


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353769 13f79535-47bb-0310-9956-ffa450edef68
2005-08-18 07:06:44 +00:00
Nick Burch
426df87c2e For listing the contents of StyleTextPropAtom entries
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353766 13f79535-47bb-0310-9956-ffa450edef68
2005-08-14 19:27:22 +00:00
Nick Burch
f08fb90153 Improved handling of BitMask TextProp entries
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353765 13f79535-47bb-0310-9956-ffa450edef68
2005-08-14 19:26:48 +00:00
Nick Burch
b819b7595c Big overhaul, with lots of help from Yegor
Now correctly handle all the different kinds of stylings, in their twin list format


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353763 13f79535-47bb-0310-9956-ffa450edef68
2005-08-14 17:51:46 +00:00
Nick Burch
3824c8b638 Better handle the case of there not being enough data in the record to form
a final CharacterStyle


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353762 13f79535-47bb-0310-9956-ffa450edef68
2005-08-07 15:26:26 +00:00
Nick Burch
40f7c70483 Font support from Yegor, from Bug #35972
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353759 13f79535-47bb-0310-9956-ffa450edef68
2005-08-02 17:16:20 +00:00
Nick Burch
7d4ea7f10e Add support for setting some of the style properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353757 13f79535-47bb-0310-9956-ffa450edef68
2005-08-01 17:36:52 +00:00
Nick Burch
eb130ea42a Read only support for paragraph styling, and the stylings of the text within it
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353755 13f79535-47bb-0310-9956-ffa450edef68
2005-07-31 18:06:26 +00:00
Nick Burch
bb8ab29fa0 Contribution from Yegor Kozlov (Bug 35630):
Dumps out the raw contents of a PPT file in XML format


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353751 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 11:31:26 +00:00
Nick Burch
eccd114bad Update to handle changed method signature on ddf.EscherContainerRecord.toString
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353746 13f79535-47bb-0310-9956-ffa450edef68
2005-07-13 11:06:58 +00:00
Nick Burch
3f6a46fd4e Move from having the list of classes to use for records from being in here, to being in RecordTypes
Should make adding new record handling classes cleaner and more extensible
(Change inspired by discussions with Yegor Kozlov)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353745 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 17:38:55 +00:00
Nick Burch
e00185760d Record level dumper of powerpoint files, and their constituent escher parts
Prints out in indented text what occurs where
(Code has existed for a while, but the lookup table used to be just a cut'n'paste from something of unknown copyright status. Now converted to using Yegor's new RecordTypes class, so can be released)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353743 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 15:57:07 +00:00
Nick Burch
1332c0186a Based on version submitted by Yegor Kozlov
Allows easy access to the names of records armed only with their type, or the handling class for a given type
Also allows easy lookup of a type where you know the name (via the static final class fields)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353740 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 12:37:14 +00:00
Nick Burch
1b45e20595 Use the new "most recent important records" record list when creating notes and slides. Makes the code much cleaner, and means that handling older versions of slides is taken care of in a much better manner
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353733 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 19:05:07 +00:00
Nick Burch
c6ad45cdf8 The usermodel code is now responsible for filtering out duplicate SlideAtomSets, so update to no longer check for them
Add the ability to get at the Slide record that this is based on


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353732 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 19:03:48 +00:00
Nick Burch
3359aeacdb Allow setting of the ID of the notes associated with the slide (have always been able to fetch it). Used when adding a new notes sheet, or when swapping notes between slides
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353731 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 19:01:38 +00:00
Nick Burch
70002e644d Make use of the PersistPtr records to come up with a list of the most
recent versions of all the "key" records (Document, Slide, Notes, Master etc)

Doesn't yet make use of this internally though, that's still to do


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353729 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 18:09:15 +00:00
Amol S. Deshmukh
78711ffef0 changed the mapping of functions that wil never be implemented to point to NotImplementedFunction instead of individual classes each extending NotImplementedFunction
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353728 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 20:50:03 +00:00
Amol S. Deshmukh
b943810bfb changed due to renaming of super class (DefaultFunctionImpl was renamed to NotImplementedFunction)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353726 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 20:48:42 +00:00
Amol S. Deshmukh
840c73af40 implemented the NOT boolean function
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353725 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 20:46:55 +00:00
Amol S. Deshmukh
6c938f3c8a changed "extends DefaultFunctionImpl" to "implements Function"
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353724 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 20:45:54 +00:00
Amol S. Deshmukh
d8ea7f98e3 Implemented this finance function evaluation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353723 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 20:43:30 +00:00
Amol S. Deshmukh
e0fbd5d76d Changed implementations to handle the case where rate=0. Updated javadocs.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353722 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 20:42:40 +00:00
Amol S. Deshmukh
b0decdc046 Renamed DefaultFunctionImpl
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353721 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 20:41:30 +00:00
Amol S. Deshmukh
b4b6033b1b Removed java files corresponding to excel functions that will never be implemented by the FormulaEvaluator API (eg. MovieCommand)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353720 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 20:40:17 +00:00
Nick Burch
0ecfae443f Record support for ColorSchemeAtom (no model support as yet)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353718 13f79535-47bb-0310-9956-ffa450edef68
2005-06-19 15:36:55 +00:00
Avik Sengupta
2714aaee5d Amol's formula eval additions. Missed these files, sorry
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353717 13f79535-47bb-0310-9956-ffa450edef68
2005-06-14 17:41:33 +00:00
Nick Burch
98983095b2 Support for DocumentAtom
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353715 13f79535-47bb-0310-9956-ffa450edef68
2005-06-12 16:53:02 +00:00
Avik Sengupta
0ac5c6ef94 New formula eval stuff - added functions and refactored, by Amol
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353714 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 18:34:57 +00:00
Avik Sengupta
ab9e2a94d6 compilation problem
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353713 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 18:20:28 +00:00
Nick Burch
093ffa8bd4 Improved handling of byte level position sensitive records
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353711 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 15:13:20 +00:00
Nick Burch
db67860378 QuickButCruddyTextExtractor - gets all the text (including stuff you might not want), but does it fast
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353710 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 15:09:58 +00:00
Nick Burch
d40aa464fa Improved handling of byte position sensitive records
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353709 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 15:09:16 +00:00
Nick Burch
cfc6960898 Improved handling of byte level position sensitive records
QuickButGreedyTextExtractor - gets all the text in a file, fast


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353708 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 15:07:56 +00:00
Avik Sengupta
e6b361637b Initial Powerpoint support, by Nick Burch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353701 13f79535-47bb-0310-9956-ffa450edef68
2005-05-28 05:36:00 +00:00
Avik Sengupta
6fb95671b1 Initial checkin for FormulaEvaluator and associated tests
Author: Amol Deshmukh


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353688 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 12:15:52 +00:00
Rainer Klute
c71b3635a9 - Improved the build process' with respect to its dependencies on JUnit, JDepend and an XSLT processor.
- Included DDF in the generated javadoc API documentation.
- Excluded the obsolete HDF from the generated javadoc API documentation.
- Included the CLASSPATH environment variable in the javadoc classpath so that references to third-party packages can be resolved.
- Removed all explicit references to Xalan and changed the HSSF record generator to use any XSLT processor. However, that stuff seems to be very much out of date: The XSL stylesheet won't compile even after an obvious fix. Thus my modifications are untested but that stuff won't work anyway. I doubt it is important.
- Did some beautifications on the build.xml file.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353683 13f79535-47bb-0310-9956-ffa450edef68
2005-05-16 21:39:22 +00:00
Andrew C. Oliver
0cba55bf3e added clone for properties objects. Sure makes it easier. Hey look ma,
javadoc!
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353652 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 21:33:49 +00:00
Rainer Klute
564f47ab24 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353629 13f79535-47bb-0310-9956-ffa450edef68
2005-02-13 17:35:53 +00:00
Rainer Klute
15bc229c4d Bug 33263 fixed: Patch provided by Der-Johng Sun <derjohng2@yahoo.com>.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353627 13f79535-47bb-0310-9956-ffa450edef68
2005-01-28 17:23:00 +00:00
Rainer Klute
bf010cfa1b - Ironed out a whole bunch of Javadoc issues. Not that the documentation is any better now, but at least Javadoc complains no longer.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353622 13f79535-47bb-0310-9956-ffa450edef68
2005-01-02 01:00:53 +00:00
Glen Stampoultzis
7d6a1faa18 Minor formatting
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353590 13f79535-47bb-0310-9956-ffa450edef68
2004-08-26 03:26:33 +00:00
Glen Stampoultzis
51655ccda2 Pier's other HWPF patch.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353588 13f79535-47bb-0310-9956-ffa450edef68
2004-08-24 12:54:01 +00:00
Glen Stampoultzis
c140d28e76 Pier's HWPF patch.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353587 13f79535-47bb-0310-9956-ffa450edef68
2004-08-24 12:34:33 +00:00
Said Ryan Ackley
5c4a6f5ce9 fixes for article
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353573 13f79535-47bb-0310-9956-ffa450edef68
2004-07-11 05:54:36 +00:00
Said Ryan Ackley
0f6869f71f fixes for article
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353571 13f79535-47bb-0310-9956-ffa450edef68
2004-07-11 04:38:32 +00:00
Said Ryan Ackley
e90590e97d <No Comment Entered>
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353551 13f79535-47bb-0310-9956-ffa450edef68
2004-04-19 23:49:49 +00:00
Glen Stampoultzis
a4047ad573 New licence changes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353545 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 13:05:39 +00:00
Said Ryan Ackley
89101ac1da patch and latest bug fixes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353541 13f79535-47bb-0310-9956-ffa450edef68
2004-04-08 11:51:15 +00:00
Said Ryan Ackley
ad71becd4b latest patches and changes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353540 13f79535-47bb-0310-9956-ffa450edef68
2004-04-06 04:44:04 +00:00