Commit Graph

1822 Commits

Author SHA1 Message Date
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
Mark Emlyn David Thomas
2cb1104d9a Add svn properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@497268 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 00:38:57 +00:00
Mark Emlyn David Thomas
2919b23f00 Remove copyright since it is now in NOTICE file and add XML declaration
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@497267 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 00:37:19 +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
Andrew C. Oliver
a414926ecf added a single space in an irrelevant place
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496940 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 06:10:04 +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
3a3f5f5de3 Add standard svn properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496330 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 14:34:55 +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
Mark Emlyn David Thomas
e2f0395b1d Add standard svn properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496325 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 14:19:03 +00:00
Mark Emlyn David Thomas
19ef785ba8 Remove copyright notice - it is now in the notice file.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496307 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 13:16:45 +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
7b27f8375e add license to build file
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@491787 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 12:50:54 +00:00