Commit Graph

1043 Commits

Author SHA1 Message Date
Josh Micich
b2988b3666 Made RecordInputStream final (major clean-up in test cases and BiffViewer)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@703596 13f79535-47bb-0310-9956-ffa450edef68
2008-10-10 22:59:14 +00:00
Josh Micich
b86b4b5ef2 Fix for bug 45964 - support for link formulas in Text Objects
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@703302 13f79535-47bb-0310-9956-ffa450edef68
2008-10-10 00:40:58 +00:00
Josh Micich
d9075bc8dc Removed last occurrences of storing Ptg arrays in Stacks. Some related clean-up.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@703100 13f79535-47bb-0310-9956-ffa450edef68
2008-10-09 08:33:54 +00:00
Josh Micich
dbc713e083 converted short HSSFCell.getCellNum to int getColumnIndex
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@703092 13f79535-47bb-0310-9956-ffa450edef68
2008-10-09 07:44:37 +00:00
Josh Micich
972ec9b0f5 Performance optimisation for EvaluationCache. Changed to use HSSFCell as key into cache entry map. Reduced dependency information storage for blank cells. Introduced EvaluationSheet and EvaluationCell interfaces. Modified HSSFFormulaEvaluator API to have simpler notify~ methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@703063 13f79535-47bb-0310-9956-ffa450edef68
2008-10-09 06:07:36 +00:00
Josh Micich
aadfcbcb2b Fix for 43354 - made the formula evaluator capable of handling missing function arguments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@702231 13f79535-47bb-0310-9956-ffa450edef68
2008-10-06 19:13:41 +00:00
Josh Micich
7eb34c0e77 Fixing comments and formatting inside Record subclasses
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@701756 13f79535-47bb-0310-9956-ffa450edef68
2008-10-05 07:22:12 +00:00
Josh Micich
9897317e8e Better bounds checking in RecordInputStream. Removed rarely used methods readShortArray and putShortArray
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@701747 13f79535-47bb-0310-9956-ffa450edef68
2008-10-05 04:43:48 +00:00
Josh Micich
4bf266b1c7 changed workbook reference to index in CellLocation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@701598 13f79535-47bb-0310-9956-ffa450edef68
2008-10-04 04:59:26 +00:00
Josh Micich
d0850e433e Fix for bug 45912 - ArrayIndexOutOfBoundsException in EmbeddedObjectRefSubRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@701569 13f79535-47bb-0310-9956-ffa450edef68
2008-10-03 23:50:22 +00:00
Josh Micich
125d197e1b Fixed bug in CellCacheEntry (support for caching blank evaluation results)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@700916 13f79535-47bb-0310-9956-ffa450edef68
2008-10-01 20:56:21 +00:00
Yegor Kozlov
2c0c9b6d8b reverted the change made in r693085 , see bug #45859
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@700479 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 14:32:37 +00:00
Josh Micich
f30070f18a Refactored fillFields() method into constructor in Record class hierarchy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@700356 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 06:18:44 +00:00
Josh Micich
fa90245b96 Removed validateSid method from Record classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@700327 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 02:30:53 +00:00
Josh Micich
d683ddaa80 Updated formula evaluator documentation due to bugzilla 45768
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@700304 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 23:12:53 +00:00
Josh Micich
d3acb15f3d Fix for bug 45876 - allowed BoundSheetRecord to take sheet names longer than 31 chars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@700280 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 22:04:20 +00:00
Josh Micich
382ccf456f Should have been submitted with c700203 (Refactoring row-blocks record reading logic in Sheet)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@700204 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 18:48:43 +00:00
Josh Micich
655f100a6c Refactoring row-blocks record reading logic in Sheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@700203 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 18:43:53 +00:00
Josh Micich
799cc2760a Fix for bug 45890 - made HSSFSheet.shiftRows also update conditional formats
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@700005 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 07:27:14 +00:00
Josh Micich
19aa351cdc Bug 45865 - modified Formula Parser/Evaluator to handle cross-worksheet formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@699761 13f79535-47bb-0310-9956-ffa450edef68
2008-09-28 02:04:31 +00:00
Josh Micich
b1f74040ad Fix formula parser to properly support the range operator. Small fixes to parsing of sheet names and full column references.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@699487 13f79535-47bb-0310-9956-ffa450edef68
2008-09-26 20:25:45 +00:00
Josh Micich
da8c3b0dab Changed HSSFEvaluationWorkbook to avoid re-parsing cell formulas during execution. (working towards fix for bug 45865)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@699178 13f79535-47bb-0310-9956-ffa450edef68
2008-09-26 04:49:20 +00:00
Josh Micich
2a9b94d931 Optimised the FormulaEvaluator to take cell dependencies into account
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@698047 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23 00:40:22 +00:00
Josh Micich
8791b1662d Some clean-up in BoundSheetRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@698039 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 23:43:50 +00:00
Nick Burch
7d3c21b826 Apply part of patch from bug #16936, with the rest made more HSSFCell like - Initial support for whole-row cell styling
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@697599 13f79535-47bb-0310-9956-ffa450edef68
2008-09-21 19:50:21 +00:00
Nick Burch
fdc39d48a7 Update hssf.extractor.ExcelExtractor to optionally output blank cells too
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@697589 13f79535-47bb-0310-9956-ffa450edef68
2008-09-21 19:17:41 +00:00
Nick Burch
0c6a274259 Test to show that bug #45492 is invalid
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@697584 13f79535-47bb-0310-9956-ffa450edef68
2008-09-21 18:56:32 +00:00
Nick Burch
63445ee99f Include the sheet name in the output of examples.XLS2CSVmra
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@697580 13f79535-47bb-0310-9956-ffa450edef68
2008-09-21 18:43:49 +00:00
Nick Burch
5ceb0327e5 Fix bug #45784 - Support long chart titles in SeriesTextRecords
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@697562 13f79535-47bb-0310-9956-ffa450edef68
2008-09-21 17:49:20 +00:00
Nick Burch
cb4c63a2bc Fix bug #45777 - Throw an exception if HSSF Footer or Header is attemped to be set too long, rather than having it break during writing out
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@697559 13f79535-47bb-0310-9956-ffa450edef68
2008-09-21 17:38:39 +00:00
Josh Micich
75d690025c Some clean-up after r696898 (partitioning common formula logic). Fixed compiler error in example XLS2CSVmra
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@697145 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 16:34:21 +00:00
Josh Micich
0ddb062fb9 Partitioning common formula logic. Introduced FormulaParsingWorkbook and EvaluationWorkbook interfaces to make merge with ooxml branch easier
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696898 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 02:19:58 +00:00
Josh Micich
26b458016e code clean-up (removed compiler warnings/unused methods)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696860 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 00:02:21 +00:00
Josh Micich
c5a00d78c9 Partitioning common formula logic. Introduced FormulaRenderingWorkbook interface to make merge with ooxml branch easier
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696813 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 21:22:23 +00:00
Yegor Kozlov
ad53043dcf fixed bug #45829: HSSFPicture.getImageDimension() fails when DPI of image is zero
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696622 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 10:28:24 +00:00
Josh Micich
59311a17e8 Small tweak to NamePtg and Ref3DPtg
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696501 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 22:35:09 +00:00
Josh Micich
63755a491e Reverting method name change. Taking a risk on breaking binary compatibility for method HSSFSheet. getDefaultColWidth() (follow-on from r696075 / bug 45805)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696084 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 21:56:36 +00:00
Josh Micich
fface3d680 Fix for bug 45805 - 16-bit signed/unsigned problems in HSSFSheet.getColWidth() etc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696075 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 21:38:47 +00:00
Josh Micich
4a19202aae Fix for bug 45780 - update area refs during HSSFSheet.shiftRows()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696038 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 20:17:30 +00:00
Nick Burch
b2b3ede54d Make MissingCellPolicy javadocs even more explicit about iterators, as people seem not to quite get it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@695621 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 20:58:30 +00:00
Nick Burch
c97ad3dc7b Finish exposing the name of Named Cell Styles via HSSFCellStyle (normally held on the parent style though)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@695420 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 11:02:18 +00:00
Nick Burch
3f5aedbcc8 Make a start on exposing the StyleRecord details into HSSFCellStyle, but not fully there yet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@695303 13f79535-47bb-0310-9956-ffa450edef68
2008-09-14 22:19:06 +00:00
Josh Micich
ce31d8d259 Fix for bug 45978 - removed eager initialisation of SheetReferences
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@695264 13f79535-47bb-0310-9956-ffa450edef68
2008-09-14 18:55:28 +00:00
Nick Burch
5058c1f492 Replace some model.Sheet references with usermodel.HSSFSheet ones, to make more in keeping with xssf, and make merges easier
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694946 13f79535-47bb-0310-9956-ffa450edef68
2008-09-13 13:46:45 +00:00
Nick Burch
592729a165 Slight tidy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694939 13f79535-47bb-0310-9956-ffa450edef68
2008-09-13 13:30:52 +00:00
Josh Micich
0c881e7c99 Added toString methods formatAsString to CellValue. Changed deprecation on CellValue.getRichTextStringValue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694881 13f79535-47bb-0310-9956-ffa450edef68
2008-09-13 05:43:41 +00:00
Josh Micich
a0769d4082 Refactored TextFunctions. Some minor fixes - test cases added.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694877 13f79535-47bb-0310-9956-ffa450edef68
2008-09-13 05:14:26 +00:00
Josh Micich
324d79a0ba Made HSSFFormulaEvaluator no longer require initialisation with sheet or row.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694643 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12 08:18:54 +00:00
Josh Micich
0799612198 Extended support for cached results of formula cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694631 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12 07:43:20 +00:00
Josh Micich
c66701312b clarification of ArrayPtg size increment
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694620 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12 07:03:00 +00:00