Nick Burch
b132e8d562
Fix for text runs from PPDrawings (bug 37451), as suggested by Yegor
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353795 13f79535-47bb-0310-9956-ffa450edef68
2005-11-13 17:01:21 +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
cf4e00a052
Handle saving unicode text where the underlying record was byte based, by
...
swapping the record
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353792 13f79535-47bb-0310-9956-ffa450edef68
2005-11-13 13:28:34 +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
dc06a38d0a
Bit of refactoring - move child records into parent RecordContainer
...
class, so we can then have more generic child record modification code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353790 13f79535-47bb-0310-9956-ffa450edef68
2005-11-07 23:03:05 +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
3b6297c63f
Lay some of the groundwork for model/usermodel support for rich text
...
(note - RichTextRun is not fixed, and method signatures might well change)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353788 13f79535-47bb-0310-9956-ffa450edef68
2005-11-07 22:24:15 +00:00
Nick Burch
aa0705ea2e
Pass font details + character styling up to the model
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353787 13f79535-47bb-0310-9956-ffa450edef68
2005-09-17 16:44:00 +00:00
Nick Burch
c508058158
List Yegor as co-author on file, since his code contribution was used in the
...
latest version fo the file
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353785 13f79535-47bb-0310-9956-ffa450edef68
2005-09-05 09:34:09 +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
c0eac52cd9
Handle internal representation duplication correctly
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353781 13f79535-47bb-0310-9956-ffa450edef68
2005-09-04 19:25:02 +00:00
Jason Height
fabc6ef583
Updated to use BitFieldFactory. Appologies for stepping outside my HSSF domain (wont happen again ;-)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353779 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 03:49:41 +00:00
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
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
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
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
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
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