Commit Graph

1435 Commits

Author SHA1 Message Date
Nick Burch
3258401397 Fix for bug 38526 - If the record claims to be longer than the remaining data, just return null and ignore it
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375274 13f79535-47bb-0310-9956-ffa450edef68
2006-02-06 13:12:02 +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
8579775f16 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@375232 13f79535-47bb-0310-9956-ffa450edef68
2006-02-06 09:25:24 +00:00
Nick Burch
11ddcf5db3 Enable CString records
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375076 13f79535-47bb-0310-9956-ffa450edef68
2006-02-05 18:38:29 +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
90f5ba6546 CString support
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375074 13f79535-47bb-0310-9956-ffa450edef68
2006-02-05 18:36:59 +00:00
Nick Burch
7ec90fc228 Add placeholder definitions for 2000/XP Comments
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375069 13f79535-47bb-0310-9956-ffa450edef68
2006-02-05 18:15:45 +00:00
Rainer Klute
c6108bfa64 Minor API doc changes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@374728 13f79535-47bb-0310-9956-ffa450edef68
2006-02-03 19:08:14 +00:00
Nick Burch
f0ce2543b1 Expose the POIFSFileSystem constructor, so people who already have one find life easier
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@371938 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 15:23:52 +00:00
Nick Burch
c7b02dda46 BinaryTagData seems to contain records, but it isn't tagged as doing so. Try stepping in anyway
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@371892 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 11:10:49 +00:00
Shawn Laubach
a81ec9f00f Fixed an issue with it not compiling.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@371390 13f79535-47bb-0310-9956-ffa450edef68
2006-01-22 21:16:27 +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
Shawn Laubach
aab09332e7 Added the ability to set the default style for an individual column in a sheet.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@371080 13f79535-47bb-0310-9956-ffa450edef68
2006-01-21 16:36:18 +00:00
Jason Height
84e47bd7bb Bug37630: SQUASHED! Array Ptgs now implemented (at least the read and write functionality. No means to modify (yet!))
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@370987 13f79535-47bb-0310-9956-ffa450edef68
2006-01-21 05:40:07 +00:00
Jason Height
1d00be095e BUG 38230 Fixed. Confirmed that the typecast from byte to char caused errors. Added testcase.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@369729 13f79535-47bb-0310-9956-ffa450edef68
2006-01-17 09:08:23 +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
c2a41112ab From Bug 38289: Yegor's support for pictures embeded in PPT files
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@369540 13f79535-47bb-0310-9956-ffa450edef68
2006-01-16 18:27:37 +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
Jason Height
7758ae37db BUG 37056 & BUG 37058 fixed
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@368554 13f79535-47bb-0310-9956-ffa450edef68
2006-01-13 02:19:36 +00:00
Jason Height
8e822e3baf Multiple clone of same sheet now generates unique sheet name BUG 37416 fixed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@366110 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 07:29:36 +00:00
Nick Burch
7ce353785a Add (and throw) an exception if the powerpoint file is corrupt in a way that some seem to be (first record is of type 0000, and length is 0xFFFF)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@365617 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 11:59:43 +00:00
Nick Burch
427c2619da Add (and throw) an exception if the powerpoint file is corrupt in a way that some seem to be (first record is of type 0000, and length is 0xFFFF)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@365616 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 11:57:15 +00:00
Nick Burch
730cbcd0d3 Add (and throw) an exception if the powerpoint file is corrupt in a way that some seem to be (first record is of type 0000, and length is 0xFFFF)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@365615 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 11:54:38 +00:00
Jason Height
b57336834b Fixes to Unicode support. Believe that most unicode issues are now fixed. Bug 37622 & Bug 22873 squashed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@365609 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 11:41:36 +00:00
Jason Height
b55089d607 Added patch (along with fixes to it so that the unit tests work) for bug 37637
Bug 37622 and 30319 should be fixed. Tested that Euro DataFormat now works.

Ill provide a euro symbol/unicode unit test shortly.

Numerous minor changes so eclipse doesnt give so many warnings (incomplete)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@365561 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 07:24:01 +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
e805a38c10 Some support for changing text in Rich text runs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353800 13f79535-47bb-0310-9956-ffa450edef68
2005-11-29 22:22:13 +00:00
Nick Burch
d875a88d28 Get a bit further with building up RichTextRuns
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353799 13f79535-47bb-0310-9956-ffa450edef68
2005-11-29 21:18:59 +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
f7a9a1ca7b Fix NPE in case when we can't find the Document atom: throw an IllegalState instead
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353797 13f79535-47bb-0310-9956-ffa450edef68
2005-11-24 10:46:45 +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
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
a5d4a16967 Added information from Yegor on font storage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353786 13f79535-47bb-0310-9956-ffa450edef68
2005-09-17 15:40:15 +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
d4add2e368 List Yegor as co-author on file, since his information on Font and Text
Styling is now included


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353784 13f79535-47bb-0310-9956-ffa450edef68
2005-09-05 09:34:07 +00:00
Nick Burch
08276ffe43 NCB: Updated documentation on StyleTextPropAtom
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353783 13f79535-47bb-0310-9956-ffa450edef68
2005-09-04 20:09:11 +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
977c73b07a BitfieldFactory update
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353780 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 03:50:24 +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
b0f692b92c Performance and memory improvements:
1) using BitFieldFactory
2) HSSFCell doesnt hold onto stale UnicodeString values (gets latest from SST)
3) Default for Encoding in HSSFCell is "do nothing". This will mean duplicate copies of the UnicodeString will not be required, just to change the encoding. The default "string" encoding will be used.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353778 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 03:48:31 +00:00
Jason Height
d462aa3f80 UnicodeString now does not do the peculiar new String(getBytes("Unicode"),"Unicode") when serializing.
I doubt that this will have an effect on the serialization on non UTF8 platforms, but not having one of these to test on i dont know for 100%.

Please if anyone can try this with their code with a non-8bit character set please do and let us know of any issues


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353777 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 03:41:40 +00:00
Jason Height
c51554457f Added a factory implementation for BitFields. Will save a bit of memory.
Patch to change all fields to use the factory comming soon.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353776 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 03:27:43 +00:00
Jason Height
c436edb4d4 Removed the containsLabels variable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353775 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 03:45:55 +00:00
Jason Height
a44b51ac5a Applied patch to convert LabelRecords to LabelSSTRecords from bug19053
Modified slightly so that not all of the records are checked.

Jason


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353774 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 03:40:34 +00:00
Amol S. Deshmukh
f3df5ee67f Fix for Bug#28328
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353773 13f79535-47bb-0310-9956-ffa450edef68
2005-08-24 16:26:20 +00:00
Jason Height
5748dfe392 Minor javadoc update
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353772 13f79535-47bb-0310-9956-ffa450edef68
2005-08-23 03:44:59 +00:00
Jason Height
4292bb157a Why is there always one file that gets missed??
Minor fix to correct testcase asd a result of Unicode patch


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353771 13f79535-47bb-0310-9956-ffa450edef68
2005-08-18 07:13:15 +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
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
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
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
f94705554d Testcase for the DocumentAtom support just committed
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353716 13f79535-47bb-0310-9956-ffa450edef68
2005-06-12 17:08:40 +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
568d00264f Add tests for more classes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353712 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 15:18:17 +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
Nick Burch
ed83ff62b1 A few small updates to the HSLF useage docs, and adding some initial documentation on the PowerPoint file format
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353707 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 13:12:59 +00:00
Avik Sengupta
26c9e21e3b bug 35084, reported by Stefano Rocca. fixed in Sheet.java
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353705 13f79535-47bb-0310-9956-ffa450edef68
2005-05-31 19:10:47 +00:00
Avik Sengupta
99fbaec5a3 bug 35084, reported by Stefano Rocca. fixed in Sheet.java
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353704 13f79535-47bb-0310-9956-ffa450edef68
2005-05-31 19:03:19 +00:00
Avik Sengupta
1ae710d3db new testcase
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353703 13f79535-47bb-0310-9956-ffa450edef68
2005-05-31 18:41:19 +00:00
Avik Sengupta
903dc20dd6 documentation for powerpoint support
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353702 13f79535-47bb-0310-9956-ffa450edef68
2005-05-28 19:28:22 +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
9c84d7211c check for short EscherClientAnchor Records. Bug 34787 : by Nick Burch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353700 13f79535-47bb-0310-9956-ffa450edef68
2005-05-25 15:37:21 +00:00
Avik Sengupta
6073bdbbdd small update
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353699 13f79535-47bb-0310-9956-ffa450edef68
2005-05-24 14:23:03 +00:00
Avik Sengupta
0cf194d83c Additional constants for background fill, by Andreas Engel
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353698 13f79535-47bb-0310-9956-ffa450edef68
2005-05-24 06:18:17 +00:00
Andrew C. Oliver
4c4f14a2ad removed old links to an alternatives page which no longer is useful to the project
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353697 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 20:25:29 +00:00
Andrew C. Oliver
d18495c966 No other project really does this and it has outlived its usefulness to poi
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353696 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 20:22:25 +00:00
Avik Sengupta
3b3947a710 toString() method for HSSFCell to return
a simple string representation of the cell,
irrespective of its type.
Originally submitted by Wes Gilster as bug 19294
made some modifications, added testcase.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353693 13f79535-47bb-0310-9956-ffa450edef68
2005-05-20 09:13:14 +00:00
Avik Sengupta
7b0a3977f4 testcase for bug 34775
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353692 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 15:13:04 +00:00
Avik Sengupta
668c108b82 Fix for bug 27272 : Unknown Ptg 3C and 3D
by Patrick Luby, thanks!
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353691 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 14:56:45 +00:00
Avik Sengupta
07c855ff2f prevent output scrolling, pls revert if needed
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353690 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 14:33:35 +00:00
Avik Sengupta
7b53ba7211 better diagnostic
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353689 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 14:32:46 +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
Avik Sengupta
4a5d185c23 new formula eval docs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353686 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 10:36:06 +00:00
Avik Sengupta
4290d1b472 unary plus: patch by Amol Deshmukh, test added
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353685 13f79535-47bb-0310-9956-ffa450edef68
2005-05-18 18:58:57 +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
Rainer Klute
09f4225d74 Javadoc issues resolved.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353682 13f79535-47bb-0310-9956-ffa450edef68
2005-05-16 20:38:55 +00:00
Avik Sengupta
a3c885ca46 StringUtil javadocs, supplied by Nick Burch, thanks. bug 34922
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353681 13f79535-47bb-0310-9956-ffa450edef68
2005-05-16 14:44:37 +00:00
Avik Sengupta
3dfeef4a30 documentation for formula Evaluation. Thanks Amol!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353679 13f79535-47bb-0310-9956-ffa450edef68
2005-05-13 14:52:42 +00:00
Avik Sengupta
36c8fb1399 extra styles
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353678 13f79535-47bb-0310-9956-ffa450edef68
2005-05-13 14:35:28 +00:00
Shawn Laubach
fd8f48f7d7 Fixed issue where adding builtin types pushed other formats later in the list.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353677 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 20:37:35 +00:00
Avik Sengupta
8f5847ee81 user API to set window pane when wb is opened
by Amol Deshmukh and Li Jianming


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353676 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 17:25:26 +00:00
Glen Stampoultzis
30f56f14bc Bug 34745 Update ddf.EscherTextboxRecord to be cleaner, and allow setting of new data
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353675 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 13:40:06 +00:00
Glen Stampoultzis
5c13261c93 Removed some unused initializers
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353674 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 13:39:14 +00:00
Glen Stampoultzis
293cb49fca Keep field 6 intact
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353673 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 13:38:09 +00:00
Glen Stampoultzis
e88d77492c Indent
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353672 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 13:07:58 +00:00
Glen Stampoultzis
2e3142e65c Patch from Nick. Bug 34744 Fix for ddf.DefaultRecordFactory never creating EscherTextboxRecord
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353671 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 13:06:06 +00:00
Glen Stampoultzis
0aaf734131 There seems to be a bug with the current implementation that causes problems if you create a row but no sells. This just works around that bug.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353670 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 13:05:09 +00:00
Glen Stampoultzis
77cbf81c55 Minor mod - keep original
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353669 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 13:04:29 +00:00
Avik Sengupta
12c6d4bb82 testcase for 33082, which is now fixed
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353668 13f79535-47bb-0310-9956-ffa450edef68
2005-05-03 14:34:39 +00:00