Nick Burch
a110f31e4c
Update the stax dependency documentation
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1088564 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 11:35:45 +00:00
Nick Burch
aad03b8cd3
Tweak 7 bit guessing code
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1087788 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 16:27:03 +00:00
Nick Burch
9f40e3df71
Improve HSMF MAPIMessage access to the HTML and RTF versions of the message body (where available)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1087782 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 16:01:29 +00:00
Nick Burch
002d0a5995
Add new method to HSMF of MAPIMessage.has7BitEncodingStrings() to make it easier to decide when encoding guessing is needed
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1087746 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 15:20:07 +00:00
Nick Burch
a0b9fb350b
Update OutlookTextExtractor to request 7 bit encoding guessing
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1087734 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 15:02:14 +00:00
Nick Burch
43d5e715d3
Improve HSMF encoding guessing for 7 bit fields, and allow HSMF access to the HTML body contents in MAPIMessage
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1087726 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 14:51:45 +00:00
Yegor Kozlov
54a27f05db
removed svn:executable from src/java/org/apache/poi/ss/util/SheetUtil.java
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1087234 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 10:06:53 +00:00
Nick Burch
44ea0035a6
Implement the load method on MemoryPackagePart
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1086909 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 11:34:12 +00:00
Yegor Kozlov
5addb68f08
Support for continued ExtSSTRecords, see Bugzilla 50967
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085900 13f79535-47bb-0310-9956-ffa450edef68
2011-03-27 10:05:42 +00:00
Yegor Kozlov
7a76ff4200
fixed TestBugs.test48968 failing on machines with non-UTC timezone
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085899 13f79535-47bb-0310-9956-ffa450edef68
2011-03-27 10:04:36 +00:00
Nick Burch
fa006be753
Fix bug #48968 - Implement support for HOUR, MINUTE and SECOND formulas
...
Includes some re-working of the existing Calendar functions, unit tests for the old and new Calendar functions, and a wider date+formula+formatting test for this area
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085591 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 22:52:12 +00:00
Nick Burch
2a295bf8ea
More NPOIFS constructors, and document recent fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085501 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 18:17:45 +00:00
Nick Burch
e43a1777ed
Fix HPBF generics warnings, and add a NPOIFS check to the HPBF tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085495 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 18:03:18 +00:00
Nick Burch
eb812a0e8c
Fix a couple of NPOIFS bugs relating to empty files, empty documents and non-padded stream data
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085493 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 18:02:46 +00:00
Nick Burch
a7e39ad6c2
Add XWPF <br> detection for the other kind of ooxml schemas
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085471 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 17:00:30 +00:00
Nick Burch
e520f5b82f
Fix up constructor to ensure that the filesystem objects are around when we need them, and not just after we wanted them as it was...
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085467 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 16:53:26 +00:00
Nick Burch
915713a4d3
More NPOIFS Constructor updates
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085451 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 16:24:34 +00:00
Nick Burch
64185cd51c
More NPOIFS Constructor updates
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085447 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 16:21:09 +00:00
Nick Burch
535e69dea4
Fix generics warnings, and make the NPOIFS and deprecated constructor parts of Publisher clearer and consistent with other parts
...
Also fix a test filename
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085443 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 16:06:11 +00:00
Maxim Valyanskiy
78bcc564f4
XWPFPicture: remove unused POILogger instance
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1083781 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 13:41:01 +00:00
Maxim Valyanskiy
db05d9158a
XWPFPicture: support for reading picture description
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1083780 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 13:39:44 +00:00
Maxim Valyanskiy
8d72b9137a
XWPF: support for pictures in headers
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1083764 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 12:43:58 +00:00
Yegor Kozlov
1ba16fb3b9
improved DataFormatter, see Bugzilla 50841
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1083173 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 12:42:01 +00:00
Nick Burch
8c44bb85d1
Fix bug #49381 - Correct createFreezePane in XSSF, so that the left row/column matches the documentation + HSSF (CellReference is row,column)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1082966 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 16:38:58 +00:00
Nick Burch
df49838158
Fix bug #49253 - When setting repeating rows and columns for XSSF, don't break the print settings if they were already there
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1082961 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 16:06:10 +00:00
Nick Burch
5d2184a007
Fix bug #49219 - ExternalNameRecord can have a DDE Link entry without an operation
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1082958 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 15:51:39 +00:00
Nick Burch
263c8a28f4
Fix bug #50846 - XSSFCellBorder needs a theme table too, but as it gets created early switch it to the same model as XSSFFont for getting it later
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1082946 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 15:18:45 +00:00
Nick Burch
21f2b84ef3
Ensure that BigGridDemo is consistent in the encoding of the XML
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1082938 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 14:43:22 +00:00
Nick Burch
9e5f795b54
Fix bug #50939 - ChartEndObjectRecord is supposed to have 6 bytes at the end, but handle it not
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1082936 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 14:30:47 +00:00
Nick Burch
ac0e87072e
Update the HMEF status pages
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1081417 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 15:15:26 +00:00
Nick Burch
a638f0a9ad
Strip trailing padding from HMEF compressed rtf when decoding
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1081414 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 15:11:03 +00:00
Yegor Kozlov
865efc9a8c
support for getting HWPFDocument fields, see Bugzilla 50313
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1081291 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 09:10:12 +00:00
Yegor Kozlov
ab33e375d3
fixed setting named styles to HSSFCells. see Bugzilla 50912
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1080689 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 17:33:36 +00:00
Yegor Kozlov
31681260ed
fixed RecordFormatException when reading unicode strings with photenic data, see Bugzilla 50779
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1080496 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 09:33:22 +00:00
Yegor Kozlov
633ffa5bde
fixed typos
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1079742 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 10:59:13 +00:00
Yegor Kozlov
8ef881e5d7
updated index.xml and download.xml for 3.8 beta1
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1079691 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 08:11:58 +00:00
Nick Burch
20eea4a872
Refactor the HMEF contents checks to use a superclass, and stub out the Rtf Message body tests (disabled as there looks to be a padding issue still to solve)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1078304 13f79535-47bb-0310-9956-ffa450edef68
2011-03-05 15:37:24 +00:00
Nick Burch
0df8c11c4b
Two more differences between the LZW in HDGF and HMEF:
...
* Little Endian vs Big Endian storage of the code position
* Initial dictionary position is the end of pre-fill, if there is one, rather than always being position 0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1078300 13f79535-47bb-0310-9956-ffa450edef68
2011-03-05 15:25:39 +00:00
Nick Burch
2c4134e89b
Add a unit test for bug #50833
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1078135 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 21:09:02 +00:00
Nick Burch
8df8ecc4ec
Add unit test showing that bug #50867 works fine
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1078065 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 17:31:52 +00:00
Nick Burch
d7e670842b
Add unit test showing that bug #48877 no longer applies
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1078057 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 17:06:01 +00:00
Nick Burch
18153d96ef
Fix bug #50718 - More helpful error message when you try to create a CellReference with #REF!
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1078039 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 16:17:21 +00:00
Nick Burch
93e7799a7b
Fix bug #50784 - XSSFColors return by XSSFFont now have theme information applied to them, as XSSFFont is now ThemesTable aware
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1077986 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 15:05:18 +00:00
Nick Burch
a9133e1b3b
Hopefully fix bug #50846 - Improve how XSSFColor inherits from Themes, by pushing the logic out of XSSFCellStyle and into ThemesTable + make it easier to call
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1077968 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 14:38:13 +00:00
Nick Burch
e8cade24c5
Fix documentation typo
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1077954 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 14:10:03 +00:00
Nick Burch
fd0c177783
Fix bug #50847 - XSSFFont now accepts the full range of Charsets from FontChartset
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1077950 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 14:01:14 +00:00
Nick Burch
61c7755195
Fix generics warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1077923 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 12:56:25 +00:00
Nick Burch
640a664542
From bug #50786 - Speed up calls to HSSFColor.getIndexHash() by returning a cached, unmodifiable Map. HSSFColor.getModifiableIndexHash() provides access to the old (slow but modifiable) functionality
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1077920 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 12:50:02 +00:00
Nick Burch
63077a605f
Add documentation for the HMEF (TNEF/winmail.dat) support so far.
...
Also add a little bit to the HPBF docs, and tweak build.xml to check the right files when deciding if the docs are up to date.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1077891 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 11:59:23 +00:00
Yegor Kozlov
079fc19d61
ant target to create patches
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1077880 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 11:15:43 +00:00
Yegor Kozlov
817a44dcd4
Change related formulas and named ranges when XSSFWorkbook.setSheetName is called, see Bugzilla 47100
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1077878 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 11:15:01 +00:00
Nick Burch
f050cf6eeb
Setting the locale doesn't seem to set the timezone, so do that explicitly to ensure the tests behave for everyone
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1077874 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 11:06:59 +00:00
Nick Burch
8e1411c194
Fix a couple of license headers, and tweak the rat settings so it runs clean
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1077865 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 11:00:13 +00:00
Nick Burch
bbfa85f807
Tweak the attribute getter names on Attachments, and add MAPI+TNEF Attribute unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1076685 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 17:06:37 +00:00
Nick Burch
efe5a63429
Add a TNEF extractor class, which can be run from the command line to extract out the message body and attachments
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1076607 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 13:01:07 +00:00
Nick Burch
aa1963cd3b
Improve HMEF handling of typed attributes (Strings and Dates), for both TNEF and MAPI attributes, and use this to allow easier access to common file parts. Then use this in the attachment unit tests.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1076603 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 12:41:39 +00:00
Nick Burch
145de166a1
Switch HMEF attributes to a factory scheme for creation, then add subtypes for cleaner code. Also adds a few more tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1076310 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 17:52:12 +00:00
Nick Burch
20f6e280a5
Refactor the TNEF Attributes to better match the MAPI ones, and move both into their own package
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1076251 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 15:25:35 +00:00
Nick Burch
03b0eabcf8
Tweak XSSFPrintSetup to make it a little clearer what happens, and add a round-trip unit test for it
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1076022 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 21:02:43 +00:00
Yegor Kozlov
bf9bc19ecc
mention ExcelAnt in status.xml
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1075966 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 18:25:47 +00:00
Nick Burch
649df30b76
Start on unit tests for HMEF. Quite a bit is still stubbed out, and it shows that the LZW isn't quite right yet (so tests disabled)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1075955 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 18:12:44 +00:00
Yegor Kozlov
c5501130eb
tweaked validation of xml to keep Gump quiet
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1074920 13f79535-47bb-0310-9956-ffa450edef68
2011-02-26 20:52:50 +00:00
Nick Burch
7e3371bb15
Fix bug #32903 - Correct XBAT chaining explanation in /poifs/fileformat.html
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1074718 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 22:12:54 +00:00
Nick Burch
a6e6fcdb96
Fix bug #50829 - Support for getting the tables associated with a XSSFSheet
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1074710 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 21:44:09 +00:00
Nick Burch
5792826402
More on XSSFColor and ARGB vs RGB for bug #50299 - provide methods to let you get at either 3 byte RGB, or 4 byte ARGB, whichever you prefer for your needs.
...
Includes the new patch from bug #50299 for 3 colour RGB black/white being inverted from Excel
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1074703 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 21:21:45 +00:00
Nick Burch
3937b2f310
Switch Picture processing in HSLFSlideShow to be lazy-loading, to speed things up if you're only interested in text stuff
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1073883 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 19:01:24 +00:00
Nick Burch
be805e00a7
Update the HSSF/XSSF comments documentation to include some more steps that are needed to have the comments always show up properly
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1073780 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 15:27:38 +00:00
Yegor Kozlov
6a105cbaca
merged with excelant branch
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1073707 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 11:52:28 +00:00
Yegor Kozlov
f3074605c3
Use stax:stax-api instead of org.apache.geronimo.specs:geronimo-stax-api_1.0_spec, see Bugzilla 50581
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1073683 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 10:37:03 +00:00
Yegor Kozlov
65163b2f38
test Ant file with ExcelAnt targets
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/excelant@1072260 13f79535-47bb-0310-9956-ffa450edef68
2011-02-19 06:12:10 +00:00
Yegor Kozlov
712b7463a7
initial import of ExcelAnt tasks, see Bugzilla 50610
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/excelant@1072119 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 20:04:50 +00:00
Nick Burch
bc819d4a20
Add a unit test that shows bug #48079 no longer applies, and we can resize columns when there are more than 32767 rows
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1072093 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 18:02:47 +00:00
Nick Burch
39a3b1c35a
Fix bug #50786 - Fix XSSFColor to fetch the RGB values of old-style indexed colours
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1072082 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 17:41:42 +00:00
Nick Burch
51ed90fc4a
Fix generics warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1072080 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 17:41:17 +00:00
Nick Burch
77fb5f43ee
Fix bug #50299 with patch from Andrei - Fix XSSFColor fetching of white and black background themes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1072053 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 16:44:05 +00:00
Nick Burch
faba225c7c
Add a disabled unit test for bug #50784 . We need to add support for XSSF Colours to pull details from their parent theme where there is one
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1072027 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 15:45:59 +00:00
Nick Burch
3351df0d1b
Fix bug #50795 - Avoid NPE from xmlbeans when moving XSSF Comments from one cell to another
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1072022 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 15:29:22 +00:00
Nick Burch
1c61709fdb
Fix a couple more 1.6isms
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1069975 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 22:38:18 +00:00
Nick Burch
32f9ba7a04
Fix a 1.6ism
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1069974 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 22:35:20 +00:00
Nick Burch
b048b8422a
Fix bug #46664 - When creating HSSF Print Areas, ensure the named range is reference based not value based
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1069780 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 12:36:57 +00:00
Nick Burch
d1aab350fd
Fix bug #50756 - When formatting numbers based on their Cell Style, treat GENERAL the same as the more typical General
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1069775 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 12:31:40 +00:00
Yegor Kozlov
2f15806b6e
fixed HSSFWorkbook.createCellStyle to throw exception if the maximum number of cell styles was exceeded
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1069730 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 10:03:25 +00:00
Yegor Kozlov
8ef7fcdba3
fixed a regression caused by not escaped dollar sumbols, see r1061288 and Bugzilla 49928
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1069396 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 14:07:04 +00:00
Nick Burch
63a225e051
Fix bug #50539 - Better fix for html-style br tags (invalid XML) inside XSSF documents
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1067217 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 16:42:57 +00:00
Maxim Valyanskiy
e325b96167
hwpf: ignore invalid style reference
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1065538 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 09:55:10 +00:00
Maxim Valyanskiy
40dbadc49e
hwpf: ignore null-reference to parent stylesheet (bug#50688)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1065535 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 09:27:44 +00:00
Maxim Valyanskiy
9269c0850c
hwpf: ignore incorrect ListFormatOverride reference that causes IndexOutOfBoundException
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1064110 13f79535-47bb-0310-9956-ffa450edef68
2011-01-27 12:42:12 +00:00
Nick Burch
e57d3c7631
Remove un-used imports
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1061723 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 10:33:46 +00:00
Nick Burch
23935eb2a5
Fix bug #49928 for HSSF too - refactor HSSFDataFormat to allow overriding of built in formats, and tweak the format unit tests to do the same check for HSSF and XSSF. Also corrects some builtin formats for new HSSFWorkbooks which were slightly off
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1061288 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 13:20:24 +00:00
Yegor Kozlov
48544b470b
added implementations for CLEAN(), CHAR() and ADDRESS(), see Bugzilla 50607
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1060788 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 12:30:18 +00:00
Yegor Kozlov
db25367237
remove System.out.println() from the test code
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1060787 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 12:28:54 +00:00
Yegor Kozlov
8ba44207e6
User Defined Function Documentation/Example, see Bugzilla 50587
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1060724 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 09:22:24 +00:00
Nick Burch
e71b2d533d
Update the HMEF page with the latest status of the code
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1058557 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 13:56:02 +00:00
Nick Burch
89df31493c
Start on TNEF RTF attribute decompression, but not quite finished yet
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1058555 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 13:53:02 +00:00
Nick Burch
9d2b9caa33
Add support for custom MAPI Properties (0x8000 and above, plus unknown lower ones)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1058262 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 18:14:49 +00:00
Nick Burch
1d5f5c311a
HMEF dumping and properties tweaks
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1058243 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 17:22:40 +00:00
Nick Burch
fd16797edd
Start to decode the MAPI Properties in the TNEF stream for HMEF
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1058226 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 16:45:02 +00:00
Maxim Valyanskiy
5f669d2a4d
hwpf: fix ArrayIndexOutOfBoundsException in Range.getCharacterRun() (TIKA-577)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1058176 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 15:16:50 +00:00
Nick Burch
4358a18407
MAPIProperty is a better fit name for HSMF, so change the name before it gets too widely used
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1058116 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 12:45:51 +00:00
Nick Burch
112b2b584e
Copy the MAPI type information over completely to HSMF
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1058114 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 12:43:25 +00:00
Nick Burch
babc3f173e
More converting of HSMF code to use strongly type attributes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1057712 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 16:11:23 +00:00
Nick Burch
5fa971d0bf
Add a HSMF dev tool for listing the chunks with their types and names
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1057708 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 16:01:42 +00:00
Nick Burch
d9197ba3a4
Start converting HSMF code to use the new strongly type MAPIAttribute class for lookups, and add a dev class for listing the defined attributes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1057698 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 15:35:29 +00:00
Nick Burch
7978095929
Create a new HSMF MAPI Attributes class to hold the attribute list in a strongly typed way, based on the MSDN published properties list
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1057665 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 14:42:40 +00:00
Nick Burch
3215f32e54
In NPOIFS, close the file we opened in more exception cases
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1055379 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 09:42:00 +00:00
Nick Burch
d5ee996ad7
Add NPOIFS section to the documentation
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1054207 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 07:07:16 +00:00
Nick Burch
bfd6fb0e2b
More NPOIFS tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1054199 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 06:49:53 +00:00
Nick Burch
2d583f4e3f
Tweak HSLF and HWPF to work well with NPOIFS, and add unit tests for this
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1054191 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 05:42:36 +00:00
Nick Burch
981b7cbd8e
Add unit test for using HSSF with both POIFS and NPOIFS
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1054190 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 05:30:11 +00:00
Nick Burch
bc2f0eb994
Fix generics warnings, and add another constructor
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1054189 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 05:28:30 +00:00
Nick Burch
2d9837bd90
Tweak NPOIFS constructors so that if you have a FileChannel, you can pass it in, but that the File based one will tidy up after itself in the event of errors
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1054033 13f79535-47bb-0310-9956-ffa450edef68
2010-12-31 00:46:00 +00:00
Nick Burch
c82f06605e
NPOIFS needs an explicit close, as it has to keep the File / buffer around to read from. Adds a close method
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1053777 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 00:58:28 +00:00
Nick Burch
2f466d27fe
Refactor DocumentInputStream so that it can transparently handle both old style and new style POIFS Documents
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1053562 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 07:28:10 +00:00
Nick Burch
7fe097413c
Add a NPOIFS aware createDocumentInputStream method to DirectoryNode, and use it in POIDocument. Also fix indent in the latter
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1053522 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 03:30:07 +00:00
Nick Burch
f2b541e026
Since a DirectoryNode has a reference to the underlying POIFSFileSystem, tidy up the POIDocument constructor to not need both passing in
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1053521 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 03:19:46 +00:00
Nick Burch
3f85bdc6d3
More NPOIFS BAT vs XBAT confusion fixes. Also fixes recent POIFS regression on big files, and adds a POIFS unit test for XBAT containing files (previously there wasn't one)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1053511 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 03:00:46 +00:00
Nick Burch
e2abe57845
More NPOIFS XBAT updates
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1053504 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 01:34:56 +00:00
Nick Burch
30a23fc7b4
Fix the name of the RootProperty, as it never changes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1053503 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 01:34:18 +00:00
Nick Burch
01626c6626
XBAT logic in NPOIFS was incorrect - it's a chain of doubly indirect, not singly indirect BATs. Start to correct
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1053495 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 01:05:01 +00:00
Nick Burch
029850e5cf
Implement a NPOIFS document reader, and add tests which use it
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1053279 13f79535-47bb-0310-9956-ffa450edef68
2010-12-28 08:52:50 +00:00
Nick Burch
5ed63966c4
Allow POIFSLister to switch between the two different POIFS implementations when listing
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1053274 13f79535-47bb-0310-9956-ffa450edef68
2010-12-28 07:13:47 +00:00
Nick Burch
9a865f1a30
Add NPOIFS high level Document implementation
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1053273 13f79535-47bb-0310-9956-ffa450edef68
2010-12-28 07:15:38 +00:00
Nick Burch
63cfee8179
Start on refactoring ready to support NPOIFS Directory/Document nodes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1053269 13f79535-47bb-0310-9956-ffa450edef68
2010-12-28 06:21:40 +00:00
Nick Burch
35c54e42b9
Partial NPOIFS write implementation, and tidy up of methods around this
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1053261 13f79535-47bb-0310-9956-ffa450edef68
2010-12-28 05:31:32 +00:00
Nick Burch
4f984c02c3
Add TODOs for further stream writing work
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1053251 13f79535-47bb-0310-9956-ffa450edef68
2010-12-28 04:46:12 +00:00
Nick Burch
1df87f0c0f
More NPOIFSStream unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1053250 13f79535-47bb-0310-9956-ffa450edef68
2010-12-28 04:43:19 +00:00
Nick Burch
14fbfb1321
More NPOIFSStream tests, and explicit free support+test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1053249 13f79535-47bb-0310-9956-ffa450edef68
2010-12-28 04:29:18 +00:00
Nick Burch
22579d8846
Add NPOIFS SBAT tests, and stub out a few future tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1053016 13f79535-47bb-0310-9956-ffa450edef68
2010-12-27 07:53:05 +00:00
Nick Burch
f8c1e5437f
Add tests for the NPOIFS mini stream
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1053014 13f79535-47bb-0310-9956-ffa450edef68
2010-12-27 07:39:57 +00:00
Nick Burch
fbb9243fbd
More NPOIFSStream unit tests, and stub out a few future ones too
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1053008 13f79535-47bb-0310-9956-ffa450edef68
2010-12-27 06:55:51 +00:00
Nick Burch
bf9444f784
Start to support the MiniStream, by extracting out the BlockStore superclass and implementing a SBAT/Stream based mini block version
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1053007 13f79535-47bb-0310-9956-ffa450edef68
2010-12-27 06:50:05 +00:00
Nick Burch
17c775625c
Move the SBAT/BAT cutoff constant to POIFSConstants
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1052995 13f79535-47bb-0310-9956-ffa450edef68
2010-12-27 04:04:47 +00:00
Nick Burch
cd216b6f0b
More NPOIFS tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1052988 13f79535-47bb-0310-9956-ffa450edef68
2010-12-27 01:51:10 +00:00
Nick Burch
574e993120
Start on PropertyTable support for NPOIFS, and more NPOIFS tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1052205 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23 09:21:49 +00:00
Nick Burch
4d3ddefa5b
Output the correct header value
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1052202 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23 09:19:39 +00:00
Nick Burch
bc410cfd73
Fix warnings, typos etc
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1052201 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23 09:18:04 +00:00
Nick Burch
a157f496ee
Add NPOIFSFileSystem support for identifying free blocks, along with partial unit tests for it
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1052194 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23 08:02:50 +00:00
Nick Burch
e911c35421
More NPOIFSFileSystem and NPOIFSStream read unit tests, along with details of a few more tests still to be written
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1052186 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23 07:08:50 +00:00
Nick Burch
39f533b4d0
Initial NPOIFS low level stream reader and writer. Still needs unit tests, but should allow reading and writing to a basic stream of (big) blocks
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1051795 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 08:52:17 +00:00
Nick Burch
c0a0faf9c5
More BATBlock related methods for identifying size and list offsets, plus tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1051791 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 08:41:28 +00:00
Nick Burch
c3c4e4f2f7
Add initial low level code for HMEF, an implementation of TNEF (aka winmail.dat). Currently processes core attributes, but not embedded MAPI ones, and still needs to do more for extraction
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1051756 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 05:04:19 +00:00
Nick Burch
d2583d83d5
Refactor the common LZW decompression code out into utils
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1051377 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 05:18:34 +00:00
Nick Burch
b31c0f88da
More PropertyTable refactoring - pull common code out into a Base, so we can plug in a different block reader/writer for NIO
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1051029 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 09:30:32 +00:00
Nick Burch
2c58431592
POIFS Property refactoring ready for NIO support
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1051025 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 09:06:47 +00:00
Nick Burch
59130c6193
Add a couple more chunk types
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1051006 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 07:18:31 +00:00
Nick Burch
aaf795a77a
Bit more on NPOIFSFileSystem, and some typo fixes in documentation
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1050815 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 11:43:54 +00:00
Nick Burch
848f62144a
Change how the NIO block read works, to re-use the byte array for the from-InputStream case. Also start on reading the FAT blocks for NPOIFSFileSystem
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1050775 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 08:53:36 +00:00
Nick Burch
019c30e33c
Initial work on a NIO POIFSFileSystem. Currently is able to open the file and read the header, but no more
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1050773 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 08:06:48 +00:00
Nick Burch
11baa943c4
Move CloseIgnoringInputStream out to its own class, and add more helper methods
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1050772 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 08:05:44 +00:00
Nick Burch
e86e3af3b2
Make BATBlock useful for read (was previously write only)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1050770 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 07:17:14 +00:00
Nick Burch
d9cec1d58c
Move more of the logic from HeaderBlockWriter to HeaderBlock
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1050767 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 06:35:54 +00:00
Nick Burch
6530aeaf82
Start to merge the POIFS classes HeaderBlockReader and HeaderBlockWriter into a common HeaderBlock class
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1050764 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 05:54:11 +00:00
Nick Burch
a56ca62d40
Tests and tweaks to the NIO DataSource code
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1050758 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 04:59:49 +00:00
Nick Burch
5e9cbd4645
Start on lower memory POIFS implementation - data source to provide common access to array of bytes and files
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1050607 13f79535-47bb-0310-9956-ffa450edef68
2010-12-18 10:18:43 +00:00
Nick Burch
cbf86ed0bc
Improve the HDGF LZW code.
...
Some tweaks to the decompression, and more tests, but mostly work on the compression side. We can now compress small streams properly, and these round-trip fine. However, some longer streams don't compress correctly, and more work on that is still needed (see the disabled unit test)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1049805 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 07:41:41 +00:00
Nick Burch
f751e3cdd3
Inside ExtractorFactory, support finding embedded OOXML documents and providing extractors for them
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1049802 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 07:39:21 +00:00
Yegor Kozlov
326cf56aa7
Support for continued NameRecords, see bugzilla 50244
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1049202 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 18:17:59 +00:00
Nick Burch
63bc348d04
Fix bug #50416 - Correct shifting of the first or last row in a sheet by multiple rows
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1048951 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 06:41:08 +00:00
Nick Burch
3d74ebf836
Fix bug #50440 - Support evaluating formulas with newlines in them, which XSSF may have (but HSSF may not)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1045021 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 05:39:39 +00:00
Nick Burch
e8b9fa6725
Added XSSF EventModel support for inline strings. Adds unit test for this for the event model extractor, and another for the usermodel extractor which already supported it
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1045020 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 05:07:19 +00:00
Yegor Kozlov
340ed55cf5
mark GutsRecord as terminating row blocks, prevent exception when reading workbooks with unexpected GutsRecords, see Bugzilla 50426
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1044655 13f79535-47bb-0310-9956-ffa450edef68
2010-12-11 13:48:18 +00:00
Yegor Kozlov
039f4ccfa1
added a unit test for not reproducible bug #49156
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1044647 13f79535-47bb-0310-9956-ffa450edef68
2010-12-11 13:09:12 +00:00
Yegor Kozlov
97b07620de
Added implementation for MROUND(), VAR() and VARP()
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1044642 13f79535-47bb-0310-9956-ffa450edef68
2010-12-11 12:41:17 +00:00
Yegor Kozlov
f09a06575c
code cleanup as suggested in Bugzilla 50446
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1044405 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 15:43:59 +00:00
Yegor Kozlov
119bc57e05
Support for IRR() function, see Bugzilla 50409. Includes fix for Bugzilla 50437
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1044370 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 14:20:35 +00:00
Yegor Kozlov
b2ee6fb309
Improved performance of RowRecordsAggregate.getStartRowNumberForBlock / getEndRowNumberForBlock, see Bugzilla 47405
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1043517 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08 16:53:24 +00:00
Yegor Kozlov
0f86c22ae8
Avoid crashing Excel when sorting XSSFSheet autofilter, see Bugzilla 50315
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1041407 13f79535-47bb-0310-9956-ffa450edef68
2010-12-02 15:23:35 +00:00
Yegor Kozlov
4c6dd246e2
revert visibility raised for testing
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1040022 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 06:22:59 +00:00
Yegor Kozlov
6cf48b0610
improved work with UDFs and Analysis Toolpack functions, ATP functions are enabled by default and user can create / evaluate them just like built-in functions, both HSSF andf XSSF are supported
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1039870 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 12:03:52 +00:00
Yegor Kozlov
4c6b49e5ab
improved LinkTable to support registering external UDFs.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1039621 13f79535-47bb-0310-9956-ffa450edef68
2010-11-27 06:30:03 +00:00
Yegor Kozlov
9d56b17ace
moved ptg classes to org.apache.poi.ss.formula.ptg
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1038691 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 16:54:26 +00:00
Yegor Kozlov
82aa0c6f09
moved ptg classes to org.apache.poi.ss.formula.ptg
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1038688 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 16:50:47 +00:00
Yegor Kozlov
0c12a76991
moved ptg classes to org.apache.poi.ss.formula.ptg
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1038685 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 16:47:37 +00:00
Yegor Kozlov
5e182e18ce
moved ptg classes to org.apache.poi.ss.formula.ptg
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1038683 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 16:46:02 +00:00
Nick Burch
886ee41c05
Stub out a bit more for XSSF event processing of shared formulas, and only warn about them if the formula is a shared-child + the user actually wants the values
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1038095 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 13:04:03 +00:00
Nick Burch
6161794320
Allow access from XSSFReader to sheet comments and headers/footers (related to bug #50076 )
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1037753 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 15:16:45 +00:00
Maxim Valyanskiy
1c64221e5a
hwpf: Ignore null argument in PicturesTable.hasPicture
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1037670 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 11:10:01 +00:00
Yegor Kozlov
e994534f3e
moved common formula-related code to org.apache.poi.ss.formula, eliminated dependencies on HSSF, reduced the number of eclipse warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1037439 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 12:09:29 +00:00
Yegor Kozlov
b2c8ff548a
moved common formula-related code to org.apache.poi.ss.formula, eliminated dependencies on HSSF, reduced the number of eclipse warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1037436 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 12:04:56 +00:00
Yegor Kozlov
619e612817
moved common formula-related code to org.apache.poi.ss.formula, eliminated dependencies on HSSF, reduced the number of eclipse warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1037432 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 11:54:40 +00:00
Yegor Kozlov
533f3a4f4a
moved common formula-related code to org.apache.poi.ss.formula, eliminated dependencies on HSSF, reduced the number of eclipse warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1037431 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 11:52:32 +00:00
Yegor Kozlov
7d0dac8846
moved common formula-related code to org.apache.poi.ss.formula, eliminated dependencies on HSSF, reduced the number of eclipse warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1037426 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 11:41:38 +00:00
Yegor Kozlov
f63ce05a7c
moved common formula-related code to org.apache.poi.ss.formula, eliminated dependencies on HSSF, reduced the number of eclipse warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1037423 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 11:37:44 +00:00
Yegor Kozlov
b6304a6474
removed dependencies on HSSF, prepare to move common formula stuff to org.apache.poi.ss.formula
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1037228 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 14:49:47 +00:00
Nick Burch
8cbc24070b
Some refactoring of XSSFEventBasedExcelExtractor, to make it easier for you to have control over outputting the cell contents, inspired by bug #50076
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1036968 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 18:14:06 +00:00
Nick Burch
3594427f26
Add a link to the bugzilla list of new/needinfo bugs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1036947 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 17:15:03 +00:00
Maxim Valyanskiy
381b6641b6
hwpf: IndexOutOfBoundsException in Range.findRange when list contains only nulls
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1036850 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 14:09:13 +00:00
Yegor Kozlov
09f53282ec
avoid corruption of XSSFWorkbook after applying XSSFRichTextRun#applyFont, see Bugzilla 50258
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1036599 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 20:07:15 +00:00
Yegor Kozlov
9b52b521cf
allow white spaces and unicode in OPC relationship targets, see Bugzilla 50154
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1036215 13f79535-47bb-0310-9956-ffa450edef68
2010-11-17 20:40:35 +00:00
Maxim Valyanskiy
e350093be6
dispose xml cursor when iteration over it is done (more)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1035947 13f79535-47bb-0310-9956-ffa450edef68
2010-11-17 08:13:40 +00:00
Maxim Valyanskiy
88e8b056fc
XWPF: dispose xml cursor when iteration over it is done
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1035615 13f79535-47bb-0310-9956-ffa450edef68
2010-11-16 12:45:39 +00:00
Yegor Kozlov
e8bbd4c957
clear calculation chain when deleting row or chaing cell type to blank, see Bugs 50113 and 49966
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1034358 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 12:03:56 +00:00
Yegor Kozlov
9c3d11b953
Fixed evaluation of cell references with column index greater than 255, see bugzilla 50096
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1033556 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 16:09:04 +00:00
Yegor Kozlov
13920dccd6
use cached formula result when autosizing sheet columns, see Bugzilla 50211
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1033005 13f79535-47bb-0310-9956-ffa450edef68
2010-11-09 15:04:55 +00:00
Yegor Kozlov
9a2fdbd473
Tolerate Double.NaN when reading .xls files, see Bugzilla 49761
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1033004 13f79535-47bb-0310-9956-ffa450edef68
2010-11-09 15:02:31 +00:00
Nick Burch
3b5f224ccb
Add a few more little bits of formula unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1031077 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 16:55:36 +00:00
Yegor Kozlov
416240475d
fixed sizes of poi jars on the downloads page
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1030564 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 17:49:02 +00:00
Yegor Kozlov
d19b43bbc5
fixed the Downloads page to reflect current release
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1029574 13f79535-47bb-0310-9956-ffa450edef68
2010-11-01 08:16:43 +00:00
Yegor Kozlov
9d674e33fe
updated index page to reflect current release POI-3.7
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1029302 13f79535-47bb-0310-9956-ffa450edef68
2010-10-31 10:35:46 +00:00
Maxim Valyanskiy
de166c7b97
Ensure that XWPFParagraph.getDocument() is not null
...
(Null getDocument() causes NPE when looking for comments in XWPFWordExtractorDecorator)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1028283 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 13:02:43 +00:00
Yegor Kozlov
dfa4e8ec3b
don't depend on constants from javax.xml.XMLConstants from JRE, stay compatible with geronimo-stax
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1026607 13f79535-47bb-0310-9956-ffa450edef68
2010-10-23 12:14:41 +00:00
Nick Burch
d7eb8b6105
Fix bug #50118
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1026412 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 17:23:39 +00:00
Nick Burch
b99de96fa5
Fix generics warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1026409 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 17:14:34 +00:00
Nick Burch
e0ec632d69
Slightly expand tests, inspired by bug #50060 , but ultimately show there is a deeper issue outstanding
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1026399 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 16:41:02 +00:00
Yegor Kozlov
3fe64d57ae
avoid nulls in HSSFWorkbook.getAllPictures when EscherBlipRecord is not found
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1025635 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 16:38:06 +00:00
Nick Burch
26b76c1087
Fix bug #50119 - avoid NPE when XSSFReader comes across chart sheets
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1025630 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 16:25:24 +00:00
Nick Burch
d2d0c131c0
Fix more HSLF generics warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1024420 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 21:25:41 +00:00
Nick Burch
392a97fef4
Fix more HSLF generics warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1024411 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 21:01:54 +00:00
Nick Burch
2ece9ad04b
Fix more HSLF generics warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1024390 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 20:12:19 +00:00
Nick Burch
a954289390
Fix some HSLF generics warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1024368 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 19:22:24 +00:00
Nick Burch
40c968c111
Add a couple of methods to help make debugging problems in hwpf easier
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1024302 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 16:05:16 +00:00
Nick Burch
7b4dc141ae
br is a line break, similar to cr
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1024301 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 16:04:50 +00:00
Yegor Kozlov
f0ba735deb
fixed packaging of files moved from contrib
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1024286 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 15:44:55 +00:00
Nick Burch
6ed5b7e5b4
Several small site updates, to get us closer to complying with the new site branding policy
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1022995 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 16:17:43 +00:00
Yegor Kozlov
11f469ea6c
updated current version in trunk
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1022849 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 07:55:12 +00:00
Yegor Kozlov
1715a0deaf
removed svn:executable from project files
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1022458 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 10:34:59 +00:00
Yegor Kozlov
76470fed4e
avoid NPE in ListLevel.getNumberText() when numberText is null, see Bugzilla 50075
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1022456 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 10:30:29 +00:00
Yegor Kozlov
3279f4d9c3
suppress deprecation warnings in poi-ooxml
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1022452 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 10:06:16 +00:00
Yegor Kozlov
8f59cfbb23
revert usages of getXYZList() back to getXYZArray() in XSSF, also misc performance optimizations
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1022420 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 08:40:06 +00:00
Yegor Kozlov
b230e92709
marked commons-logging and log4j as optional dependencies in POI poms, see Bugzilla 50067
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1021326 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 12:44:22 +00:00
Yegor Kozlov
19be0174ee
fixed unmappable characters for ASCII
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1006161 13f79535-47bb-0310-9956-ffa450edef68
2010-10-09 13:47:53 +00:00
Yegor Kozlov
7c3ce57a61
allow overridden built-in formats in XSSFCellStyle, see Bugzilla 49928
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1005726 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 08:26:57 +00:00
Yegor Kozlov
d6307ad1aa
support for BorderCode in HWPF, see Bugzilla 49919
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1005447 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 13:55:46 +00:00
Yegor Kozlov
b53e0ba59c
support for processing of symbols in HWPF, see Bugzilla 49908
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1005443 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 13:40:58 +00:00
Yegor Kozlov
adefc926c1
cleaned javadoc warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1004934 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 08:55:30 +00:00
Yegor Kozlov
3a41e5d459
repackaged poi-contrib to poi-main and poi-examples, excluded contrib from build artifacts
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1004919 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 07:58:51 +00:00
Yegor Kozlov
70543d034e
support for retrieving pictures from HSSF workbooks, see bugzilla 50022
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1004233 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 13:34:17 +00:00
Yegor Kozlov
01e3d56cdd
Avoid IllegalStateException when creating Data validation in sheet with macro, see Bugzilla 50020
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1004143 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 08:45:51 +00:00
Yegor Kozlov
80c999025c
improved rounding in MathX.mod, see Bugzilla 50033
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1003504 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 12:02:52 +00:00
Nick Burch
a018a145bf
Test that shows we handle word floating and fixed pictures properly
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1002123 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 11:46:22 +00:00
Maxim Valyanskiy
6d03a80070
revert previous commit because it causes problems with other old .docs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1001726 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 13:08:57 +00:00
Maxim Valyanskiy
286b682cdc
hwpt: add more 2 bytes to OldSectionTable to solve ArrayIndexOutOfBoundsException
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1001712 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 12:50:36 +00:00
Nick Burch
6de019f6e0
Generate SHA1 hashes as well as MD5 ones. Also, use md5sum/sha1sum in preference to openssl (if found), as the former include the filenames in the hashes which is helpful when verifying
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1000901 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 15:11:16 +00:00
Nick Burch
eb963eee0a
Update the site for 3.7 beta 3 - download page and homepage
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1000898 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 15:01:07 +00:00
Nick Burch
c8feb1b478
Add unit tests for the XWPF decorator classes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999859 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 10:17:49 +00:00
Nick Burch
d90a7ded96
A couple of tweaks to the release documentation
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999366 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 12:05:12 +00:00
Nick Burch
5310553441
Prepare for building 3.7 beta 3
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999350 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 11:55:17 +00:00
Nick Burch
881aff2e42
Fix 1.6ism
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999349 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 11:54:05 +00:00
Nick Burch
b8ac27ed99
Add a temporary workaround for bug #49934 , while we wait for a proper xmlbeans fix
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999339 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 11:43:36 +00:00
Nick Burch
32b9522fd4
Apply patch+test from bug #48325 - If a HSSF header or footer lacks left/right/centre information, assume it is a centre one
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999320 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 11:33:21 +00:00
Nick Burch
39a185e9a7
Fix bug #49966 - Correctly remove calcChain entries for XSSF cells that stop holding formulas
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999314 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 11:16:12 +00:00
Nick Burch
d3d674d250
Add missing record, and fix a few indents
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999313 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 11:15:07 +00:00
Nick Burch
c1a78f0f01
Fix bug #47582 - XSSFCellStyle support for creating a style in one workbook based on a style from a different one
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999096 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 20:10:14 +00:00
Nick Burch
c225333112
Fix bug #49931 - Avoid concurrency problems when re-ordering multiple HSSF header records for a PageSettingsBlock
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998967 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 16:00:50 +00:00
Nick Burch
cbe4cd8b21
Fix bug #49765 - Fix XWPFDocument.addPicture so that it correctly sets up relationships
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998960 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 15:43:07 +00:00
Nick Burch
cc419a3a85
Work inspired by bug #48018 - get HWPF lists more consistent in read vs write, and preserve order as apparently that matters. Includes a fair number of list related unit tests, but not for everything
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998943 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 14:26:49 +00:00
Nick Burch
ca0fc0ec1e
Apply patch from bug #49820 - Fix HWPF paragraph levels, so that outline levels can be properly fetched
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998897 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 11:45:53 +00:00
Nick Burch
50b44decce
Add test that shows that bug #45877 has already been fixed
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998634 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 11:52:20 +00:00
Nick Burch
1e2b747f8f
Hopefully fix bug #47271 - Avoid infinite loops on broken HWPF documents with a corrupt CHP style with a parent of itself
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998625 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 10:16:06 +00:00
Nick Burch
8043f38bd7
More fixes for bug #49933 , workaround the fact that some word6/word95 SEPX entries are compressed differently, and we don't have the specs for how they're stored
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998621 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 09:59:10 +00:00
Nick Burch
100095bcb9
Fix bug #49936 - Handle HWPF documents with problematic HeaderStories better
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998146 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 14:14:19 +00:00
Nick Burch
c07e529c03
Fix support for sections in old word 6 / word 95 files
...
Improve unit testing for HWPFOldDocument
Sprm fix also improves some HWPFDocument files too!
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998131 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 13:46:11 +00:00
Nick Burch
be03b86543
Fix generics warning
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998128 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 13:43:07 +00:00
Nick Burch
78e6e00e2d
Fix bug #49941 - Correctly handle space preservation of XSSFRichTextRuns when applying fonts to parts of the string
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@997811 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 16:01:12 +00:00
Nick Burch
d791eb68a9
Add disabled, failing unit test for bug #49940
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@997752 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 13:46:17 +00:00
Nick Burch
0e504bd9ca
Add a few more test asserts
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@997751 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 13:45:54 +00:00
Nick Burch
45684ba382
Update the download site for 3.7 beta 2
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@997433 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 18:05:55 +00:00
Nick Burch
9647ab8976
Add some more paragraph property documentation and tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@997413 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 17:38:50 +00:00
Nick Burch
58d1404684
Various XWPF picture tweaks and more unit tests
...
Note that XWPFRun -> XWPFPicture currently only works with the full ooxml schemas file, and not with poi-ooxml-schemas, due to some sort of missing resources around the namespace switch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@997037 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 18:50:10 +00:00
Nick Burch
3f972827af
Fix up imports to remove un-used ones
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996980 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 16:39:34 +00:00
Nick Burch
52d7f084be
Correct XWPFRun detection of bold/italic in a paragraph with multiple runs of different styles
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996976 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 16:32:02 +00:00
Nick Burch
6c8a90d054
Link XWPFPicture to XWPFRun, so that embedded pictures can be access from where they live in the text stream
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996927 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 14:52:35 +00:00
Nick Burch
7fad16fd1b
XWPF paragraph improvements - Make XWPFParagraph make more use of XWPFRun, and less on internal StringBuffers. Also improve handling of Hyperlinks inside XWPFParagraph objects through XWPFHyperlinkRun
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996899 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 13:46:22 +00:00
Nick Burch
77f5742c75
Add a getBodyElements() method to XWPF IBody, to make access to embedded paragraphs and tables easier, and a few tidy-ups
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996849 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 11:34:33 +00:00
Nick Burch
bc37e5bf28
More XSLFRelation entries for common .pptx file parts
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996506 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 11:45:34 +00:00
Yegor Kozlov
0528306b33
fixed evaluation of shared formulas in XSSF, see Bugzilla 49872
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996265 13f79535-47bb-0310-9956-ffa450edef68
2010-09-12 08:54:45 +00:00
Yegor Kozlov
1f6833c72d
avoid corruption of XSSFWorkbook after removing all merged cells from sheet, see Bugzilla 49895
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996148 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 13:48:00 +00:00
Yegor Kozlov
442579c326
fixed inconsistent behaviour between HSSF and XSSF when creating consecutive names, see Bugzilla 49907
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996136 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 12:45:59 +00:00
Nick Burch
216bcfea03
Tweak hssf and hwpf image mime types for wmf/emf to match those used by XSSF/XWPF
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995943 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 19:15:16 +00:00
Nick Burch
96b0aea310
Improve documentation of some of the HWPF picture stuff, and add unit tests for images of embeded documents
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995807 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 14:37:45 +00:00
Nick Burch
2b9a63d38d
Add getMimeType() method to HWPF Picture, and fix some generics warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995464 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 15:30:55 +00:00
Nick Burch
dac67e887e
Fix generics warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995445 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 14:28:14 +00:00
Nick Burch
60ff5c056d
Tweak constructor to be more open, and fix some generics warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995429 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 13:57:05 +00:00
Maxim Valyanskiy
63beafeb10
Add license headers to Ole10Native-related classes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995427 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 13:43:51 +00:00
Maxim Valyanskiy
794621733b
update status.xml (code for reading Ole10Native data)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995416 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 13:23:54 +00:00
Maxim Valyanskiy
1e25322d85
Add code for reading Ole10Native data
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995415 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 13:18:48 +00:00
Nick Burch
65532c473a
Remove 1.6isms which prevent compilation on Java 1.5
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995386 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 11:42:24 +00:00
Nick Burch
fc1980e939
Add getMimeType() method to HSSF/XSSF PictureData, alongside existing file extension
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995360 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 09:28:04 +00:00
Yegor Kozlov
05593e6902
allow sheet names longer than 31 chars in XSSF, enforce name uniqueness on the first 31 chars
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@993246 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 07:09:49 +00:00
Yegor Kozlov
d55edf3f78
improved API for hiding sheets, see Bugzilla 49878
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992772 13f79535-47bb-0310-9956-ffa450edef68
2010-09-05 12:53:07 +00:00
Yegor Kozlov
3744428426
fixed XSSFWorkbook.createSheet to throw exception if sheet name begins or ends with a single quote ('), see Bugzilla 49875
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992629 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 15:56:29 +00:00
Yegor Kozlov
c6219cadca
fixed XSSFFormulaEvaluator to support blank cells, added BaseTestFormulaEvaluator - a common superclass for testing implementations of FormulaEvaluator
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992620 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 15:03:48 +00:00
Yegor Kozlov
7ddd3d1715
added a getter for _iStartAt in ListFormatOverrideLevel
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992611 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 14:15:55 +00:00
Yegor Kozlov
acd3101b82
change cell type to error when setting Double.NaN or Infinities, see Bugzilla 49761
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992591 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 12:33:09 +00:00
Yegor Kozlov
25ff8a5c80
ensure that CTNumPr is included in poi-ooxml-schemas.jar (Bugzilla 49833)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992574 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 10:05:38 +00:00
Yegor Kozlov
c0d7683f9f
fixed LEFT and RIGHT to return #VALUE! when called with a negative operand, see Bugzilla 49841
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992570 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 09:48:34 +00:00
Yegor Kozlov
2a9019985f
added ZipFileAssert, this file was in the original OpenXML4J package but wasn't included in POI-3.5
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992551 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 06:33:22 +00:00
Yegor Kozlov
5df572a3b6
fixed evaluation of XSSF workbooks containing formulas with reference errors (#REF!), see Bugzilla 49783
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@989100 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 13:29:55 +00:00
Yegor Kozlov
424948b35a
fixed fetching names of user defined styles, see Bugzila 49751
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@987256 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 18:08:54 +00:00
Yegor Kozlov
74c34444a8
support for protecting a XSSF workbook, see Bugzilla #48900
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@986649 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 12:49:05 +00:00
Yegor Kozlov
8f4aff0e1a
fixed FormulaParser to correctly process defined names with underscore, see bugzilla 49725
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@984823 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 15:10:12 +00:00
Yegor Kozlov
988a5583dd
added support for RANDBETWEEN(), see Bugzilla 48526
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@984796 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 14:14:26 +00:00
Nick Burch
24b5b21fd5
tweak dependency list of ooxml-schemas jar
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@984786 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 13:59:45 +00:00
Nick Burch
b28da530ab
Update the index page for 3.7 Beta 2
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@984446 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 15:38:55 +00:00
Yegor Kozlov
1371cca98f
fixed OperandResolver to correctly handle inputs with leading decimal place, see Bug #49723
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@984161 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 18:49:21 +00:00
Nick Burch
8738b8858b
Remove svn:executable property from a series of files that didn't need it set
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@983630 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 13:12:52 +00:00
Yegor Kozlov
75656c36d9
initial support for excel auto-filters
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@983382 13f79535-47bb-0310-9956-ffa450edef68
2010-08-08 11:11:38 +00:00
Yegor Kozlov
7ff307c17a
optimized performance of HSSFCell#setHyperlink
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@983362 13f79535-47bb-0310-9956-ffa450edef68
2010-08-08 08:04:28 +00:00
Yegor Kozlov
c9a7354786
close OPC package before assertion, otherwise the test fails on Win7 (unix-based systems always pass)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982911 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 09:03:32 +00:00
Yegor Kozlov
140e11364b
increased allowed range in TestHSSFSheet#testAutoSizeDate() to make tests on MacOS X pass
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982909 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 08:59:12 +00:00
Nick Burch
1c14afdd79
Add a dist exclude, and a missing header
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982544 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05 11:20:25 +00:00
Nick Burch
0612929bba
Prepare for 3.7 beta 2
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982336 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 17:24:05 +00:00
Nick Burch
8dcf35452d
Support nested outlook files in ExtractorFactory
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982334 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 17:22:15 +00:00
Nick Burch
514e6be1fe
Fix bug #47990 - Support for .msg attachments within a MAPIMessage .msg
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982331 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 17:08:39 +00:00
Nick Burch
3c4946472b
Improve handling and warnings when closing OPCPackage objects
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982311 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 15:58:51 +00:00
Nick Burch
654c53efc8
Fix bug #49702 - Correct XSSFWorkbook.getNumCellStyles to check the right styles list
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982269 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 14:40:54 +00:00
Nick Burch
f3d277fa24
Add patch from bug #49690 - Add WorkbookUtil, which provies a way of generating valid sheet names
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982260 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 14:13:42 +00:00
Maxim Valyanskiy
e52778847c
hwpf: append any character data before paragraphs to first paragraph
...
(workaround for bug#48075)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982238 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 12:43:58 +00:00
Nick Burch
8486ae97d3
Fix bug #49694 - Use DataFormatter when autosizing columns, to better match the real display width of formatted cells
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@981969 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 17:12:02 +00:00
Nick Burch
ce0fea767f
Fix bug #49441 - Allow overriding and guessing of HSMF non-unicode string encodings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@981947 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 16:06:21 +00:00
Nick Burch
fe76361d67
Fix bug #49689 - Allow the setting of user style names on newly created HSSF cell styles
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@981930 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 15:29:56 +00:00
Nick Burch
57f51af933
Commit unit test change too
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@980417 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 12:02:03 +00:00
Nick Burch
443dd75e04
Refactor to make it easier to tell which content types each POIXMLTextExtractor handles
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@980414 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 11:57:08 +00:00
Yegor Kozlov
507d4dd3a5
Added clone support for UserSView* and Feat* families of records, see bug #49649
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@980102 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 15:51:57 +00:00
Yegor Kozlov
f03598469a
Support for escaped unicode characters in Shared String Table, see bug #49653
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979952 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 05:48:27 +00:00
Yegor Kozlov
0cc825e8dc
prevent ArrayIndexOutOfBoundException in UnknowEscherRecord, see bug #49579
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979747 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 15:24:25 +00:00
Maxim Valyanskiy
c21d04a68b
wpf: More CharactedRun mapping fixes for fast-saved documents
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979618 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 09:38:54 +00:00
Yegor Kozlov
d264f92d24
preserve leading and trailing white spaces in XWPFRun, see bug #49593
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979540 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 05:38:48 +00:00
Yegor Kozlov
84811da73d
insert the content of fldSimple fields into the XWPFWordTextExtractor output, see bug #49455
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979538 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 05:19:15 +00:00
Yegor Kozlov
de13c1193c
Fixed parsing formulas containing defined names beginning with an underscore, see Bug 9640
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979329 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 15:52:57 +00:00
Maxim Valyanskiy
8fab18e37a
More fixes for auto-saved documents
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979286 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 14:04:27 +00:00
Yegor Kozlov
9007623728
support for POISSON function, see bug #49538
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979255 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 12:13:07 +00:00
Yegor Kozlov
db6dcad864
added a failing unit test for bug #49612
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@978848 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 11:33:59 +00:00
Nick Burch
46bbc6add4
Fix bug #49524 - Support for setting cell text to be vertically rotated, via style.setRotation(0xff)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@965267 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 18:00:36 +00:00
Yegor Kozlov
8047e7e84d
do case-insensitive comparison when detecting Content_Types part, tolerate backslashes in part names. see bug 49609
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@965258 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 16:12:17 +00:00
Nick Burch
bea0801c24
Patch from Jens Gotze from bug #49581 - Ability to add, modify and remove series from HSSF Charts
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@964855 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 16:46:42 +00:00
Nick Burch
7732426887
Patch from Andrew Shirley from bug #49185 - Support for HSSFNames where the comment is stored in a NameCommentRecord
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@964845 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 16:02:09 +00:00
Nick Burch
7483d655a6
Fix indent, and make the mime type matching more consistent
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@964844 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 16:01:13 +00:00
Nick Burch
6d93fb9d5d
49599 - Correct writing of NoteRecord author text when switching between ASCII and Unicode
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@964800 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 13:57:17 +00:00
Maxim Valyanskiy
8c763967ab
hwpf: Range.findRange fix for out-of-range searches
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@962520 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 13:30:43 +00:00
Maxim Valyanskiy
7aba97ba6e
hwpf.usermodel.Range: use generics & remove redundant type casts
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@961347 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 10:57:14 +00:00
Maxim Valyanskiy
de525d07cd
HWPFDocument: minor cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@961343 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 10:42:23 +00:00
Maxim Valyanskiy
8661c09c35
HWPF: test auto-saved document
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@961342 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 10:41:17 +00:00
Maxim Valyanskiy
22730f9a12
HWPF: better fix for TextPieceTable.getCharIndex()
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960922 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 15:45:36 +00:00
Maxim Valyanskiy
69cc14c377
update status.xml
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960594 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 13:19:35 +00:00
Maxim Valyanskiy
78b0c18ade
HWPF: Improve reading of auto-saved ("complex") document
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960587 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 12:56:02 +00:00
Nick Burch
8c42604abf
Fix deprecated warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960117 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 21:45:40 +00:00
Nick Burch
14b89b8d6a
Fix deprecated warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960115 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 21:35:06 +00:00
Nick Burch
8f7d1e9a25
Fix deprecated warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960111 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 21:29:32 +00:00
Nick Burch
2d03e05f92
Fix deprecated warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960106 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 21:16:40 +00:00
Nick Burch
256e73d16d
More Word 6 / Word 95 Support
...
HWPFOldDocument now processes a few more table sections, and so we can fake up some
basic Ranges. This allows us to do paragraph level text extraction
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960102 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 20:59:30 +00:00
Nick Burch
01ec911b74
Fix generics warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960094 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 20:01:42 +00:00
Nick Burch
71048002e4
Update the contributor guidelines (microsoft docs, smaller patches are better etc), and ensure we only have the one copy in /guidelines.html
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960038 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 15:51:48 +00:00
Nick Burch
9973978524
Update HWPF documentation to include the newly added word 6/95 text extraction support, as well as mention XWPF + Microsoft spec docs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@959384 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 17:40:33 +00:00
Nick Burch
6ee6d9095f
Enable Word6Extractor in ExtractorFactory
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@959360 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 16:08:10 +00:00
Nick Burch
30848a80aa
Basic text extraction support for old Word 6 and Word 95 documents via some HWPF extensions
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@959346 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 15:13:10 +00:00
Nick Burch
0910eb1ab5
Fix generics warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@959335 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 14:41:03 +00:00
Nick Burch
da6d33456f
Fix bug #49508 - Allow the addition of paragraphs to XWPF Table Cells. (Also fixed a few related warnings too)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@958972 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 14:04:11 +00:00
Nick Burch
afbf123c7f
Fix bug #49446 - Don't consider 17.16.23 field codes as properly part of the paragraph's text
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@958965 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 13:38:24 +00:00
Nick Burch
5f323eb6ea
More XSLF tests for the less common extensions, and initial support for .thmx (theme) files - currently just stretches to not breaking...
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@958923 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 11:07:27 +00:00
Yegor Kozlov
2876f4167a
removed duplicates of PICTURE_TYPE_* constants defined in the parent Workbook interface
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@958561 13f79535-47bb-0310-9956-ffa450edef68
2010-06-28 12:52:00 +00:00
Nick Burch
257f11f1a9
Remove a few deprecated warnings for when compiling against ooxml-schemas-1.1
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@956900 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 13:59:44 +00:00
Nick Burch
aec0644352
Add index and download entries for the 3.7 beta 1 release
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@956854 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 11:38:59 +00:00
Nick Burch
66793405d8
Revert r954835 now that POI 3.7 beta1 is out - go back to using 1.5 compiled editions of the ooxml schemas
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@956850 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 11:08:21 +00:00
Nick Burch
8c40e52769
New expected release date for 3.7 beta 1
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@954837 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 11:42:09 +00:00
Nick Burch
5450f371ed
Temporary switch back to using only ooxml-schemas-1.0 (no lists). Revert this commit once 3.7 beta1 is out, so we can continue testing the new ooxml-schemas-1.1 (java 1.5) stuff
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@954835 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 11:41:06 +00:00
Nick Burch
e69532597f
Add main method
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@954834 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 11:40:00 +00:00
Nick Burch
6060331081
Fix bug #49432 - Lazy caching of XSSFComment CTComment objects by reference, to make repeated comment searching faster
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@954521 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 15:43:47 +00:00
Nick Burch
26598e3179
Notes on ooxml-schemas 1.1 and 1.0
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@954511 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 15:20:19 +00:00
Nick Burch
ad33151624
Better handling of Outlook messages in HSMF when there's no recipient email address
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@954476 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 13:47:22 +00:00
Nick Burch
5c3415e09c
When formatting numbers with DataFormatter, handle brackets following colours
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@954416 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 11:45:09 +00:00
Yegor Kozlov
5c68b8bd76
force ASCII encoding when compiling sources, fixed unmappable characters for encoding ASCII
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@954172 13f79535-47bb-0310-9956-ffa450edef68
2010-06-13 06:26:14 +00:00
Nick Burch
3d9281b8da
Remove spurious svn:executable flags
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953725 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 15:22:49 +00:00
Nick Burch
6c5710a6af
The next release will be 3.7 beta 2
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953722 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 15:17:15 +00:00
Nick Burch
06ab7e3bdb
Keep compatibility for now, and alert people to move to the new class
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953721 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 15:16:49 +00:00
Nick Burch
6de45a3b30
A few little tweaks to the contribution guide
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953716 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 15:12:19 +00:00
Nick Burch
09e0578165
Fix 1.6-isms from the patch from bug #48574
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953707 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 14:46:29 +00:00
Nick Burch
0447e031da
Apply (with slight tweaks) patch from Phillip Epp from bug #48574 - further XWPF support for tables, paragraphs, including enhanced support for adding new ones
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953704 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 14:37:58 +00:00
Nick Burch
05ddf6a51e
Fix for bug #48245 - tweak HWPF table cell detection to work across more files
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953694 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 13:29:44 +00:00
Nick Burch
e92c009814
Apply, with a few tweaks, the patch from bug #48996 - initial support for External Name References in HSSF formula evaluation
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953395 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 17:07:06 +00:00
Nick Burch
bf4e6ff464
Add additional RevisionMarkAuthorTable test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953343 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 15:02:05 +00:00
Nick Burch
ff39e177d1
Add more to test for bug #46664 , including the last bit which is disabled pending a fuller fix
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953290 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 11:56:56 +00:00
Nick Burch
2157d942f2
Fix bug #46664 - fix up Tab IDs when adding new sheets, so that print areas don't end up invalid
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953180 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 22:56:16 +00:00
Yegor Kozlov
8c4341facf
cleaned javadoc warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951920 13f79535-47bb-0310-9956-ffa450edef68
2010-06-06 18:19:08 +00:00
Nick Burch
d29d1d7d9b
Apply with tweaks the patch from bug #45269 - improve replaceText on HWPF ranges
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951498 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 17:19:31 +00:00
Nick Burch
0e86939f7e
Add tests to verify that XSSF and HSSF do the same thing with retrieving the wrong type of value from string/numberic/formula cells, and tweak documentation to match the long standing behaviour (bug #47815 )
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951466 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 15:58:02 +00:00
Nick Burch
3352f76127
Make the orders match the names, as otherwise people get confused (bug #49381 for example)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951453 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 15:41:32 +00:00
Nick Burch
74c40ef943
Add unit test to verify that bug #47490 no longer exists
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951446 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 15:33:47 +00:00
Nick Burch
80ff41d36a
Add unit test for bug #45970 - shows that we can read Formulas with URL based references in them, but we can't change them properly. Part of the unit test is disabled for now
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951420 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 14:40:01 +00:00
Nick Burch
d14beb4b84
Fix bug #49386 - avoid NPE when extracting OOXML file properties which are dates
...
Also tidy up POIXMLPropertiesTextExtractor to exclude properties which are missing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951384 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 12:02:36 +00:00
Nick Burch
45c4b6bf8f
Tweak @link reference to avoid compiler issues
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951055 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 16:23:40 +00:00
Nick Burch
f9fa636e6d
Remove un-used imports
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951053 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 16:21:41 +00:00
Nick Burch
ee937dd9d0
Fix bug #49377 - only call DecimalFormat.setRoundingMode on Java 1.6 - it's needed to match excel's rendering of numbers
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951052 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 16:20:26 +00:00
Nick Burch
da0c5ad895
Fix bug #49378 - correct 1.6ism
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951048 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 16:13:38 +00:00
Nick Burch
65d7431a9f
Parse the HSMF headers chunk if present, and use it to find Dates in text extraction if needed
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951034 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 15:33:54 +00:00
Nick Burch
835efd63de
Fix 1.6ism
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951016 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 14:58:02 +00:00
Nick Burch
5cd9ac0ccf
Fix inspired by bug #48494 - detect and support time formats like HH:MM;HH:MM
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950665 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 17:17:42 +00:00
Nick Burch
53f8d4561f
Another fix inspired by bug #48494 - have ExcelExtractor make use of HSSFDataFormatter, so that numbers and dates come out closer to how Excel would render them
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950657 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 16:51:05 +00:00
Nick Burch
393e672176
Fix bug #48494 - have EventBasedExcelExtractor make use of HSSFDataFormatter, so that numbers and dates come out closer to how Excel would render them
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950616 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 16:13:04 +00:00
Nick Burch
b288c631f2
Fix bug #49096 - add clone support to Chart begin and end records, to allow cloning of more Chart containing sheets
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950611 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 16:01:26 +00:00
Nick Burch
cee16bc83b
List attachment names in the output of OutlookTextExtractor (to get attachment contents, use ExtractorFactory as normal)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950595 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 15:24:11 +00:00
Nick Burch
91976c60d8
Update the FAQ with a note about poi-ooxml-schemas vs the full ooxml-schemas
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950499 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 11:30:13 +00:00
Nick Burch
e6879026b5
Fix inspired by bug #48872 - allow DateFormatter.formatRawCellContents to handle 1904 as well as 1900 dates
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950117 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 15:31:51 +00:00
Nick Burch
fafc079bfe
More work inspired by bug #48872 - handle MMMMM and elapsed time formatting rules in DataFormatter
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950113 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 15:20:57 +00:00
Nick Burch
b303c57d54
More fixes inspired by bug #48872 - handle zero formatting rules, and better color detection in DataFormatter
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950035 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 12:12:22 +00:00
Yegor Kozlov
ee9210d27b
ensure english locale for POI build
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@949511 13f79535-47bb-0310-9956-ffa450edef68
2010-05-30 12:39:42 +00:00
Yegor Kozlov
deae43db43
more cleanup of deprecation warnings generated by javac
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@949485 13f79535-47bb-0310-9956-ffa450edef68
2010-05-30 06:57:23 +00:00
Yegor Kozlov
6ee427ddf9
fixed construction of the DIB picture header, see Bugzilla 43161
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@949483 13f79535-47bb-0310-9956-ffa450edef68
2010-05-30 06:56:32 +00:00
Yegor Kozlov
55c924c5d2
removed deprecation warnings to keep javac quiet
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@949434 13f79535-47bb-0310-9956-ffa450edef68
2010-05-29 18:31:04 +00:00
Yegor Kozlov
8c6e2767fa
optimized serialization of XSSFRow - avoid re-ordering of CTCell beans if they are already ordered
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@949375 13f79535-47bb-0310-9956-ffa450edef68
2010-05-29 10:28:04 +00:00