Commit Graph

2364 Commits

Author SHA1 Message Date
Josh Micich
6527e63ed1 Fix for bug 30978 - small re-arrangement of class Ptg hierarchy for DeletedRef3DPtg and DeletedArea3DPtg. Similar to c664220
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@669809 13f79535-47bb-0310-9956-ffa450edef68
2008-06-20 07:10:03 +00:00
Josh Micich
c02655d884 Fix for bug 45234 - Removed incorrect shared formula conversion in CFRuleRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@669658 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 19:07:20 +00:00
Nick Burch
501c3b258a Improved HWPF Range.replaceText, from N. Hira in bug #45001
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@669456 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 11:47:48 +00:00
Nick Burch
8a92f65d09 A partial fix for bug #30978, but something still remains, which seems to be related to changing the ptg
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@669140 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 11:35:04 +00:00
Yegor Kozlov
5fecdc61aa patch from bug #45177: Remove GPL reference in NOTICE
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@668259 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 18:40:51 +00:00
Yegor Kozlov
c2341a72db TextShape.getMarginLeft() returned incorrect value. Added a unit test for text margins.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@668257 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 18:38:59 +00:00
Nick Burch
895d30e055 Make the test related to bug #30978, which shows that named ranges pointing to deleted sheets is ok, more complete
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@668155 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 13:39:44 +00:00
Nick Burch
acfbb1648c Slight tweak for named ranges pointing at deleted sheets, related to bug #30978
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@668153 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 13:20:42 +00:00
Nick Burch
7cf39af9a2 Unit test from bug #45001, and new replaceText method (no test yet)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@668143 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 12:49:55 +00:00
Josh Micich
473ac7ad05 added extra RVA test case (for bug 45206)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@668014 13f79535-47bb-0310-9956-ffa450edef68
2008-06-15 22:26:06 +00:00
Yegor Kozlov
e1de21bc09 bug#44692 - Fixed HSSFPicture.resize() to properly resize pictures if the underlying columns/rows have modified size
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@664515 13f79535-47bb-0310-9956-ffa450edef68
2008-06-08 15:31:05 +00:00
Yegor Kozlov
3cbc6fc52a expose access to OEPlaceholderAtom so that users can determine whether a shape represents ppt placeholder (date/time, footer or slide number)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@664493 13f79535-47bb-0310-9956-ffa450edef68
2008-06-08 12:37:39 +00:00
Yegor Kozlov
4360c3607d Fixed TextShape.resizeToFitText() to properly resize TextShape. See patch#45140
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@664492 13f79535-47bb-0310-9956-ffa450edef68
2008-06-08 12:32:10 +00:00
Yegor Kozlov
d2445ee652 Support custom image renderers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@664491 13f79535-47bb-0310-9956-ffa450edef68
2008-06-08 12:31:19 +00:00
Yegor Kozlov
a0e68a7530 Correctly increment the reference count of a blip when a picture is inserted
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@664490 13f79535-47bb-0310-9956-ffa450edef68
2008-06-08 12:30:25 +00:00
Josh Micich
8eaa48315f Fix for bug 45091 - serialization of RefN~ tokens. Simplified Ptg class hierarchy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@664220 13f79535-47bb-0310-9956-ffa450edef68
2008-06-07 00:53:01 +00:00
Josh Micich
bade69a176 Fix for 45133 - OBJ Record (5Dh) needs to pad the sub-record data to a 4-byte boundary
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@663855 13f79535-47bb-0310-9956-ffa450edef68
2008-06-06 08:32:54 +00:00
Josh Micich
f35ba1b1cd Fix for bug 45145 - made sure RowRecordsAggregate comes before ValueRecordsAggregate. Also fixed BiffViewer to show correct record offsets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@663765 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 22:24:05 +00:00
Josh Micich
c79342aeac Fix for bug 45123 - SharedFormulaRecord.convertSharedFormulas was ignoring token operand classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@663436 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 03:12:35 +00:00
Josh Micich
0a7d160ab9 Test code clean-up (prior to bug 45126)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@663322 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 17:37:18 +00:00
Nick Burch
50d81039da Fix bug #45087 - Correctly detect date formats like [Black]YYYY as being date based
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@660889 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 10:03:00 +00:00
Yegor Kozlov
81f384dabf bump 3.1-beta2 announcement
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@660834 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 06:50:35 +00:00
Josh Micich
a811443b4b Fix for 45060 (and 45041) - Improved token class transformation during formula parsing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@660828 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 06:19:31 +00:00
Nick Burch
1afa028f34 X, Y, Width and Height getters/setters on HSSFChart
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@660474 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 11:44:49 +00:00
Josh Micich
4f1853e01c Changed class hierarchy of Ptg to improve 'operand class' transformation.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@660344 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 00:57:23 +00:00
Josh Micich
a8a033be8c Added test cases for parsing IF expressions. Segregated IF test cases into a new class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@660280 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26 19:36:56 +00:00
Josh Micich
5ffa668496 Small fix for FormulaParser. Need case-insentive match for IF function name
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@660263 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26 18:25:02 +00:00
Josh Micich
94c7876f74 Follow-on fix for bug 42564 (r653668). Array elements are stored internally column by column.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@660256 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26 18:02:23 +00:00
Nick Burch
bdf210f9ee Help for bug #44840 - Improved handling of HSSFObjectData, especially for entries with data held not in POIFS
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@659575 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 15:55:08 +00:00
Nick Burch
6eb311672a File with checkboxes, from bug #44840
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@659573 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 15:24:25 +00:00
Nick Burch
f601b0899a Patch from Yury, plus tests, from bug #45043 - Support for getting excel cell comments when extracting text
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@659572 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 15:22:18 +00:00
Nick Burch
8ef6b8561d Extend the support for specifying a policy to HSSF on missing / blank cells when fetching, to be able to specify the policy at the HSSFWorkbook level
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@659525 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 12:58:56 +00:00
Josh Micich
9b8395dd61 Fix for bug 35925 - Missing HSSFColor.TAN from HashTables returned by getIndexHash() and getTripletHash()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@659478 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 08:55:48 +00:00
Josh Micich
172db6a58e Marked out test failure which was fixed by patch for bug 39903
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@659462 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 07:42:14 +00:00
Josh Micich
a4aab681a7 Bug 45025 - improved FormulaParser parse error messages (r659452 had wrong bug number)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@659455 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 06:54:46 +00:00
Josh Micich
dc3f6b36b8 Bug 45041 - improved FormulaParser parse error messages
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@659452 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 06:43:51 +00:00
Josh Micich
143128be30 Fix for bug 45046 - allowed DEFINEDNAME records without EXTERNALBOOK records
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@659429 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 05:28:54 +00:00
Josh Micich
4273046fca Fix for 45066 - sheet encoding size mismatch problems
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@659403 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 03:56:31 +00:00
Nick Burch
a80e988e41 Example for finding hslf sounds from Yegor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@659067 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 09:51:44 +00:00
Josh Micich
30faafa87e Follow on from bug 44675 - regenerated functionMetadata.txt from new ooo excelfileformat.odt
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658986 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 03:26:25 +00:00
Josh Micich
d3ee29261c Fixed compiler errors. Other improvements for type safety and immutability.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658984 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 03:00:29 +00:00
Josh Micich
b1ad25f7e3 improved toString and refactored toFormulaString on Area(3D)Ptg
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658833 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 19:57:40 +00:00
Nick Burch
15db21d326 Patch from bug #45003 - Support embeded HDGF visio documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658352 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 17:17:16 +00:00
Nick Burch
e09c35f448 Put abstract write(OutputStream) method on POIDocument
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658350 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 17:12:08 +00:00
Nick Burch
ee4ba764b7 Patch from bug #45001 - Partial fix for HWPF Range.insertBefore() and Range.delete() with unicode characters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658349 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 16:57:20 +00:00
Nick Burch
a4f9eb9543 Test which seems to show that bug #44996 is invalid, but not completely sure
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658336 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 16:51:49 +00:00
Nick Burch
748647c9c0 Fix bug #44977 - Support for AM/PM in excel date formats
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658322 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 16:37:15 +00:00
Nick Burch
e548591e87 Support for specifying a policy to HSSF on missing / blank cells when fetching
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658308 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 16:30:19 +00:00
Nick Burch
2e633955d9 Patch from bug #44937 from Squeeself- Partial support for extracting Escher images from HWPF files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658302 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 16:01:53 +00:00
Nick Burch
1747a02fa7 Fix #44824 - Avoid an infinite loop when reading some HWPF pictures
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658287 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 15:46:54 +00:00