Commit Graph

1714 Commits

Author SHA1 Message Date
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
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
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
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
4e01b6989f Add some information on fonts, paragraph stylings etc. (Holds the latest
knowledge as encapsulated in StyleTextPropAtom.java)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353761 13f79535-47bb-0310-9956-ffa450edef68
2005-08-07 15:04:46 +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
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
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
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
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
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
Amol S. Deshmukh
165eef331f [35799] Added testXFIndexForColumn
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353754 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 14:12:51 +00:00
Amol S. Deshmukh
c49212ff08 [35799] Used getXFIndexForColAt(short ) to get the default ExtendedFormatRecord for the cell
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353753 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 14:12:24 +00:00
Amol S. Deshmukh
482c71e61a [35799] getXFIndexForColAt(short ) added
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353752 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 14:11:38 +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
Rainer Klute
feafff98ea - Added the "source" and "target" options to the javac targets in order to place restrictions on the Java source code and the generated byte code with respect to the JDK version supported by POI. I set the latter to 1.3.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353750 13f79535-47bb-0310-9956-ffa450edef68
2005-07-13 20:52:10 +00:00
Amol S. Deshmukh
3bb1a854df Added quick-guide entry for how to create NamedRanges and NamedCells using HSSFName
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353749 13f79535-47bb-0310-9956-ffa450edef68
2005-07-13 13:15:05 +00:00
Amol S. Deshmukh
60a05ad411 Fix for issue# 35716: additional check added in method hasRange to detect cellrange over a single cell
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353748 13f79535-47bb-0310-9956-ffa450edef68
2005-07-13 13:12:39 +00:00
Amol S. Deshmukh
12b80bc7a5 added failing tests for singleCell NamedRange creation (testNamedCell_1 & testNamedCell_2).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353747 13f79535-47bb-0310-9956-ffa450edef68
2005-07-13 13:11:48 +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
Avik Sengupta
ca99a60e44 bug 34575 fixed, thanks Amol
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353744 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 16:01:06 +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
Avik Sengupta
3a1dcb4a85 trivial edit
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353742 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 15:19:53 +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
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
Amol S. Deshmukh
88f091b93e fix for issues 34575 and 35527 { fillFields(..) modified }
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353739 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 22:01:13 +00:00
Nick Burch
feec0fdaca Add information about HSLF support that's now present in 3.0 alpha 1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353738 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 11:38:50 +00:00
Glen Stampoultzis
ec8c35c2cb Validation issues
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353737 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 10:32:49 +00:00
Glen Stampoultzis
c9084795b9 Changed for upcoming build
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353736 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 09:59:03 +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
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
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
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
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
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
49ffe15239 Testing for ColorSchemeAtom record
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353719 13f79535-47bb-0310-9956-ffa450edef68
2005-06-19 15:37:11 +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