Nick Burch
78936d9397
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
3e63e37064
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
5a52664cf7
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
2a1bc426a6
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
e3515e5334
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
07537dc7ae
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
55227d5b98
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
beeae66ea1
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
c3e3e1b394
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
152c6312d2
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
5f996d15c1
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
e6da1ce263
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
0c9120905f
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
6313c0f05c
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
2f764a52ca
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
29ed3fdea2
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
cea5e5c6d1
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
a20040b430
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
d715964e0c
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
ada69333b2
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
c4fea20971
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
0227e73537
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
b3cb2ec4bb
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
25a0f44907
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
09893e989c
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
1dfad60106
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
c40749300a
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
628f5026bf
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
0d18643331
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
2f71ef509c
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
ae6c4a5b2a
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
7e2f39de17
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
e86823b583
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
e568541b90
[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
eee5ade28e
[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
c1196ff362
[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
9a2dcc327b
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
ab7fb64929
- 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
2f806b08d9
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
6a377f3cbf
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
9fd60311fd
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
48fb5e8385
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
7fb084c8cc
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
b54043b0e0
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
ccbc4681cc
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
c8c2685291
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
3d59cfd110
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
58753eb9ca
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
189bf5af73
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
7c0dd64d28
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