summaryrefslogtreecommitdiffstats
path: root/src/ooxml
Commit message (Collapse)AuthorAgeFilesLines
* 1. included ooxml javadocs in build.xml2. added a new rich example: ↵Yegor Kozlov2008-11-065-54/+48
| | | | | | BusinessPlan.java3. misc bug fixes git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@711839 13f79535-47bb-0310-9956-ffa450edef68
* Fixed compilation error introduced in r708982Josh Micich2008-10-301-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@709260 13f79535-47bb-0310-9956-ffa450edef68
* applied patches #46119, #46120 and #46078 by Gizella BronzettiYegor Kozlov2008-10-3010-20/+278
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@709126 13f79535-47bb-0310-9956-ffa450edef68
* more cleanup and refactoring of ooxml code,added more unit test and 3 rich ↵Yegor Kozlov2008-10-2923-438/+593
| | | | | | examples: LoanCalculator, CalendarDemo and TimesheetDemo, numerous odds and ends improvements git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@708982 13f79535-47bb-0310-9956-ffa450edef68
* belongs to r708506Yegor Kozlov2008-10-281-123/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@708509 13f79535-47bb-0310-9956-ffa450edef68
* moved FontUnderline to interfaces-jdk15Yegor Kozlov2008-10-281-0/+121
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@708506 13f79535-47bb-0310-9956-ffa450edef68
* 1. moved ooxml enums into interfaces-jdk15, they are common and should be in ↵Yegor Kozlov2008-10-2849-881/+190
| | | | | | the place as the interfaces 2. removed obsolete and deprecated classes 3. Fixed XSSFWorkbook.cloneSheet. Now it makes a 'true' deep copy of a sheet 4. ooxml has a compile-time dependency on scratchpad, fixed build.xml to reflect that git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@708497 13f79535-47bb-0310-9956-ffa450edef68
* improved XSSFName:check for name uniqueness, validate name name, more unit ↵Yegor Kozlov2008-10-275-82/+321
| | | | | | tests and javadocs git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@708306 13f79535-47bb-0310-9956-ffa450edef68
* applied patches #46079, #46080 and #46081 by Gisella BronzettiYegor Kozlov2008-10-254-194/+371
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@707843 13f79535-47bb-0310-9956-ffa450edef68
* more cleanup and refactoring of the ooxml code:1. removed deprecated methods ↵Yegor Kozlov2008-10-2531-511/+441
| | | | | | | | | | from xssf and interfaces 2. minimized the accessibility of internal constructors 3. more javadocs git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@707839 13f79535-47bb-0310-9956-ffa450edef68
* 1. important algorithmic improvements of XSSFRow and XSSFSheet, removed ↵Yegor Kozlov2008-10-239-622/+1081
| | | | | | | | | | LinkedList in favor of TreeMap, that allowed O(Log(N)) performance instead of O(N) when adding new rows and cells2. Revised cell value accessors in XSSFCell. Now both HSSF and XSSF handle various cell types equally. The same exceptions are thrown in case of type mismatch, same behaviour when setting nulls, etc. 3. Moved FormulaError codes out of the Cell interface into enum. Interface isn't a proper place for it 4. Finally finished javadoc on XSSFRow and XSSFCell git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@707445 13f79535-47bb-0310-9956-ffa450edef68
* 1. implemented XSSFSheet.autosizeColumn(), for now mostly duplicated HSSF ↵Yegor Kozlov2008-10-2122-294/+446
| | | | | | | | code, will be refactored in future.2. fixed bug #45974: XSSFCell.getCellStyle can return null3. more code cleanup and reaftoring, removed usages of obsolete XSSFCell.getCellNum() in favor of XSSFCell.getColumnIndex(), also more javadoc in core classes 4. fixed a blocker: calling XSSFSheet.getNumMergedRegions() resulted in unreadable workbook, this methods structurally modified worksheet and added unnecessary data git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@706691 13f79535-47bb-0310-9956-ffa450edef68
* cleanup of POIXMLDocument constructors and related sub-classesYegor Kozlov2008-10-195-85/+108
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@706032 13f79535-47bb-0310-9956-ffa450edef68
* more code cleanup and refactoring: (a) removed references to ooxml schemas ↵Yegor Kozlov2008-10-1934-936/+733
| | | | | | | | | | from XSSF enums, they should not depend on ooxml-schemas.jar (b) removed "for testing only" constructors, the goal is to have a single, maximum 2 constructors for objects inherited from POIXMLDocumentPart (c) more javadocs git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@706003 13f79535-47bb-0310-9956-ffa450edef68
* applied patch #46003 by Gisella BronzettiYegor Kozlov2008-10-173-67/+340
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@705701 13f79535-47bb-0310-9956-ffa450edef68
* applied patches #46004 and #46006 submitted by Gisella BronzettiYegor Kozlov2008-10-174-59/+241
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@705684 13f79535-47bb-0310-9956-ffa450edef68
* more progress on SpreadsheetML drawing layer;finished XSSFPicture, ↵Yegor Kozlov2008-10-1727-395/+1207
| | | | | | auto-sizing is supported; implemented initial support for shape groups. Common HSSF-XSSF drawing interfaces are still TODO. git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@705638 13f79535-47bb-0310-9956-ffa450edef68
* refactored POIXMLFactory and related classes; simplified XSSFRelation - now ↵Yegor Kozlov2008-10-1210-335/+197
| | | | | | it's just a set of definitions of XSSF relations, all read/load stuff is not used anymore and was removed. Also, removed Workbook.getCustomPallete() - it's OLE-specific git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@703814 13f79535-47bb-0310-9956-ffa450edef68
* applied patch #45967 by Gisella Bronzetti: support for XSSFPrintSetup objectYegor Kozlov2008-10-1211-29/+910
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@703778 13f79535-47bb-0310-9956-ffa450edef68
* Initial support for SpreadsheetML drawings,implemented XSSFPicture, added ↵Yegor Kozlov2008-10-1023-181/+1712
| | | | | | ability to add pictures to workbook, refactored XSSFPictureData to be a subclass of POIXMLDocumentPart. Also refactored misc odds and ends in order to produce xml better compatible with what MS Office produces git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@703490 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 703092 via svnmerge from Josh Micich2008-10-093-4/+21
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/poi/trunk ........ r703092 | josh | 2008-10-09 00:44:37 -0700 (Thu, 09 Oct 2008) | 1 line converted short HSSFCell.getCellNum to int getColumnIndex ........ git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@703096 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 703063 via svnmerge from Josh Micich2008-10-094-18/+158
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/poi/trunk ........ r703063 | josh | 2008-10-08 23:07:36 -0700 (Wed, 08 Oct 2008) | 1 line 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/branches/ooxml@703083 13f79535-47bb-0310-9956-ffa450edef68
* applied patch #45492 submitted by Gisella Bronzetti,also performed major ↵Yegor Kozlov2008-10-0516-752/+2163
| | | | | | cleanup of StylesTable and its components, the goal was to ensure that StylesTable works as a cache of styling components, not just a regular store of fill patterns and cell styles. git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@701797 13f79535-47bb-0310-9956-ffa450edef68
* applied patches provided by Gisella Bronzetti in bugs #45918, #45917 and #45920Yegor Kozlov2008-10-016-634/+1051
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@700844 13f79535-47bb-0310-9956-ffa450edef68
* iterator over sheet data in XSSFReader returns sheets in logical order, ↵Yegor Kozlov2008-10-012-113/+202
| | | | | | i.e. as they are defined in workbook.xml (was in physical order, as they were stored in the relationship table) git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@700821 13f79535-47bb-0310-9956-ffa450edef68
* refactored POIXMLDocument to be a composite of POIXMLDocumentPart, this way ↵Yegor Kozlov2008-09-3025-2255/+3021
| | | | | | | | XSSFWorkbook is a root of a tree: XSSFSheets are children, XSSFDrawings are children of worksheets, etc, Also, performed major cleanup of core XSSF classes and test cases git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@700472 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 699178,699487,699489,699761 via svnmerge from Josh Micich2008-09-291-12/+9
| | | | | | | | | | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/poi/trunk ........ r699178 | josh | 2008-09-25 21:49:20 -0700 (Thu, 25 Sep 2008) | 1 line Changed HSSFEvaluationWorkbook to avoid re-parsing cell formulas during execution. (working towards fix for bug 45865) ........ r699487 | josh | 2008-09-26 13:25:45 -0700 (Fri, 26 Sep 2008) | 1 line Fix formula parser to properly support the range operator. Small fixes to parsing of sheet names and full column references. ........ r699489 | josh | 2008-09-26 13:32:06 -0700 (Fri, 26 Sep 2008) | 1 line Code cleanup in junit ........ r699761 | josh | 2008-09-27 19:04:31 -0700 (Sat, 27 Sep 2008) | 1 line Bug 45865 - modified Formula Parser/Evaluator to handle cross-worksheet formulas ........ git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@700234 13f79535-47bb-0310-9956-ffa450edef68
* Cleaned up test codeJosh Micich2008-09-291-80/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@699991 13f79535-47bb-0310-9956-ffa450edef68
* Clean-up of generics in XSSFRelationJosh Micich2008-09-293-2121/+2168
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@699990 13f79535-47bb-0310-9956-ffa450edef68
* Applied patch 45899 - XSSFWorkbook getActiveSheetIndex / setActiveSheetJosh Micich2008-09-294-44/+62
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@699989 13f79535-47bb-0310-9956-ffa450edef68
* Applied patch 45898 - fixed XSSFCellFill getFillBackgroundColor and ↵Josh Micich2008-09-295-1061/+1100
| | | | | | getFillForegroundColor to not throw NPE if fill has not been set. Some other code clean up. git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@699984 13f79535-47bb-0310-9956-ffa450edef68
* applied patches #45894 and #45892, also major cleanup of XSSFSheet and ↵Yegor Kozlov2008-09-2612-267/+657
| | | | | | related classes git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@699185 13f79535-47bb-0310-9956-ffa450edef68
* misc ooxml improvements:"Yegor Kozlov2008-09-2510-152/+239
| | | | | | | | 1. preserve themes across read-write 2. properly set default properties of a new worksheet git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@698838 13f79535-47bb-0310-9956-ffa450edef68
* patch #45881 from Sourcesense: implemented cell fills and borders, added ↵Yegor Kozlov2008-09-245-195/+428
| | | | | | examples git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@698674 13f79535-47bb-0310-9956-ffa450edef68
* XSSFFont improvements from patch #45874Yegor Kozlov2008-09-2411-269/+559
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@698651 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 698047 via svnmerge from Josh Micich2008-09-232-23/+17
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/poi/trunk ........ r698047 | josh | 2008-09-22 17:40:22 -0700 (Mon, 22 Sep 2008) | 1 line Optimised the FormulaEvaluator to take cell dependencies into account ........ git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@698370 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 696860,696898 via svnmerge from Josh Micich2008-09-197-80/+436
| | | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/poi/trunk Quite a lot of manual fixing required. Also moved CellValue to top level class. ........ r696860 | josh | 2008-09-18 17:02:21 -0700 (Thu, 18 Sep 2008) | 1 line code clean-up (removed compiler warnings/unused methods) ........ r696898 | josh | 2008-09-18 19:19:58 -0700 (Thu, 18 Sep 2008) | 1 line 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/branches/ooxml@696961 13f79535-47bb-0310-9956-ffa450edef68
* removed extra line that caused compilation errorYegor Kozlov2008-09-181-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696762 13f79535-47bb-0310-9956-ffa450edef68
* 1. initial support for rich text in xssf"Yegor Kozlov2008-09-1827-981/+1337
| | | | | | | | | | 2. cleaned common ooxml-ole2 interfaces, removed ole2-specific stuff 3. added new examples from the quick guide 4. misc xssf refactoring, tending to use enums intstead of final static constants 5. refactored XSSFFont 6. included test-ooxml and jar-ooxml in the dist target, they are part of release and should be there git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696584 13f79535-47bb-0310-9956-ffa450edef68
* merged 696075,696084 from trunk - (Fix for bug 45805 - 16-bit ↵Josh Micich2008-09-172-29/+78
| | | | | | signed/unsigned problems in HSSFSheet.getColWidth() etc) git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696475 13f79535-47bb-0310-9956-ffa450edef68
* Minor fixes to get junits working after r695832. Updates to align with new ↵Josh Micich2008-09-179-213/+182
| | | | | | sample.xlsx, and moved SharedStringSource out of usermodel API. git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696415 13f79535-47bb-0310-9956-ffa450edef68
* minor improvements to junitsJosh Micich2008-09-172-24/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696401 13f79535-47bb-0310-9956-ffa450edef68
* include rich text in the unit testYegor Kozlov2008-09-171-3/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696377 13f79535-47bb-0310-9956-ffa450edef68
* unit tests for SharedStringsTableYegor Kozlov2008-09-161-0/+144
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@695833 13f79535-47bb-0310-9956-ffa450edef68
* Preserve rich text across read-write of SharedStringsTable, also improved ↵Yegor Kozlov2008-09-1612-195/+381
| | | | | | performance and removed obsolete ole2-specific stuff git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@695832 13f79535-47bb-0310-9956-ffa450edef68
* utility to dump ooxml files into file systemYegor Kozlov2008-09-161-0/+93
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@695828 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug #45518 - Fix up ColumnHelper to output valid col tags, by making 1 ↵Nick Burch2008-09-154-48/+133
| | | | | | based and 0 based bits clearer, and using the right ones git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@695620 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 695264,695303,695420 via svnmerge from Nick Burch2008-09-153-13/+10
| | | | | | | | | | | | | | | | | | | | | https://svn.apache.org:443/repos/asf/poi/trunk ........ r695264 | josh | 2008-09-14 19:55:28 +0100 (Sun, 14 Sep 2008) | 1 line Fix for bug 45978 - removed eager initialisation of SheetReferences ........ r695303 | nick | 2008-09-14 23:19:06 +0100 (Sun, 14 Sep 2008) | 1 line Make a start on exposing the StyleRecord details into HSSFCellStyle, but not fully there yet ........ r695420 | nick | 2008-09-15 12:02:18 +0100 (Mon, 15 Sep 2008) | 1 line 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/branches/ooxml@695549 13f79535-47bb-0310-9956-ffa450edef68
* refactored cell align accessors in xssf and added samples based on the quick ↵Yegor Kozlov2008-09-155-759/+887
| | | | | | guide git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@695411 13f79535-47bb-0310-9956-ffa450edef68
* Update to match interfaceNick Burch2008-09-131-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@694948 13f79535-47bb-0310-9956-ffa450edef68