Yegor Kozlov
581fb11400
fixed bug 42484: NullPointerException from ShapeGroup.getAnchor()
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@541281 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 12:09:34 +00:00
Yegor Kozlov
eb267bb14a
fixed bug 42485: All TextBoxes inside ShapeGroups have null TextRuns
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@541274 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 11:38:36 +00:00
Yegor Kozlov
ddef996756
throw HSLFException instead of RuntimeException
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@541267 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 11:05:24 +00:00
Yegor Kozlov
8d87bbd972
return null instead of throwing exception when slide master is not found
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@541266 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 11:04:22 +00:00
Yegor Kozlov
ba9e3eb545
applied patches from bug 42474: (1) Incorrect matching of notes to slides and (2) NPE in RichTextRun.isBold() when the RichTextRun comes from a Notes model object
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@541219 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 07:52:04 +00:00
Nick Burch
1687be32a1
Give more guidance on where to put distribution files
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@540666 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 18:00:24 +00:00
Nick Burch
a705ca03a9
Update dates to ISO 8601 format, and copy data from changes to status
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@540659 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 17:39:34 +00:00
Nick Burch
73394defbc
Update the release documentation to take account of voting on releasing artificats, and also how to do that without ending up with artificats containing the wrong version numbers or dates
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@540546 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 11:56:48 +00:00
Nick Burch
b6fedbefd9
Initial version of a Missing Record Aware shim on HSSFListener. Includes limited tests, but not yet any documentation
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@539462 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 13:27:04 +00:00
Nick Burch
76a1ba7a57
Add some entity definitions that all our xdocs refer to, but which weren't there. Allows our xdocs to validate with an external xml validator
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@539454 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 13:19:12 +00:00
Nick Burch
80249d9780
If the apparent location of the current user atom is past the end of the data, then the file's clearly corrupt, so throw a better exception
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@539453 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 13:17:41 +00:00
Nick Burch
5d9a2d947a
Updates for 3.0 being released
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@539409 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 12:06:09 +00:00
Yegor Kozlov
8486f22a4b
HSLF docs updated: added a note on using HSLF when graphical environment is not avaiable
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@535929 13f79535-47bb-0310-9956-ffa450edef68
2007-05-07 17:09:31 +00:00
Yegor Kozlov
7c802c0d67
HSSF docs updated: added a note on using HSSFSheet.autoSizeColumn in headless mode and added a note on how to read images from a workbook
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@535623 13f79535-47bb-0310-9956-ffa450edef68
2007-05-06 15:35:39 +00:00
Nick Burch
ea1de5f967
Add a note about using Cocoon to do XML -> XLS, since people have been asking me about this
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@535137 13f79535-47bb-0310-9956-ffa450edef68
2007-05-04 09:25:06 +00:00
Nick Burch
418490df0e
Update the changelog
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@534753 13f79535-47bb-0310-9956-ffa450edef68
2007-05-03 08:24:45 +00:00
Nick Burch
0943aed6e8
Detect, and report a meaningful error, if we come across an Office 2007 XML document
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@531419 13f79535-47bb-0310-9956-ffa450edef68
2007-04-23 10:45:49 +00:00
Yegor Kozlov
5161e63400
cleaning the code before release
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@530031 13f79535-47bb-0310-9956-ffa450edef68
2007-04-18 14:22:55 +00:00
Yegor Kozlov
f9a0dbf4a4
fixed misc bugs in the hslf how-to doc
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@530029 13f79535-47bb-0310-9956-ffa450edef68
2007-04-18 14:21:40 +00:00
Yegor Kozlov
01e84ba7f0
applied the patch submitted in Bug 38976: added createPicture to HSSFShapeGroup
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@529206 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 11:12:03 +00:00
Yegor Kozlov
b538a0a21b
testcases for bugs 38266 and 40738
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@529197 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 10:49:47 +00:00
Yegor Kozlov
588f61fa1e
applied the patch submitted in Bug 41223: Simple image extraction for HSSFWorkbook
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@529196 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 10:48:20 +00:00
Yegor Kozlov
0d56d5df4a
use POILogger instead of System.err in hslf records. If users want verbose output they should explicitly enable it through -Dorg.apache.poi.util.POILogger option. P.S. I think this should be done through the whole HSLF, i.e. no direct calls of System.out and Sysrtem.err
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@527820 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 07:40:15 +00:00
Yegor Kozlov
97e991ec6e
Fix for bug 41946: remember if the complex part of an array property is empty and write back the original empty data
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@527816 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 07:36:13 +00:00
Nick Burch
99e3b2389d
It seems that some PPT files only have linkAtom + linkDetailsA for their ExHyperlink, and miss the linkDetailsB. For those files, do the right thing
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@525127 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 10:13:20 +00:00
Yegor Kozlov
51840d63ad
convert from pixels (96dpi) to points(72dpi) when setting picture anchor
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@524085 13f79535-47bb-0310-9956-ffa450edef68
2007-03-30 13:48:56 +00:00
Nick Burch
5cf00bc2a6
Apply Trejkax's fix from bug #41653 , and do a whole load of tests for the HWPF picture stuff. Includes a stub test for the problem identified in bug #41898
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@523777 13f79535-47bb-0310-9956-ffa450edef68
2007-03-29 17:36:37 +00:00
Nick Burch
5803bf4514
Don't NPE if we have a reference to a note, where there's no core record to go with that note's RefID. Instead, just log it, and pretend the note wasn't there.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@523678 13f79535-47bb-0310-9956-ffa450edef68
2007-03-29 11:50:50 +00:00
Yegor Kozlov
c57a5a47d0
fixed bug 41384: Array index wrong in record creation
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@520893 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 14:04:32 +00:00
Yegor Kozlov
bfc32c3190
fixed bug 41761: NPE when serializing a workbook with empty rows
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@520416 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 14:59:29 +00:00
Yegor Kozlov
e3305a7043
excluded rich text and outlines from POI 2.5 limitations
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@520398 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 14:04:49 +00:00
Yegor Kozlov
8a3e83c0df
improved work with cell comments
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@517261 13f79535-47bb-0310-9956-ffa450edef68
2007-03-12 15:43:14 +00:00
Andrew C. Oliver
5868b3f7f1
fix amateur hour coding mistake
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@513609 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 03:48:55 +00:00
Andrew C. Oliver
d26d6811fd
http://issues.apache.org/bugzilla/show_bug.cgi?id=40548
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@513605 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 03:13:13 +00:00
Andrew C. Oliver
89bfe86875
Allow user defined named ranges. Calling super doesn't seem to break anything and throwing the
...
exception prevents writing rationale files with user defined named ranges... Open to discussion
if anyone knows why we're being so fickle here...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@513604 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 02:53:06 +00:00
Nick Burch
2e4f27d57b
If the username length in the CurrentUserAtom is clearly wrong, treat it as if there was no username, rather than giving an ArrayIndexOutOfBoundsException
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@513391 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 15:59:56 +00:00
Yegor Kozlov
8af09b2475
not autofit for formula cells
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@511909 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 17:17:26 +00:00
Yegor Kozlov
5d19ceee38
support for auto-sizing worksheet columns
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@507076 13f79535-47bb-0310-9956-ffa450edef68
2007-02-13 16:25:55 +00:00
Yegor Kozlov
d49f3d91a3
changing attributes of existing cell comments is reflected after save
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@501875 13f79535-47bb-0310-9956-ffa450edef68
2007-01-31 16:14:23 +00:00
Rainer Klute
6ea2f6804a
Make this compile for me.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@501314 13f79535-47bb-0310-9956-ffa450edef68
2007-01-30 05:49:04 +00:00
Nick Burch
066910f3c0
Add ExObjList support
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@497107 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 18:09:24 +00:00
Nick Burch
1557708b2a
Add ExHyperlink tests against a real file
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@497090 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 17:12:26 +00:00
Nick Burch
a2bc714fa3
Add support for ExHyperlink and ExHyperlinkAtom
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@497079 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 16:59:45 +00:00
Nick Burch
255bc5a9c3
Support InteractiveInfo, the parent of InteractiveInfoAtom
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@497061 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 16:17:46 +00:00
Nick Burch
3577d348c3
Initial, basic support for InteractiveInfoAtom
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@497058 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 16:05:26 +00:00
Nick Burch
b892245d39
Tweak comments and variable names, to make the wacky colour stuff as BGR not RGB clearer
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496782 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 17:22:38 +00:00
Avik Sengupta
adb7397d71
testcases for still unfixed bugs
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496739 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 15:52:31 +00:00
Avik Sengupta
ef6a48b79e
Testcases for bugs. Thanks Yegor
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496633 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 09:23:18 +00:00
Mark Emlyn David Thomas
2b23708839
Add standard licence header for src/documentation/content directory
...
Add svn properties where not present
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496536 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 23:11:09 +00:00
Mark Emlyn David Thomas
05e1338a24
Add standard licence header for src/documentation/skins directory
...
Add XML declaration where not present
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496534 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 23:06:53 +00:00
Mark Emlyn David Thomas
af9a3f3616
Add standard licence header for src/types directory
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496533 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 23:04:42 +00:00
Mark Emlyn David Thomas
2c47c06087
Add standard licence header for src/testcases directory
...
Set svn properties where not already set
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496532 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 23:00:17 +00:00
Mark Emlyn David Thomas
574a714a91
Add standard licence header for src/resources directory
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496531 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 22:55:27 +00:00
Mark Emlyn David Thomas
aeadb0d819
Add standard licence header for src/records directory
...
Add XML declarations where not present
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496529 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 22:53:32 +00:00
Mark Emlyn David Thomas
7b3258a456
Add standard licence header for src/java directory
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496526 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 22:46:35 +00:00
Mark Emlyn David Thomas
346cacfbe3
Add standard licence header for src/examples directory
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496525 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 22:44:18 +00:00
Mark Emlyn David Thomas
0c70803bb0
Add standard licence header for contrib directory
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496523 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 22:41:39 +00:00
Rainer Klute
834dcb151d
License comment fixed.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496419 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 17:56:52 +00:00
Nick Burch
16b4ba157a
Refactor the TextPropCollection and TextProp classes into their own model package. Some of the logic in StyleTextPropAtom should probably be refactored out too, but that's still to do
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496405 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 17:00:41 +00:00
Nick Burch
0d2f337be6
Fix for bug #41357 , by moving byte array creation until after we've decided that we have a valid picture
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496398 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 16:40:03 +00:00
Nick Burch
3b14ab1eb2
Update the order of the TextProps, as it seems not to be based quite on the mask order. Fix from Yegor, from bug #40143
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496369 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 15:22:39 +00:00
Mark Emlyn David Thomas
dec3b4b591
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496331 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 14:36:03 +00:00
Mark Emlyn David Thomas
a07ff5e91c
Add standard licence header
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496329 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 14:27:03 +00:00
Nick Burch
ad857c6fbc
Throw an exception if a picture claims to have a negative amount of data. Should avoid problem in bug #41357
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@495578 13f79535-47bb-0310-9956-ffa450edef68
2007-01-12 14:19:35 +00:00
Nick Burch
ff124420a0
Handle the fact that StyleTextPropAtom needs to work with a text length that's one larger than the underlying text it represents. (Fix from Yegor from bug #40143 )
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@495278 13f79535-47bb-0310-9956-ffa450edef68
2007-01-11 16:18:30 +00:00
Nick Burch
e7c94a114b
Update with new knowledge of how this all works, from bug #41176
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@494519 13f79535-47bb-0310-9956-ffa450edef68
2007-01-09 18:51:29 +00:00
Nick Burch
11adac96b2
Yegor's patch from bug #41242
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@493098 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 17:38:54 +00:00
Avik Sengupta
31438381be
remove build errors
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@491788 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 12:51:27 +00:00
Avik Sengupta
2544e115b5
update jindent file
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@491759 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 08:21:56 +00:00
Nick Burch
e423cc45ed
Comment support from bug 41198, patch from Yegor
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@491629 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 21:02:22 +00:00
Henri Yandell
c5b9d25328
Switching from ASL 1.1 to AL 2.0 - no one had a reason for these being this way on the mailing list
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@491503 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 22:28:52 +00:00
Henri Yandell
2d415f54fa
copy2license run on these (after a bit of munging)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489765 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 21:07:34 +00:00
Henri Yandell
81357fd328
Applied copy2license script to the files that were converted by dos2unix. ant jar continues to pass.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489762 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 21:00:02 +00:00
Henri Yandell
094505af85
Applying dos2unix on some of the Java files. The copy2license script isn't picking up the dos line endings. Hopefully not a problem for anyone
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489760 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 20:56:04 +00:00
Henri Yandell
fca4623791
Applying the copy2license.pl script (with tiny modification to allow for more whitespace than it expects in the POI header) to all files. ant jar succeeds, and the svn diff has been verified by eye. Still more files to do, this is the first pass.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489730 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 19:18:16 +00:00
Nick Burch
f067316bb0
Try to work with files that don't have a master SlideListWithText, but go straight into a Slides one. Throw a better exception on slides with a mixed first SlideListWithText (see bug 41176 for more details)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@487182 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 11:50:54 +00:00
Nick Burch
5c5dcf0d4f
If we have a picture of type 0, don't even bother trying to create a PictureData object for it
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@487181 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 11:49:56 +00:00
Nick Burch
59a3012c86
Switch the position of one tag, so an older version of forrest likes it
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@486305 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 20:52:05 +00:00
Nick Burch
b2535a5b58
When sorting the contents of a directory, do so in a way that doesn't upset Excel when it comes to Macros. Correct logic from Bill, and fix+test from Yegor. See bug #39234
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@486265 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 18:21:41 +00:00
Nick Burch
3f3a52e12b
Support Excel files which contain a WORKBOOK entry, rather than the usual Workbook one. Fixes bug 40840
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@480987 13f79535-47bb-0310-9956-ffa450edef68
2006-11-30 16:15:55 +00:00
Nick Burch
f86c96a2ab
Support compressed pictures properly, from bug #41032
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@480585 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 14:49:40 +00:00
Nick Burch
5984e70059
Update from Yegor in bug 41046 - support background shapes and fills
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@480104 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 15:55:27 +00:00
Nick Burch
f09b28bcd5
Ditch a few calls to System.out, in favour of calls to POILogger
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@480102 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 15:54:39 +00:00
Nick Burch
0bf725ae46
Fix for bug 41015 - add in another paragraph property
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@480093 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 15:34:20 +00:00
Amol S. Deshmukh
aca2ade290
added amol to the list
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@480079 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 15:05:40 +00:00
Amol S. Deshmukh
b6d7c5ec34
superclass for logical functions
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@479294 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 06:15:17 +00:00
Amol S. Deshmukh
ae6f6b3d1a
updated to include additional tests for IF()
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@479293 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 06:14:54 +00:00
Amol S. Deshmukh
0bce29d37c
initial version
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@479290 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 06:14:11 +00:00
Amol S. Deshmukh
3cad882697
implemented IF() function
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@479289 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 06:13:29 +00:00
Amol S. Deshmukh
c2bd2b7b1c
added testcases for functions: if, islogical, isnontext, isnumber, isref, istext, left, right
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@479288 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 06:12:46 +00:00
Amol S. Deshmukh
ad43b3a7ab
replaced use of deprecated calls to get string value from cell
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@479287 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 06:11:36 +00:00
Amol S. Deshmukh
1fd5b611a3
Fixed:
...
1. evaluateInCell failed if the cell originally contained a numeric value
2. Sheet references were not handled correctly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@478367 13f79535-47bb-0310-9956-ffa450edef68
2006-11-22 23:12:06 +00:00
Amol S. Deshmukh
471bb226a4
removed use of deprecated calls to get the String value of a cell
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@477928 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 22:17:34 +00:00
Nick Burch
fd3bbdbd1c
Detect when the Current User stream is too short, and give a more helpful exception in that case
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@477162 13f79535-47bb-0310-9956-ffa450edef68
2006-11-20 12:26:51 +00:00
Nick Burch
23303f691f
Avoid an exception when getting the default bitmap image size on some JVMs
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@474253 13f79535-47bb-0310-9956-ffa450edef68
2006-11-13 11:13:55 +00:00
Nick Burch
59ced4d73e
Support for DIB picture types, from Bug 40740
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@464984 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 18:12:43 +00:00
Nick Burch
5f167f01b2
Support for Master Sheets from Yegor (bug 40753)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@464982 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 18:01:19 +00:00
Nick Burch
966759c29b
Don't depend on source files being utf8 for test to work
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@464977 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 17:52:18 +00:00
Nick Burch
353eafdd29
If we hit an unknown picture type, don't break completely - report an error but carry on without the picture
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@463202 13f79535-47bb-0310-9956-ffa450edef68
2006-10-12 11:26:05 +00:00
Nick Burch
ccc494626e
Fix for NPE in bug #40036 . The TextBox will still be fairly useless though
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@450097 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 15:53:21 +00:00
Nick Burch
9d50165790
FOP fix from bug #39086
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@450068 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 14:54:45 +00:00
Nick Burch
34878d8f01
From bug #38616 - support for extracting images from word files, plus tests for this
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@450066 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 14:46:39 +00:00
Nick Burch
31e27577bd
Don't just assume we'll only have container records for the shape's escher records
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@450057 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 14:14:59 +00:00
Nick Burch
93d416796d
Handle the case where a StyleTextPropAtom has a mask that codes for more properties than we have data for (+tests for this)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@449983 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 11:19:30 +00:00
Nick Burch
f038906105
Support alignment and indent levels for HSLF - patch from Yegor in bug #40324
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@448004 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 22:47:44 +00:00
Nick Burch
6e1236c74a
Improved picture support for HSLF, from Yegor in bug 40388
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@448001 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 22:37:38 +00:00
Nick Burch
79606540c1
Update a cvs link to an svn one
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@446566 13f79535-47bb-0310-9956-ffa450edef68
2006-09-15 10:22:19 +00:00
Jason Height
8d29205cbd
Bug 30635: getLastCellNum return last cell num + 1. Made this clear in javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@442183 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 11:34:49 +00:00
Jason Height
19ced80f3c
BUG 27496: get/setPageBreak and get/getColumnBreak now work correctly if a template excel file is loaded which does not contain PaneRecords is loaded.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@441652 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 21:09:48 +00:00
Amol S. Deshmukh
373e9d5613
replaced use of String.contains(..) with String.indexOf(..) >= 0 to make it JDK1.4 compatible
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@438085 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 14:50:39 +00:00
Jason Height
5e3eb6beff
Just removed a bunch of unused imports etc. Reduces eclipse warnings
...
Jason
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437998 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 07:47:00 +00:00
Jason Height
d22cec2588
bug 23631: support for getting the current pane information in excel
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437930 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 03:27:11 +00:00
Jason Height
2bbff11ea5
bug 31044: Corrected parsing of references which contain double sheet names ie 'Sheet 1'!F1:'Sheet 1'!F10.
...
Although i have hacked it a bit such that it gets translated to 'Sheet 1'!F1:F10
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437684 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 12:18:10 +00:00
Jason Height
1b451b3e8a
Bug 33736: Applied patch for Column Hiding. Thanks
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437526 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 04:44:32 +00:00
Jason Height
602869877e
Bug28755: CellReference will throws IllegalArgumentException when an illegal cell reference is provided.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437522 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 03:54:04 +00:00
Jason Height
bde0ed706b
Bug36646: Ret3dPtg to include quotes when sheetname contains a space.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437519 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 03:39:13 +00:00
Jason Height
d636083355
Hopefully fixed scratchpad test org.apache.poi.hssf/record/formula/functions/TestEverything.java from running out of memory and killing gump
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437486 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 00:31:36 +00:00
Jason Height
c522b4ff39
Removed EXPERIMENTAL indication on the formula support.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437371 13f79535-47bb-0310-9956-ffa450edef68
2006-08-27 12:03:14 +00:00
Jason Height
5d8423bd13
Added explicit RecordFormatException when a FilePass record (indicating that the workbook is encrypted) is encountered.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437370 13f79535-47bb-0310-9956-ffa450edef68
2006-08-27 12:00:36 +00:00
Jason Height
b5ad05cdd1
Bug 38796: Check for null in PageBreakRecord
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437368 13f79535-47bb-0310-9956-ffa450edef68
2006-08-27 11:17:22 +00:00
Jason Height
b0336924a4
Throw exception rather than returning NO IDEA SHARED FORMULA
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437265 13f79535-47bb-0310-9956-ffa450edef68
2006-08-27 01:04:53 +00:00
Jason Height
6e9b265462
Forgot to reset shared formula option during conversion
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437128 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 08:52:24 +00:00
Jason Height
76a2ebcf6e
Found a case where the shared formula does not resolve. This was in the test case for the org.apache.poi.hssf.record.formula.eval.TextEverything
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437126 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 08:23:22 +00:00
Jason Height
6759fe7790
bug 40285: Corrected index of CellIterator. In addition made CelIterator obey the Iterator contract wrt exceptions.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@436986 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 22:24:47 +00:00
Amol S. Deshmukh
c371aa983d
1. when formula parse fails, reported error now includes the "pointer"
...
2. added the case of interpreting a missing argument as MissingArgPtg
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@434426 13f79535-47bb-0310-9956-ffa450edef68
2006-08-24 16:42:52 +00:00
Amol S. Deshmukh
8a926c028c
test case that checks to see if a case of MissingArgsPtg in the formula string is handled correctly
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@434425 13f79535-47bb-0310-9956-ffa450edef68
2006-08-24 16:41:12 +00:00
Jason Height
3f82bd9b71
Bug: 40267 squashed.
...
Thanks Richard, good catch. Keep it up!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@432511 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 07:44:57 +00:00
Nick Burch
3ed8893246
Access to Saved By Information - patch from Trejkaz in bug #38647
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@431320 13f79535-47bb-0310-9956-ffa450edef68
2006-08-14 10:29:49 +00:00
Sean Sullivan
3e447c8572
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@430976 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 05:28:45 +00:00
Nick Burch
ec2a2ca3ca
Throw a more useful exception in the case of word95 documents
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@430365 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 12:20:24 +00:00
Nick Burch
b11c11fb65
If we're created with an InputStream, check to see if it's really RTF before proceeding
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@430363 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 12:12:27 +00:00
Amol S. Deshmukh
ab27ce3720
In setCellFormula(String) the Ptg stack in FormulaRecord is cleared before filling it with new values. Prior to this fix, repeated calls to setCellFormula would keep accumulating Ptgs in the stack although only the topmost "size" number of Ptgs would ever be used.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@430137 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 20:26:40 +00:00
Amol S. Deshmukh
c17abf116c
bugfix 38396: Exponential numbers are now handled by the formula parser
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@430132 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 20:03:36 +00:00
Nick Burch
15ab04860a
Tweak comments about needing to use svn version, and add pointer to unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@429316 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 12:28:15 +00:00
Jason Height
6c2dba2f3d
Made a bit of a meal out of the Shared formula patch, some of our test cases failed. Guess that is a good thing. Now working.
...
Committed patch provided in Bug 40024. Avik, sorry bet you to it.
Committed a patch to Bug 13249. HSSF will now raise an exception if a name is provided that is case-insensitive match to an existing name. In addition the getNameIndex now performs a case-insensitive search. This now matches excel behaviour.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@426082 13f79535-47bb-0310-9956-ffa450edef68
2006-07-27 14:15:11 +00:00
Jason Height
94429ddb32
SHARED FORMULA SUPPORT:
...
Implemented my long standing (but incomplete) patch attached to Bug 26502.
Now shared formula conversion is working. Tested against file attached to Bug 26502 and Bug 18311.
TestValueRecordAggregate fails with the patch at the moment, too tired to look at. Will do tomorrow.
Jason
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@425402 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 14:30:34 +00:00
Jason Height
79d49c2b67
Bug 17890: Corrected exception text for zero byte file.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@425384 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 12:19:31 +00:00
Jason Height
3ffa62ef21
Clean up of HSSFDataFormat. Whilst Bug 22456 was probably not an issue with the previous code, these changes are even better ;-) Squashing Bug 22456 now.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@425376 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 11:50:55 +00:00
Jason Height
4aea586fe5
Exception Chaining: Added support for java 1.4 style exception chaining. Believe that POI is targeted at 1.4 nowdays so this should not cause an issue.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@425026 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 12:40:25 +00:00
Jason Height
f20d43c9b3
Bug 38486: Added handling of special 0x40 (64 dec) color.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@425023 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 12:18:48 +00:00
Jason Height
8f60a2dbd8
Bug 26916: Corrected javadoc to indicate ArrayIndexOutOfBounds may be thrown.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@424685 13f79535-47bb-0310-9956-ffa450edef68
2006-07-23 06:46:06 +00:00
Nick Burch
9356b01d88
Yegor's TxMasterStyleAtom code from Bug #40057
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@423129 13f79535-47bb-0310-9956-ffa450edef68
2006-07-18 16:44:57 +00:00
Nick Burch
bc74b9a09f
Add lookups for the common text alignments
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@423127 13f79535-47bb-0310-9956-ffa450edef68
2006-07-18 16:25:20 +00:00
Nick Burch
774caa9892
Yegor's update from bug #39991 - better identification of what underlying picture data a picture object relates to
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@421843 13f79535-47bb-0310-9956-ffa450edef68
2006-07-14 09:18:44 +00:00
Nick Burch
e15bce1dd2
Expose the underlying TextRun
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@421555 13f79535-47bb-0310-9956-ffa450edef68
2006-07-13 09:24:39 +00:00
Nick Burch
c8b4f5798c
Add in a main() method, so people can stop moaning
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@421238 13f79535-47bb-0310-9956-ffa450edef68
2006-07-12 11:22:50 +00:00
Nick Burch
611a6f2fdd
Remove a bit of debug code
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@418856 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 21:27:09 +00:00
Nick Burch
519fa953c3
Get to a consistent indent
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@418849 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 20:59:09 +00:00
Nick Burch
9e077b9335
Yegor's Slide Title patch from bug 39948
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@418847 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 20:53:08 +00:00
Nick Burch
1ea2717c6f
Add correct detection for encrypted powerpoint files. An exception will be thrown if they are encountered.\n(As we don't know how the encryption is done, we can't do any decryption of these files)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@418842 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 20:34:41 +00:00
Nick Burch
ea6f9d9958
Add Nick and Yegor to the list
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@418721 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 09:28:11 +00:00
Nick Burch
9f3cfdce35
Support re-ordering of slides, now that we know how slider ordering works
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@418612 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 16:02:20 +00:00
Nick Burch
19894ffa53
Helper method for when moving stuff about in an array, plus test
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@418607 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 15:21:12 +00:00
Nick Burch
7175573d2f
Hopefully fix bug 39228 - big overhaul of how slides and notes are build, based on Yegor's discoveries. Hopefully, we now return the right slide #, and in the right order
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@417541 13f79535-47bb-0310-9956-ffa450edef68
2006-06-27 18:15:32 +00:00
Nick Burch
8514bc913e
Update Document to offer the SlideListWithTexts by name, and change addSlide to add to the right SlideListWithText. (Based on a bug, the number I don't have to hand, doh\!)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@417434 13f79535-47bb-0310-9956-ffa450edef68
2006-06-27 11:42:29 +00:00
Nick Burch
dc9721e77e
Add action for alpha 2 release
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@414867 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 17:41:12 +00:00
Nick Burch
0a800b06b4
Tweak rich text handling
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@414857 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 16:32:07 +00:00
Nick Burch
e3ba92ab99
On some JVMs, the problem family dialog has a capital D - change the skips to also skip on Dialog (should hopefully fix gump errors)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@414851 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 15:27:24 +00:00
Nick Burch
09d91e749f
On some JVMs, the problem family dialog has a capital D - change the skips to also skip on Dialog (should hopefully fix gump errors)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@414848 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 15:21:30 +00:00
Nick Burch
cbe41c08b1
Tweak comments
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@414846 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 15:03:01 +00:00
Nick Burch
19a3fe9265
Allow fetching and changing the character set, eg to support wingdings fonts (bug #39389 )
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@414842 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 14:48:09 +00:00
Nick Burch
afcd99d736
Fix for bug 39800 - if the Array size in the simple block doesn't inclde the size of the header, make a note of this, and do the same when we write back out
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413933 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 16:59:34 +00:00
Nick Burch
59ff1beb2b
Tests for new RichText code
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413914 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 14:58:46 +00:00
Nick Burch
053951da78
Refactor to allow easy testing of multiple files. Will enable a second file when bug #39800 is fixed
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413913 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 14:58:24 +00:00
Nick Burch
6f7e6cba29
Hopefully handle the building and using of RichTextRuns correctly. Should include proper handling of the +1 length in the styles (Bug 39177), and shared character/paragraph styles (Bugs 39547 and 38544)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413912 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 14:57:34 +00:00
Nick Burch
01f4fd56fe
Some PersistPtrHolders seem to reference records stored after them. Add a second pass to cope with these cases
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413911 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 14:54:52 +00:00
Nick Burch
f96f6cad16
Add a currently broken test, which highlights a bug (bug report to follow)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413893 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 13:19:14 +00:00
Nick Burch
6496f86c8c
Some initial changes that are needed to fix bug #38544
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413694 13f79535-47bb-0310-9956-ffa450edef68
2006-06-12 16:07:29 +00:00
Nick Burch
aebc06f029
New dev program for helping us understand how SlideListWithTexts interact
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413678 13f79535-47bb-0310-9956-ffa450edef68
2006-06-12 15:16:44 +00:00
Nick Burch
a12a110062
Add some comments to the code, to help understand why an extra +1 is added (based on discussions in bug #39177 )
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413671 13f79535-47bb-0310-9956-ffa450edef68
2006-06-12 14:45:07 +00:00
Nick Burch
2d3f5b568e
Make the output of the positions easier to understand
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413669 13f79535-47bb-0310-9956-ffa450edef68
2006-06-12 14:44:30 +00:00
Nick Burch
03ce1cdb81
Better handling of zero sized images, and where the picture stream doesn't have enough data left for a full header
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413658 13f79535-47bb-0310-9956-ffa450edef68
2006-06-12 14:06:08 +00:00
Nick Burch
04fba25bc3
Add a quick guide to using the text extractor and friends, since that's a common use
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@409632 13f79535-47bb-0310-9956-ffa450edef68
2006-05-26 10:43:42 +00:00
Nick Burch
5b6dec2579
Recurrant typo fix
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@409631 13f79535-47bb-0310-9956-ffa450edef68
2006-05-26 10:43:10 +00:00
Nick Burch
9dc69a14b3
Add test for empty constructor
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@405757 13f79535-47bb-0310-9956-ffa450edef68
2006-05-10 13:24:54 +00:00
Nick Burch
5d14b4debb
If given an empty (but not null) byte array to get a whole string from, return an empty string rather than an exception
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@405755 13f79535-47bb-0310-9956-ffa450edef68
2006-05-10 13:23:48 +00:00
Nick Burch
f80d4eadfa
Don't blindly cast children to FontEntityAtom
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@405381 13f79535-47bb-0310-9956-ffa450edef68
2006-05-09 10:47:22 +00:00
Nick Burch
e626f3ec08
Fixes from Yegor, from bug #39395
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@405092 13f79535-47bb-0310-9956-ffa450edef68
2006-05-08 16:43:11 +00:00
Rainer Klute
ad025884e4
Forgot to check in my nit-picking grammatical changes in comments.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@400278 13f79535-47bb-0310-9956-ffa450edef68
2006-05-06 09:56:19 +00:00
Rainer Klute
b495e0f3c4
Support for many, many character encodings added. Thanks to Trejkaz
...
<trejkaz @at@ trypticon.org> for the patch!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@400277 13f79535-47bb-0310-9956-ffa450edef68
2006-05-06 09:52:19 +00:00
Glen Stampoultzis
bea0a04d24
Support for line thicknes through escher graphics 2d interface.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@398044 13f79535-47bb-0310-9956-ffa450edef68
2006-04-29 00:18:16 +00:00
Glen Stampoultzis
6f7d2e3b76
Updated to support lines for the EscherGraphics2d draw() call.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@396821 13f79535-47bb-0310-9956-ffa450edef68
2006-04-25 09:36:39 +00:00
Nick Burch
ca716cdbe5
Tests to go with fix for bug 39374
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@395889 13f79535-47bb-0310-9956-ffa450edef68
2006-04-21 14:06:10 +00:00
Nick Burch
121902a2c7
Fix for bug 39374 - handle unicode text runs
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@395888 13f79535-47bb-0310-9956-ffa450edef68
2006-04-21 14:05:42 +00:00
Nick Burch
2e7eca951c
Tests for fixes associated with Bug 39324
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@395882 13f79535-47bb-0310-9956-ffa450edef68
2006-04-21 13:45:04 +00:00
Nick Burch
1af4f0ca39
Bug fix for newly created bitmask values (part of bug 39324). A few enhancements to make adding new TextPropCollections easier
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@395880 13f79535-47bb-0310-9956-ffa450edef68
2006-04-21 13:43:53 +00:00
Nick Burch
9122e79a49
When adding TextBoxes to a slide, make sure we update the PPDrawing's cache of TextboxWrappers
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@395879 13f79535-47bb-0310-9956-ffa450edef68
2006-04-21 13:41:56 +00:00
Sean Sullivan
5261314809
changed CVS references to Subversion
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@395766 13f79535-47bb-0310-9956-ffa450edef68
2006-04-21 03:31:42 +00:00
Nick Burch
85da377c7d
Test to ensure that when we add slides, we can write them back out and everything behaves
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@395280 13f79535-47bb-0310-9956-ffa450edef68
2006-04-19 15:43:06 +00:00
Nick Burch
4a27fd3c8a
Updated test from Yegor, to also test creating text boxes with properties
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@395219 13f79535-47bb-0310-9956-ffa450edef68
2006-04-19 11:41:27 +00:00
Sean Sullivan
52f147ce5d
eliminated usage of a deprecated method
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@394856 13f79535-47bb-0310-9956-ffa450edef68
2006-04-18 06:15:45 +00:00
Sean Sullivan
effa2052b4
eliminated usage of a deprecated method
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@394855 13f79535-47bb-0310-9956-ffa450edef68
2006-04-18 06:11:32 +00:00
Sean Sullivan
5b5ac869b3
fixed ArrayIndexOutOfBoundsException in the format(short, double) method
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@394843 13f79535-47bb-0310-9956-ffa450edef68
2006-04-18 05:21:06 +00:00
Nick Burch
1bb312f416
Updates from Yegor: New shape and picture stuff (see bug 39256)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@393576 13f79535-47bb-0310-9956-ffa450edef68
2006-04-12 18:48:53 +00:00
Nick Burch
9e9dc0e4d9
Add Yegor's documention on the Shapes and Pictures stuff
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@393575 13f79535-47bb-0310-9956-ffa450edef68
2006-04-12 18:47:44 +00:00
Nick Burch
b463116c03
PPT file where the slides are returned in the wrong order, from bug #39228
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@393555 13f79535-47bb-0310-9956-ffa450edef68
2006-04-12 18:04:05 +00:00
Nick Burch
5d5464b3ad
Tests to ensure that the StyleTextProp and RichText stuff plays nicely together
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@393553 13f79535-47bb-0310-9956-ffa450edef68
2006-04-12 18:01:11 +00:00
Nick Burch
4bc2ee40a8
Need right date in the test formatter
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@393552 13f79535-47bb-0310-9956-ffa450edef68
2006-04-12 18:00:38 +00:00
Nick Burch
4ef50e7e94
Fix bug #39177 - Last TextPropCollection needs a length 1 longer than the text that makes it up
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@393550 13f79535-47bb-0310-9956-ffa450edef68
2006-04-12 17:59:45 +00:00
Nick Burch
03a9571272
Bug fix for writing out the mask for BitMask properties
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@393549 13f79535-47bb-0310-9956-ffa450edef68
2006-04-12 17:59:03 +00:00
Nick Burch
9e06090a6e
Add a check that just opening a usermodel slidesheet on it doesn't break things
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@393497 13f79535-47bb-0310-9956-ffa450edef68
2006-04-12 16:31:34 +00:00
Nick Burch
0ce1e5a77c
Add constructors taking the main objects, rather than just input streams
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@391617 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 14:04:32 +00:00
Nick Burch
1e70a2efc7
Fix for 12 vs 24 hour times
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@391591 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 11:44:28 +00:00
Nick Burch
94ab8d0aff
More HPSF-related beautification
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@391590 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 11:43:40 +00:00
Rainer Klute
ff008b3ae9
HPSF-related beautification
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@391555 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 07:26:52 +00:00
Nick Burch
4850277501
Convert HWPFDocument to having POIDocument as its parent
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@391365 13f79535-47bb-0310-9956-ffa450edef68
2006-04-04 17:02:14 +00:00
Nick Burch
7fa4feb4bb
Create a new Superclass, POIDocument, which handles the property (hpsf) stuff which was previously done by HSLFSlideShow. Add tests for this, and convert HSLFSlideShow to using it
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@391363 13f79535-47bb-0310-9956-ffa450edef68
2006-04-04 16:50:04 +00:00
Nick Burch
59121bead0
Prevent infinite recursion (leading to stack overflow) on broken documents where a PAP claims to be its own parent
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@391084 13f79535-47bb-0310-9956-ffa450edef68
2006-04-03 16:46:01 +00:00
Nick Burch
b57714f465
Add more tests to ensure the IDs are still correct after writing out and reading back in again
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@389292 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 21:42:13 +00:00
Nick Burch
2dde4d5774
Fixes/Updates to tests to go with big change in how slides/notes are tied to their text
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@389287 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 21:36:00 +00:00
Nick Burch
5d1dd22d12
Big change in how we tie slides, notes, and their text together. Now make use of the RefID and SlideIndentifier values to pull everything together
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@389286 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 21:35:37 +00:00
Nick Burch
19ff07c8a6
Have more useful information on how the different IDs are used
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@389284 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 21:34:29 +00:00
Nick Burch
15eb02e851
From Bug 38544 - example ppt file where paragraph styles run out before char styles
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@389282 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 21:31:31 +00:00
Nick Burch
f2acaed7d3
Developer helper program to try to help match Slide IDs between SlidePersistAtoms and Slides
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@389234 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 19:42:13 +00:00
Nick Burch
b07df66836
More slide related tests
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388942 13f79535-47bb-0310-9956-ffa450edef68
2006-03-26 19:08:10 +00:00
Nick Burch
446971f3f4
Start to do more useful/sensible things with Slide IDs
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388941 13f79535-47bb-0310-9956-ffa450edef68
2006-03-26 19:07:52 +00:00
Nick Burch
903bbb2ba6
Tests for adding multiple slides
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388930 13f79535-47bb-0310-9956-ffa450edef68
2006-03-26 17:37:36 +00:00
Nick Burch
85b8807855
Fix for adding multiple slides
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388929 13f79535-47bb-0310-9956-ffa450edef68
2006-03-26 17:37:04 +00:00
Nick Burch
29a5b2b56b
Tests for patches from Yegor (Bug #39097 )
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388921 13f79535-47bb-0310-9956-ffa450edef68
2006-03-26 16:21:08 +00:00
Nick Burch
7067a15892
Patches from Yegor (Bug #39097 ), along with some sorting out of indenting, method positioning etc
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388920 13f79535-47bb-0310-9956-ffa450edef68
2006-03-26 16:20:08 +00:00
Rainer Klute
f213a74d5a
Added a reference to Wotsit's Format.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388403 13f79535-47bb-0310-9956-ffa450edef68
2006-03-24 06:18:45 +00:00
Nick Burch
32740c0bb7
Also grab text from CStrings, which will get Comments
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@387016 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 18:44:10 +00:00
Nick Burch
30cfb74730
Update docs with info on new code
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@387014 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 18:43:40 +00:00
Nick Burch
624aaabf09
Fix for adding slides to sheets which already have some - get the SlidePersistAtom correctly
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@387010 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 18:09:20 +00:00
Nick Burch
71eda449e6
Add Yegor's new slide functionality (see bug 38954), with a bit of refactoring
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@387009 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 17:54:17 +00:00
Nick Burch
a193016805
Add Yegor's new slide functionality (see bug 38954), with a bit of refactoring
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@387008 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 17:53:49 +00:00
Nick Burch
9cf5b40189
Tests for improved child record adding code
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386997 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 16:29:50 +00:00
Nick Burch
7222245b33
Improve the child record adding code
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386996 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 16:29:31 +00:00
Nick Burch
7cfd0162a7
Test for new Environment record
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386987 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 16:10:07 +00:00
Nick Burch
eb53534020
Add an Environment record, and make the code simpler
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386986 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 16:09:51 +00:00
Nick Burch
b7827f2687
Test for new Document record class
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386982 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 15:59:43 +00:00
Nick Burch
e76e2d8526
Create a Document record class, to do a lot of the common Document stuff for us
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386981 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 15:59:23 +00:00
Nick Burch
00011b1c8e
Tests to ensure we create empty StyleTextPropAtoms correctly
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386976 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 14:52:41 +00:00
Nick Burch
40dc76c0cf
Create empty StyleTextPropAtoms correctly
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386975 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 14:52:23 +00:00
Nick Burch
8b1721c749
Tests for getting and changing the font of a rich text run
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386873 13f79535-47bb-0310-9956-ffa450edef68
2006-03-18 18:56:38 +00:00
Nick Burch
7ce58ff9d1
Support for getting and changing the font of a rich text run
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386872 13f79535-47bb-0310-9956-ffa450edef68
2006-03-18 18:56:26 +00:00
Nick Burch
d3a66fae07
Tests for creating a new Comment2000 record
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@385356 13f79535-47bb-0310-9956-ffa450edef68
2006-03-12 19:19:18 +00:00
Nick Burch
637078aca3
Support for creating a new Comment2000 record
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@385355 13f79535-47bb-0310-9956-ffa450edef68
2006-03-12 19:18:59 +00:00
Rainer Klute
bb7ebd3492
* Writing support added to the SummaryInformation and DocumentSummaryInformation classes. These classes now have methods for setting and removing properties. Coherent extensions are:
...
** Documentation section about writing standard properties added to the HPSF HOW-TO.
** Example application added showing how to modify the document summary information.
** Testcases added for testing modifying summary information and document summary information.
** PropertySetFactory extended to create SummaryInformation and DocumentSummaryInformation instances.
* Added MutablePropertySet.write(DirectoryEntry, String) to ease writing a property set to a POI filesystem document.
* Improved codepage handling.
* Bug fixed: Integral values were read and written as unsigned instead of signed.
* Reworked the mapping between variant types and Java types: Variant.VT_I4 is mapped to Integer now and Variant.VT_I8 to Long. This might cause incompatibilities if you are doing low-level HPSF programming.
* Changed SectionIDMap.DOCUMENT_SUMMARY_INFORMATION_ID from a byte[] to a byte[][] in order to contain the format ID of the first and the second section. This is an incompatible change!
* Added PropertySet.getFirstSection(). This method is similar to getSingleSection() won't choke if the property set has more than one section.
* Support for low-level reading and writing of Variant.VT_I8 type properties added.
* Unnecessary casts removed.
* Poibrowser's display format changed slightly.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@382887 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 16:57:55 +00:00
Nick Burch
a7f8720bad
Finish Comment2000Atom support
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381168 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 20:52:54 +00:00
Nick Burch
cf9efc65f2
Finish Comment2000Atom support
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381167 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 20:52:42 +00:00
Nick Burch
e27f1f5e98
Tests for Atom for 2000/XP style comments
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381153 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 20:10:29 +00:00
Nick Burch
3d326684a4
Atom for 2000/XP style comments
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381152 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 20:10:05 +00:00
Nick Burch
c0f9638b82
Add support for converting to/from SYSTEMTIME dates
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381144 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 19:54:12 +00:00
Nick Burch
150ebbe994
Add support for converting to/from SYSTEMTIME dates
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381143 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 19:54:02 +00:00
Nick Burch
66e8e1b165
Do the javadoc comment correctly
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377448 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 18:22:55 +00:00
Nick Burch
85610bdb25
Update scratchpad link, and mention extractor for hwpf
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377382 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 14:09:03 +00:00
Nick Burch
1e6596b0e0
Friendly wrapper on HWPF for extracting text from Word Documents
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377372 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 12:59:00 +00:00
Nick Burch
c7793b1b6d
Friendly wrapper on HWPF for extracting text from Word Documents
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377371 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 12:58:52 +00:00
Nick Burch
dde8b84f03
Start to support friendly usermodel interface to rich text character properties
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377216 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 19:01:16 +00:00
Nick Burch
4554ecffdf
Start to support friendly usermodel interface to rich text character properties
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377215 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 19:01:07 +00:00
Nick Burch
8d1355745b
More rich text work
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377170 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 12:56:33 +00:00
Nick Burch
93cac8b323
More rich text work
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377169 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 12:56:26 +00:00
Rainer Klute
3dae9ee8ef
Replaced "CVS" in the top-lvel files by "Subversion".
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@376062 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 20:50:58 +00:00
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