Commit Graph

4035 Commits

Author SHA1 Message Date
Sergey Vladimirov
0edc7c2579 correctly handle overlapping fields and bookmarks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150598 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 09:02:30 +00:00
Sergey Vladimirov
c7f970420a do not use block-inline property compactization in FO (result is a target to automate processing anyway)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150596 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 09:02:01 +00:00
Sergey Vladimirov
e8b148eaef compact similar CHPX after restoring bin table
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150595 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 09:01:10 +00:00
Sergey Vladimirov
aa6a387c8f add bookmarks dump feature to HWPFLister
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150593 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 09:00:31 +00:00
Sergey Vladimirov
dce04f66d4 use autogenerated LFO type definition
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150475 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 19:23:20 +00:00
Sergey Vladimirov
a661f497d0 new test case for 47731 issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150463 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 18:55:57 +00:00
Sergey Vladimirov
a8e015ab9f Bug 44431 - HWPFDocument.write destroys fields - seems to be fixed some time ago, but other bugs prevented to see it.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150461 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 18:40:42 +00:00
Sergey Vladimirov
01036a1f1e use new table streams and data streams after write()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150458 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 18:35:48 +00:00
Sergey Vladimirov
5fa76e4209 store unknown structures offsets and sizes in FIB
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150457 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 18:35:31 +00:00
Sergey Vladimirov
cbd29dbda3 arrays shall be compared using Arrays.toString()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150455 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 18:35:03 +00:00
Yegor Kozlov
fd4a0b0bc4 renamed CalculateMortgage to CalculateMortgageFunction in test build script too to keep Gump happy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150085 13f79535-47bb-0310-9956-ffa450edef68
2011-07-23 11:24:12 +00:00
Sergey Vladimirov
6e3df0ad59 remove debug output code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150066 13f79535-47bb-0310-9956-ffa450edef68
2011-07-23 08:37:53 +00:00
Sergey Vladimirov
18c247b0d3 move Field interface to usermodel and create Fields interface as user-friendly replace for FieldsTables
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149704 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 19:38:14 +00:00
Sergey Vladimirov
584897b99e fix notes numbering and update test cases for Word-to-FO converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149703 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 19:36:46 +00:00
Sergey Vladimirov
23c635aa24 fix ArrayIndexOutOfBoundsException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149617 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 14:28:54 +00:00
Sergey Vladimirov
e9b2bef3e8 do not allow two elements to have same IDs in result of Word-to-FO converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149610 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 14:06:01 +00:00
Sergey Vladimirov
8271fd2f73 fix missing spaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149609 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 14:05:39 +00:00
Sergey Vladimirov
7cbdf296fb Fix table processing. Spanned columns / different width / spanned rows are correcly rendered in HTML and FO now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149593 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 12:49:29 +00:00
Sergey Vladimirov
e86ef4f8bf fix: allow text breaks in table cells after Word-to-FO converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149592 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 12:48:15 +00:00
Sergey Vladimirov
e956fa6fbf better processing of word tables in cases different rows have different cell widths
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149528 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 09:42:32 +00:00
Sergey Vladimirov
4bb6a792f8 better error message
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149527 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 09:41:38 +00:00
Nick Burch
22bf8bdef5 Tweak the error message to make it clearer how one should work with this part
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149196 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 14:37:50 +00:00
Nick Burch
f6e2b0a90d Add a disabled unit test for bug #51535
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149181 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 13:56:20 +00:00
Nick Burch
ac8a434d39 Sort the list by surname
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149168 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 13:21:28 +00:00
Yegor Kozlov
838d2d135a I'm PMC Chair of Apache POI now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149152 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 12:56:01 +00:00
Yegor Kozlov
81a8e6eb54 renamed excelant test class to avoid collision with poi-examples when all classes compiled in the same directory, also removed duplicated log4j.properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149134 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 11:55:05 +00:00
Yegor Kozlov
64bc751847 added @Beta annotation to mark code that is subject to incompatible changes in future releases
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149119 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 11:09:02 +00:00
Yegor Kozlov
e0322786b1 bug 50401 - fixed EscherProperty to return property name instead of 'unknown' for complex properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149111 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 11:00:41 +00:00
Sergey Vladimirov
09653df7bc compact fo:inline's in FO output of Word-to-FO converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149087 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 09:18:38 +00:00
Sergey Vladimirov
fcac718bfd update TestWordToHtmlConverter tests (expected results)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149037 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 04:30:08 +00:00
Sergey Vladimirov
8aed736589 nicer HTML for endnotes in Word-to-HTML converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149036 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 04:26:38 +00:00
Sergey Vladimirov
77f0cf4b83 more compact HTML in Word-to-HTML converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149035 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 04:25:39 +00:00
Sergey Vladimirov
50b74657bc fix missing table borders in HTML in Word-to-HTML converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149034 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 04:06:36 +00:00
Sergey Vladimirov
a110ea84ae nicer HTML in Word-to-HTML converter for one-section document
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149033 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 04:06:12 +00:00
Sergey Vladimirov
a38b32750b better default css for endnotes in Word-to-HTML converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149031 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 03:55:24 +00:00
Sergey Vladimirov
ee1624ad5b fix CSS for subscript/superscript in Word-to-HTML converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149030 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 03:54:46 +00:00
Sergey Vladimirov
5561ba40b3 fix missing css in Word-to-HTML converter if getDocument() not called
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149026 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 03:38:52 +00:00
Sergey Vladimirov
b4ae01ff14 fix loosed formatting to endnotes and footnotes in Word-to-HTML and Word-to-FO converters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149022 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 03:34:56 +00:00
Sergey Vladimirov
3f0760921f add processing of hyphen chars in Word-to-HTML and Word-to-FO converters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149020 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 03:33:29 +00:00
Sergey Vladimirov
d7e5c4681e fix XLS:FO footnotes and endnotes processing fo Word-to-FO converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149011 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 02:47:04 +00:00
Sergey Vladimirov
d3b9fa47e6 add autonumbered endnotes and footnotes support in Word-to-HTML and Word-to-FO converters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148974 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 23:24:16 +00:00
Sergey Vladimirov
583802a735 initial support for endnotes and footnotes in HWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148959 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 22:31:59 +00:00
Sergey Vladimirov
b71c78c384 simplify some HWPFDocument.get*Range() methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148860 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 17:29:10 +00:00
Sergey Vladimirov
6d8949ef0c add bookmarks support for Word-to-HTML and Word-to-FO converters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148824 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 16:01:19 +00:00
Sergey Vladimirov
2113215046 split BookmarksTables to internal and user-friendly API
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148810 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 15:03:43 +00:00
Yegor Kozlov
77277a7acd fixed bug 51470 - avoid exception when cloning XSSF sheets with background images
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148724 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 12:29:27 +00:00
Yegor Kozlov
03fe1959f2 fixed bug 51481 - fixed autofilters in HSSF to avoid warnings in Excel 2007
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148700 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 11:04:31 +00:00
Yegor Kozlov
44521220e5 Fixed bug 51533 - Avoid exception when changing name of a sheet containing shared formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148673 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 09:42:31 +00:00
Yegor Kozlov
db284964ab more progress with support for charts in XSSF, see patch 51196
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148642 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 08:03:23 +00:00
Yegor Kozlov
59b5b941b3 Support for appending images to existing drawings in HSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148637 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 07:38:01 +00:00
Sergey Vladimirov
48c26bf223 added initial support for bookmark
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148428 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 16:18:27 +00:00
Sergey Vladimirov
acc635adee introduce SubdocumentPart and simplify CP start/end FIB API
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148303 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 12:51:11 +00:00
Yegor Kozlov
a1223d163e bug 46250 - Fixed cloning worksheets with images
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148295 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 12:19:48 +00:00
Sergey Vladimirov
05c7df2042 introduce DocumentPart enum and simplify fields access API
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148280 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 11:49:48 +00:00
Sergey Vladimirov
88a00c69c5 add dump fields feature
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148270 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 11:03:09 +00:00
Sergey Vladimirov
92e5199a95 compact HTML output of WordToHtmlConverter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148269 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 10:51:23 +00:00
Sergey Vladimirov
1ba8c3e781 speed improvement for rebuilding CHPX
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148115 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 00:50:17 +00:00
Sergey Vladimirov
2e6aa3d153 simplify internal API
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148095 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 23:21:46 +00:00
Sergey Vladimirov
9d40d7022d add support for merged cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148089 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 23:09:11 +00:00
Nick Burch
2a1dc583b6 Fix a 1.6-ism - TreeMap.firstEntry
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148056 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 21:23:32 +00:00
Sergey Vladimirov
ce0a61f8e6 fix compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148046 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 20:49:27 +00:00
Sergey Vladimirov
7312a39a5e fix compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148045 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 20:46:10 +00:00
Sergey Vladimirov
29e9f487d5 compact result HTML in Excel-to-HTML converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148040 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 20:27:35 +00:00
Sergey Vladimirov
8e4853b55e fix test case name for TestExcelToHtmlConverterSuite
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148039 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 20:27:11 +00:00
Nick Burch
926573660d Add a basic FAQ entry for how to report problems when you can't share the file. For OOXML, give the normal advice of unzip + view xml. For OLE2 ones, suggest the new BFF as well as the existing dev tool eg BiffViewer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148036 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 20:18:32 +00:00
Sergey Vladimirov
634200d3c3 fix compilation error
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148024 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 19:51:08 +00:00
Sergey Vladimirov
c8894ce11f very small additional speed improvement (less garbage)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148006 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 19:02:16 +00:00
Sergey Vladimirov
9f7257440b fix Bug 51524 -- PapBinTable constructor is slow (regression)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148002 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 18:44:03 +00:00
Sergey Vladimirov
eab1e5cfdb preserve align in case of "divved" cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147941 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 15:55:52 +00:00
Sergey Vladimirov
9a3f3dd94f add tricky mode (disabled by default) to output cell's text in next cells, if they are empty (non-optimal, thought)
add option (enabled by default) to change leading spaces into   entities

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147933 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 15:37:48 +00:00
Sergey Vladimirov
3743efebeb fix table and table's cells css processing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147828 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 12:25:10 +00:00
Sergey Vladimirov
cacef02b5b do not output hidden rows and columns by default (and add options to do so)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147808 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 11:07:51 +00:00
Sergey Vladimirov
7a13f32dac made getHighlightColor() public, so convertor don't need to clone CHP info
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147454 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 16:33:13 +00:00
Sergey Vladimirov
deb0c2eb68 made getHighlightColor() public, so convertor don't need to clone CHP info
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147453 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 16:32:27 +00:00
Sergey Vladimirov
c2c9ea3589 processImage() is moved to converter, remove setImageProperties from Utils
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147451 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 16:20:45 +00:00
Sergey Vladimirov
6815f67967 introduce picture descriptor structure (internal), now Picture class extends it;
add test case with correctly cropped picture info

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147450 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 16:19:49 +00:00
Sergey Vladimirov
572c611187 allow to dump pictures
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147420 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 12:36:55 +00:00
Sergey Vladimirov
09e3d77cd6 a bit more comments (quotes from specifications)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147419 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 12:36:45 +00:00
Sergey Vladimirov
df3357b85e trivial fix for ShadingDescriptor.toString()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147418 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 12:36:31 +00:00
Sergey Vladimirov
ac23837695 update CHP definition
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147411 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 11:57:40 +00:00
Sergey Vladimirov
66adcb6351 update AllHWPFTests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147400 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 10:19:13 +00:00
Sergey Vladimirov
8a5f656a67 update AllHWPFTests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147399 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 10:17:35 +00:00
Sergey Vladimirov
020c6d70c0 update PAP definition
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147398 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 10:09:57 +00:00
Sergey Vladimirov
ff7328a1d2 deprecate code working directly with PAPX / CHPX / SEPX
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147397 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 10:06:54 +00:00
Sergey Vladimirov
bef7e6c0f4 add default values to LineSpacingDescriptor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147393 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 09:31:57 +00:00
Sergey Vladimirov
8751c669de remove unused method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147391 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 09:26:29 +00:00
Sergey Vladimirov
f18e5fb8e2 make some section properties public to prevent access from converters using reflection
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147390 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 09:25:13 +00:00
Sergey Vladimirov
0dbe53416a update SEP definition
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147387 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 09:12:22 +00:00
Sergey Vladimirov
b8833e78c9 update SEP definition
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147385 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 09:10:57 +00:00
Sergey Vladimirov
9b7c834b5a format and sort members
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147384 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 09:10:38 +00:00
Sergey Vladimirov
a54fbd1ada format and sort members
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147379 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 08:17:34 +00:00
Sergey Vladimirov
f3c63c65c1 format and sort members
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147378 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 08:16:00 +00:00
Sergey Vladimirov
f1379b2963 add get/set for _ixchFollow in listLevel
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147377 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 08:11:28 +00:00
Nick Burch
595d545137 Add tests for bug #51514 - NPOIFS based loading
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147188 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 15:19:17 +00:00
Nick Burch
c8ee505300 Fix bug #51514 - Allow HSSFObjectData to work with both POIFS and NPOIFS, and fix some generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147183 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 15:08:51 +00:00
Nick Burch
441c444986 Fix first part of bug #51514 - HSSF copy nodes from NPOIFS
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147179 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 15:02:19 +00:00
Sergey Vladimirov
86988f78de rename methods to make the difference between field end (exclusive) and field end mark offset (inclusive)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147134 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 12:58:14 +00:00
Sergey Vladimirov
285ee2ad58 prevent extra text in field
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147127 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 12:45:44 +00:00
Sergey Vladimirov
d3d59c2096 prevent index out of range exception
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147126 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 12:45:24 +00:00
Sergey Vladimirov
3568e18a60 fix fields processing, improve test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147082 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 10:52:11 +00:00
Yegor Kozlov
3f4627ec37 Bug 51504 - avoid NPE when DefaultRowHeight or DefaultColumnWidth records are missing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147049 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 09:18:09 +00:00
Sergey Vladimirov
aded116bd7 compactify HTML
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147007 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 08:11:43 +00:00
Sergey Vladimirov
9c988fd1cf fix styles output;
add columns and rows headers (optional, on by default);
output sheet headers as h2, not as h1;
output columns widths.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1146142 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 17:10:13 +00:00
Nick Burch
5aafe8b97e Fix bug #51502 - Correct the Subtotal function javadoc entry
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145790 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 21:58:29 +00:00
Sergey Vladimirov
f79348fee9 fix NPE
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145630 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 15:19:17 +00:00
Yegor Kozlov
5d0668da8d support for hyperlinks in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145629 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 15:18:29 +00:00
Sergey Vladimirov
92381ae7d8 add line breaks (0xb) support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145609 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 14:40:06 +00:00
Sergey Vladimirov
5ee8f707be add font replacer interface and default implementation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145604 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 14:17:57 +00:00
Sergey Vladimirov
0a631075ec update TestRangeProperties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145542 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 11:04:43 +00:00
Sergey Vladimirov
e031e07dc9 fix Range::insert<Table>Before() method result boundaries
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145537 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 10:47:53 +00:00
Sergey Vladimirov
ce367bc274 fix TestTextPieceTable test: fix PieceDescriptor.equals() method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145530 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 10:34:58 +00:00
Sergey Vladimirov
83c757f1cb for test cases: do not reconstruct binary tables for read-write tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145499 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 09:09:05 +00:00
Sergey Vladimirov
920e0ee72f convert unicode string constants to \uxxx-s
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145495 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 08:57:05 +00:00
Sergey Vladimirov
70fd79b2ec add more detailed message about missing substring
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145494 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 08:52:12 +00:00
Sergey Vladimirov
75090630ff add initial support for fast-saved files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145410 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 00:40:27 +00:00
Sergey Vladimirov
5fb7c13c38 add ProperyModifier (PRM) field to PieceDescriptor (PD)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145409 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 00:39:53 +00:00
Sergey Vladimirov
6d3bd4e5b4 add toString() to SprmBuffer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145407 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 00:38:39 +00:00
Sergey Vladimirov
d7557a802b add type constants and extends toString() for SprmOperation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145406 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 00:38:07 +00:00
Sergey Vladimirov
169018be01 NPE check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145405 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 00:37:45 +00:00
Sergey Vladimirov
c8bb280df0 make Table elements constructors accepts char positions (as other constructors); fix SprmBuffer usage for PAPX
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145377 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 21:59:33 +00:00
Sergey Vladimirov
98c52813dd make Section.toString() look alike other toString()s
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145375 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 21:58:21 +00:00
Sergey Vladimirov
888489c310 extend TableRow from Range, not from Paragraph
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145346 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 20:53:35 +00:00
Sergey Vladimirov
098cc9fc4f rewrite PAPX / CHPX loading, allowing to read complex files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145342 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 20:49:41 +00:00
Sergey Vladimirov
4a0d32fa98 rename MBD001D0B89.doc to Bug48075.doc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145288 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:45:46 +00:00
Sergey Vladimirov
8430800f64 SEPX uses chars as boundaries coordinates, don't do double conversions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145286 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:41:53 +00:00
Sergey Vladimirov
df4deaf1ee prevent NPE in rare cases
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145284 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:40:34 +00:00
Sergey Vladimirov
bcd98fc6c9 make TableCellDescriptor cloneable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145283 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:40:21 +00:00
Sergey Vladimirov
c8dc8aa6d6 make TableAutoformatLookSpecifier cloneable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145282 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:40:05 +00:00
Sergey Vladimirov
984c180ade ignore PAPX references zero-length text pieces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145281 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:39:18 +00:00
Sergey Vladimirov
8371f13c4d sorting of PAPX is not required, it will be replaced with full rewrite later
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145280 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:39:06 +00:00
Sergey Vladimirov
4e96b040a3 refactor SprmOperation, reducing memory consumption for a bit
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145279 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:38:03 +00:00
Sergey Vladimirov
6769f34c5f allow SprmBuffer to append byte[] (public method)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145277 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:37:28 +00:00
Sergey Vladimirov
a67574d250 SEPX uses chars as boundaries coordinates, don't do double conversions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145276 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:36:37 +00:00
Sergey Vladimirov
2ee84d720a ignore CHPX references zero-length text pieces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145275 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:34:26 +00:00
Sergey Vladimirov
a61064e853 deprecate BytePropertyNode
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145274 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:33:32 +00:00
Sergey Vladimirov
26c1fa750d push boundaries checks down, removing deprecation warnings, remove (unused) cpMin (Word XP) hack
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145075 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 08:57:42 +00:00
Sergey Vladimirov
55c6850928 specify font size metric (pt)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145062 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 08:18:43 +00:00
Sergey Vladimirov
1151cd8b9e fix CSS error in word-to-html
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145061 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 08:14:30 +00:00
Sergey Vladimirov
df9d0a036e fox compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144924 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 18:05:11 +00:00
Sergey Vladimirov
365134f1bd remove unused parameters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144923 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 18:04:17 +00:00
Sergey Vladimirov
b0407b8048 fix generic warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144920 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 18:00:06 +00:00
Sergey Vladimirov
ba0be2ca2d fix Word6/95 test cases: in old format boundaries in SEPX refers to chars, not to bytes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144857 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 13:08:11 +00:00
Sergey Vladimirov
a5407bd08f add toString() to PlexOfCps
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144856 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 13:07:41 +00:00
Sergey Vladimirov
4a0c0f2898 NP check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144853 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 12:59:28 +00:00
Sergey Vladimirov
b3c475a8df more WARNs in log
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144852 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 12:56:36 +00:00
Sergey Vladimirov
6b96874866 shortcut for test case to allow loading bad structure of CHP
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144691 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 16:10:57 +00:00
Sergey Vladimirov
bb9b395b69 Same workaround for CHPX / SEPX, as for PAPX. Disable SPRM processing for Word95 files.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144689 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 16:04:46 +00:00
Sergey Vladimirov
91f3ea74b9 update status and .doc for issue 49933
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144685 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 15:37:04 +00:00
Sergey Vladimirov
b95ff1310d make sure at least English text is extracted
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144684 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 15:36:05 +00:00
Sergey Vladimirov
f23c8a021a temporary(?) workaround for Bug 49933 - Word 6/95 documents with sections cause ArrayIndexOutOfBoundsException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144683 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 15:33:41 +00:00
Sergey Vladimirov
530a209d01 add the same boundaries check to CHPX / PAPX / SEPX for Word95 as for Word97
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144681 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 14:47:19 +00:00
Sergey Vladimirov
1272107604 sort CHPX / PAPX / SEPX tables for Word95 files as well
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144680 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 14:42:37 +00:00
Sergey Vladimirov
c2d4b6babe sort PAPX and SEPX after loading
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144679 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 14:38:42 +00:00
Sergey Vladimirov
2857dc155c better way to check if CPHX references any part of text
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144676 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 14:25:25 +00:00
Sergey Vladimirov
de7cdb2540 add toString() and isEmpty() to ShadingDescriptor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144661 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 12:10:09 +00:00
Sergey Vladimirov
83f87437c0 output text of CHPX
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144659 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 12:09:51 +00:00
Sergey Vladimirov
829a9d18f9 make sure all complex properties are correctly initialized and cloned
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144654 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:39:02 +00:00
Sergey Vladimirov
d4e15abb05 add public clone()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144652 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:36:42 +00:00
Sergey Vladimirov
ddff2fc8ee add public clone()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144651 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:36:11 +00:00
Sergey Vladimirov
de22f56bec improve DropCapSpecifier, add field getters/setters, toString(), isEmpty(), hashCode(), equals()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144649 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:34:16 +00:00
Sergey Vladimirov
a5e5b26013 add isEmpty() and toString() to DateAndTime
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144645 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:26:00 +00:00
Sergey Vladimirov
2a96d74ace add isEmpty() and toString() to LineSpacingDescriptor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144644 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:24:02 +00:00
Sergey Vladimirov
1eba38d7cf fix the same problem with SPX and move deprecation to BytePropertyNode
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144641 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:14:53 +00:00
Sergey Vladimirov
d07d8ec7f7 fix the same problem as with PAPX -- CHPX shall be stored based on text positions, not on bytes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144638 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:08:45 +00:00
Sergey Vladimirov
3e5fd147eb fix compilation problem on JDK 6
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144631 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 10:31:20 +00:00
Sergey Vladimirov
fce856c75c fix comparator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144366 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 15:51:46 +00:00
Sergey Vladimirov
6845dab8b3 organize imports
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144363 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 15:50:06 +00:00
Sergey Vladimirov
338cf7bc4d additional check and workaround for wrong order (fix TestWordExtractorBugs.testBug50688)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144361 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 15:41:40 +00:00
Sergey Vladimirov
a496e6c0fa one of problems linked to 47286 seems to be found -- some CHPX were not saved
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144352 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 15:08:02 +00:00
Nick Burch
ee866292d9 Fix bug #51469 - XSSF support for row styles, to match existing HSSF functionality
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144348 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 14:58:08 +00:00
Sergey Vladimirov
026ef97694 add test case to check if email from Bug47286.doc is present in HTML
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144341 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 14:37:42 +00:00
Sergey Vladimirov
dcf5427b8a simplify work with fields
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144337 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 14:33:01 +00:00
Sergey Vladimirov
63c571ca1f add user-friendly way to access field properties if char is a beginning of field
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144336 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 14:32:20 +00:00
Sergey Vladimirov
34b6794422 sort CHPX on load (sometimes out of order)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144333 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 14:31:25 +00:00
Nick Burch
fa1e0a0b1d Apply patch from bug #51476 - Correct XSSF cell formatting in HTML export
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144331 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 14:27:21 +00:00
Nick Burch
7f5bd44d98 Patch from bug #51486 from Mike McEuen (with a few whitespace tweaks) - XWPF support for adding footnotes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144308 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 13:25:00 +00:00
Nick Burch
361fe3eb42 XWPF Numbering tests from bug #51134
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144303 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 13:12:53 +00:00
Sergey Vladimirov
189f4c0a09 add toString method to GenericPropertyNode
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144283 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 12:18:48 +00:00
Sergey Vladimirov
5c8219c777 simplify PlexOfField by using GenericPropertyNode
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144282 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 12:18:36 +00:00
Sergey Vladimirov
65f24a120b save document fields, but Bug47286 looks better, but still not the save
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144275 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 11:54:51 +00:00
Sergey Vladimirov
2abc7aa436 update TestFieldsTables
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144251 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 10:54:19 +00:00
Sergey Vladimirov
2d46ded6b7 more correct definition of FLD, preserving reserved bits
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144249 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 10:53:58 +00:00
Sergey Vladimirov
b5de84932e fix test for 47286
now it will fail if bug is fixed

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144235 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 10:04:03 +00:00
Sergey Vladimirov
1f37d4db1a add documentation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144233 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 10:01:16 +00:00
Sergey Vladimirov
33cb2db6dd make getSize() static
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144229 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 09:55:25 +00:00
Sergey Vladimirov
d1c0ea5578 refactor FieldDescriptor to be based on autogenerated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144224 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 09:49:47 +00:00
Sergey Vladimirov
18b0247ee2 Test case shall not fail
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144202 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 09:06:33 +00:00
Sergey Vladimirov
11d065a01a fix compiler warning ("unmappable character for encoding ASCII")
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144197 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 08:54:13 +00:00
Sergey Vladimirov
eb1dd34245 fix TestPAPBinTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144177 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 06:53:14 +00:00
Sergey Vladimirov
296583c971 dump text run properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143895 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 15:59:20 +00:00
Sergey Vladimirov
8f6a4fd533 CharacterSprmUncompressor extends SprmUncompressor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143894 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 15:58:17 +00:00
Sergey Vladimirov
0bf2eb9d6c update CHP type
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143838 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 14:15:03 +00:00
Sergey Vladimirov
a69d691581 dump text runs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143837 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 14:14:37 +00:00
Sergey Vladimirov
78a951143f support Word95 files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143822 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 13:43:29 +00:00
Sergey Vladimirov
beabf33a84 already fixed 48065 - Problems with save output of HWPF (losing formatting)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143809 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 13:13:04 +00:00
Sergey Vladimirov
dd2005da09 fix 47563 - Exception when working with table
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143802 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 12:52:57 +00:00
Sergey Vladimirov
d6d163fd96 fix 47287 - StringIndexOutOfBoundsException in CharacterRun.replaceText()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143786 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 12:11:53 +00:00
Sergey Vladimirov
6a8223f0de update status
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143774 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 11:46:41 +00:00
Sergey Vladimirov
f19392c371 Bug 46817 - Regression: Text from some table cells missing is fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143772 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 11:41:53 +00:00
Sergey Vladimirov
9a5143cf4f fail() shall throw Error, not AssertionError (which is ignored)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143771 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 11:39:30 +00:00
Sergey Vladimirov
3c2f15b9ff add content of main text box to document text
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143769 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 11:38:59 +00:00
Sergey Vladimirov
814aed073e uncomment lines, that were temporary commented for debug purposes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143760 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 11:09:47 +00:00
Sergey Vladimirov
2dc223b9e9 allow bad properties parsing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143758 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 11:04:59 +00:00
Sergey Vladimirov
4abb3c6e51 add / update documentation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143756 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 10:56:46 +00:00
Sergey Vladimirov
e325f0d084 fix generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143754 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 10:41:42 +00:00
Sergey Vladimirov
bbbea8860d fix test case for 45473: calculate PAPX boundaries basing on char positions, not on previously read byte positions (they are outdated); fix boundaries checks (again)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143753 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 10:39:27 +00:00
Sergey Vladimirov
d1eb54b129 fix generics warning
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143740 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 09:59:51 +00:00
Nick Burch
ad4cef7557 More elapsed time unit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143737 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 09:53:36 +00:00
Sergey Vladimirov
92e9201b77 add ability to dump text pieces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143734 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 09:51:42 +00:00
Sergey Vladimirov
4c9a35ee4d add toString() methods to PieceDescriptor and TextPiece; add hashCode() to PieceDescriptor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143733 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 09:51:21 +00:00
Sergey Vladimirov
65787fc1b9 update test: according to file dump, last row char is 85, so end offset is 86, not 87.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143725 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 09:25:34 +00:00
Sergey Vladimirov
4c670a3efe fix: too many PAPX were dropped due to too strict boundary checks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143720 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 09:16:26 +00:00
Sergey Vladimirov
5aaeaeb6b3 update status
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143716 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 08:51:10 +00:00
Sergey Vladimirov
d7596a864f always output overall range
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143710 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 08:37:03 +00:00
Sergey Vladimirov
0de832ba9d add getOverallRange() method definition to HWPFDocumentCore
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143709 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 08:35:51 +00:00
Sergey Vladimirov
25f3636438 correctly detect cells of inner tables, do not include last "fake" cell in row
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143707 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 08:24:55 +00:00
Sergey Vladimirov
b3def16e9a add javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143706 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 08:24:22 +00:00
Sergey Vladimirov
8979236b05 print paragraph number
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143704 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 08:14:45 +00:00
Sergey Vladimirov
e465a37e16 update PAPAbstractType, adding field descriptions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143701 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 08:05:38 +00:00
Sergey Vladimirov
dde8c709a7 initialize more TAPAbstractType fields to prevent NPE
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143694 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 07:39:53 +00:00
Sergey Vladimirov
f0c8d0520c fix package: org.apache.poi.hssf.usermodel.converter -> org.apache.poi.hssf.converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143689 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 07:33:20 +00:00
Sergey Vladimirov
755cea3d76 add empty rdf:about to rdf:Description
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143331 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 10:36:30 +00:00
Sergey Vladimirov
67ff6e3513 output document properties to html and pdf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143314 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 09:37:32 +00:00
Sergey Vladimirov
fc3c8fcf10 fix lost cell properties (and row shift)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143079 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 14:35:54 +00:00
Sergey Vladimirov
afa392e8c8 add test case for lost cell properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143077 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 14:35:36 +00:00
Sergey Vladimirov
8ac3172759 rewrite table bounds detection for Word 97, including inner table support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143070 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 14:13:27 +00:00
Sergey Vladimirov
fa46737e44 ignore PAPX if they references non-existing text parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143069 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 14:12:16 +00:00
Nick Burch
a9dbb3be09 Fix bug #51474 - SXSSF handling for null strings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143059 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 13:42:08 +00:00
Sergey Vladimirov
320a3ab737 fix range detection for documents with section across document parts.
Bug46817.doc is the example of document where section contains all document parts - including main part and additional from textbox. Previous implemenetation didn't correctly calculate last paragraph for Section (intersection of SEPX and main document range). Test case is added.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143014 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 12:02:02 +00:00
Sergey Vladimirov
d24bfcea93 handle empty strings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143012 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 11:58:50 +00:00
Sergey Vladimirov
34436d6ec7 add Section.toString() for debug purposes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143011 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 11:58:24 +00:00
Sergey Vladimirov
e1e99605de add SEPX.toString() for debug purposes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142979 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 11:02:30 +00:00
Sergey Vladimirov
8bbbf6996f correct range calculation for non-complex file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142977 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 10:58:04 +00:00
Sergey Vladimirov
0e6e9f649c manually test Bug33519.doc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142882 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 03:04:18 +00:00
Sergey Vladimirov
2cbeb04781 sometimes there is a lag between text pieces; for example
[0; 2), [2; 4), [6,8)
previous implementation correctly calculates next(2)=>2, but incorrectly next(4)=>4 (need to be 6).

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142881 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 03:03:53 +00:00
Sergey Vladimirov
9b69954212 add additional sanity checks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142880 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 03:02:12 +00:00
Sergey Vladimirov
efd149c834 fix inner tables handling by Range.getTable() method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142877 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 02:17:54 +00:00
Sergey Vladimirov
65881d12ea fix test suite name (for better IDEs compatibility)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142875 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 01:53:06 +00:00
Sergey Vladimirov
efb7a720aa add isEmpty() method to TALS and handle it by SPRM 0x740a compressor to preserve old behavior:
do not add 0x740a SPRM if TALS is empty

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142874 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 01:51:15 +00:00
Sergey Vladimirov
02672056d8 simplify table converting; fix bug that prevents table from AIOOB-Tap.doc to be converted
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142872 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 01:44:29 +00:00
Sergey Vladimirov
d2e2970e07 allow user to check table level from Table class (not only from Paragraph), so table processing code is simplified
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142871 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 01:40:39 +00:00
Sergey Vladimirov
9538734d31 Test correct processing of "sprmPItap" (0x6649) and "sprmPFInTable" (0x2416)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142867 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 01:19:31 +00:00
Sergey Vladimirov
6abfa5742a rename PAP structure fields according to specification
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142864 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 01:11:42 +00:00
Sergey Vladimirov
f5c03d6194 add additional options and features to HWPFLister, enabling PAPX and paragraphs (including SPRMs) information dump
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142861 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 00:48:53 +00:00
Sergey Vladimirov
68aef63742 add or improve toString() methods of several classes for debug purposes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142860 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 00:48:00 +00:00
Sergey Vladimirov
b8ff8ac945 add SprmOperation.toString() for debug purposes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142859 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 00:46:42 +00:00
Sergey Vladimirov
e41354dcd5 fix warning about cast
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142836 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 22:36:52 +00:00
Sergey Vladimirov
fbbc482d44 fix warning about generics
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142835 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 22:36:27 +00:00
Sergey Vladimirov
bc0abec2c4 add additional TableProperties; implement TableAutoformatLookSpecifier
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142827 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 22:21:10 +00:00
Sergey Vladimirov
27cec2b36b update TAP definition according to specification
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142808 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 21:15:19 +00:00
Sergey Vladimirov
326db9a72e add closeQuietly() method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142781 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:50:01 +00:00
Sergey Vladimirov
ffee3c2c50 add Excel-to-HTML converter (with test suite)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142780 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:49:13 +00:00
Sergey Vladimirov
679c2b403e remove unused method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142771 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:20:20 +00:00
Sergey Vladimirov
70d42bbd9e rename extractor -> converter and move to converter package
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142767 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:14:44 +00:00
Sergey Vladimirov
4fbd693851 add Word-to-HTML extractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142765 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:08:06 +00:00
Sergey Vladimirov
2b97a034fe warn and skip wrong type SPRM
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142764 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:06:20 +00:00
Sergey Vladimirov
89a5e4c11c extract private getCharacterRun method with CHPX as parameter (used with reflection in workaround in AbstractWordUtils)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142763 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:05:40 +00:00
Sergey Vladimirov
1c0d6a5d09 workaround for NPE caused by old Word format
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142762 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:04:26 +00:00
Sergey Vladimirov
ed7c3eeb07 add toString() to BorderCode
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142761 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:04:08 +00:00
Sergey Vladimirov
a57c397517 workaround for NPE caused by old Word format
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142760 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:03:45 +00:00
Sergey Vladimirov
f26b6efa29 update who.xml as first test commit
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142489 13f79535-47bb-0310-9956-ffa450edef68
2011-07-03 19:54:19 +00:00
Yegor Kozlov
fa7b5c9318 bug 48294 - Fixed HSSFWorkbook.setSheetOrder() to respect inter-sheet references
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142219 13f79535-47bb-0310-9956-ffa450edef68
2011-07-02 13:25:25 +00:00
Yegor Kozlov
37f153c03a Bug 51448 - Avoid exception when evaluating workbooks with more than 256 sheets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142181 13f79535-47bb-0310-9956-ffa450edef68
2011-07-02 09:05:35 +00:00
Nick Burch
ecd2511317 Apply patch from bug #51458 - Correct BitField wrapping when setting large values
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141977 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 16:29:04 +00:00
Nick Burch
e11c26c29b Apply patch from bug #51460 (with some related generics tweaks) - Improve HSSF performance when loading very long rows, by switching the CellValue array to an iterator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141970 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 16:16:55 +00:00
Nick Burch
1970d1156a Add unit test that seems to show bug #51461 working just fine
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141961 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 15:16:09 +00:00
Maxim Valyanskiy
12356f3d9d XSLFCommonSlideData: Workaround for XmlBeans bug#49934
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141915 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 12:21:05 +00:00
Yegor Kozlov
fcb9fce801 misc fixes in site docs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141906 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 11:43:06 +00:00
Yegor Kozlov
9930e7099f added Workbook.getForceFormulaRecalculation as requested in Bug 51422
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141585 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 15:54:04 +00:00
Yegor Kozlov
793d119eed Bug 51444 - Prevent corrupted output when saving files created by LibreOffice 3.3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141576 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 15:39:47 +00:00
Maxim Valyanskiy
e1b483d6ac hwpf: ignore ArrayIndexOutOfBoundsException in TableSprmUncompressor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141490 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 11:46:27 +00:00
Jon Svede
7550f6e5fe Added myself to the list of committers.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1140429 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 04:17:17 +00:00
Yegor Kozlov
19a6ad2abd Bug 51422 - Support using RecalcIdRecord to trigger a full formula recalculation on load
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1140210 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 15:40:48 +00:00
Nick Burch
5f6257eb5d List another exception caused by old+new POI jars in production
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139923 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 19:22:13 +00:00
Yegor Kozlov
edd0d3847f Bug 50474 - Example demonstrating how to update workbook embedded in a WordprocessingML document
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139541 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 13:46:00 +00:00
Yegor Kozlov
af650e26a0 Bug 51431 - Avoid IndexOutOfBoundException when removing freeze panes in XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139533 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 12:19:49 +00:00
Yegor Kozlov
e4cd5a5b00 cleanup sxxsf temp files after tests, remove non-ascii characters from source code, polished test output
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139518 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 10:56:46 +00:00
Yegor Kozlov
f51b59e51e Bug 48877 - Fixed XSSFRichTextString to respect leading and trailing line breaks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139505 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 08:45:49 +00:00
Yegor Kozlov
14d4f183aa Bug 49564 - Fixed default behaviour of XSSFCellStyle.getLocked()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139288 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 13:06:04 +00:00
Yegor Kozlov
55fc57347a Bug 48314 - Fixed setting column and row breaks in XSSF, also updated javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139266 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 12:15:16 +00:00
Nick Burch
23077dfb49 Add a unit test to show that bug #49648 no longer occurs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139245 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 11:18:49 +00:00
Yegor Kozlov
bc467bb8c1 resolved old bugzilla issues, added unit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139204 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 08:46:37 +00:00
Yegor Kozlov
aac4cf50a9 Bug 51351 - more progress with WordToFoExtractor: fix ListEntryNoListTable and MBD001D0B89 tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1138836 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 11:28:31 +00:00
Yegor Kozlov
d45f22ad8d Bug 51424 - Ignore exceptions in ParagraphSprmUncompressor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1138834 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 11:21:05 +00:00
Yegor Kozlov
abe5618b5d Bug 51415 - Fixed Workbook.createSheet(sheetName) to truncate names longer than 31 characters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1138819 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 10:49:11 +00:00
Nick Burch
1d686ca4ce Add a note about RecalcId record with a value of zero
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1138637 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 21:16:04 +00:00
Yegor Kozlov
3e5e4ee2a3 Bug 51332 - Fixed internal IDs of shapes generated by HSSFPatriarch when there are more than 1023 drawing objects
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1138465 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 13:48:43 +00:00
Yegor Kozlov
b97e745739 misc fixed in site's quick guide
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1138464 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 13:48:17 +00:00
Maxim Valyanskiy
1a2aa76ff6 Test for parsing document with drawings to prevent NoClassDefFoundError for CTAnchor in XWPFRun
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1138440 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 12:46:42 +00:00
Yegor Kozlov
6e90e3bc06 bug 51351: more progress with WordToFoExtractor: support for hyperlinks, common fields and code cleanup
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1137673 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 15:56:28 +00:00
Yegor Kozlov
02c3df2e5f Bug 48408: Improved documentation for Sheet.setColumnWidth
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1137656 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 15:16:46 +00:00
Yegor Kozlov
2761d5a900 junit test for sprm, added missing line from r1137143
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1137538 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 08:01:23 +00:00
Yegor Kozlov
545cde3374 Support for sprmPJc paragraph SPRM and handling of additional properties in ParagraphSprmCompressor, see Bugzilla 51389 and 51390
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1137143 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 08:57:10 +00:00
Yegor Kozlov
8bca63ee94 updated web site docs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1137139 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 08:39:39 +00:00
Yegor Kozlov
8a61200434 improved autosizing columns in SXSSF, see Bug 51356
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1137138 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 08:39:03 +00:00
Yegor Kozlov
f9bbd32caf Bug 50681 - Avoid exception in HSSFDataFormat.getDataFormatString()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1136352 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 10:13:16 +00:00
Yegor Kozlov
67206e5450 Bug 50681 - Fixed autosizing columns beyond 255 character limit
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1136330 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 08:57:55 +00:00
Yegor Kozlov
cbb3176c72 more progress with WordToFoExtractor, see Bugzilla 51351
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1136001 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 11:41:22 +00:00
Yegor Kozlov
ffc5d68b12 Bug 51374 - Fixed incorrect setting of lastPrinted OOXML core property
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1135997 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 11:15:40 +00:00
Yegor Kozlov
7e73b04df6 added an example on conditional formatting in the site's quick guide
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1135656 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 15:49:17 +00:00
Yegor Kozlov
3c34797e0a Bugzilla 51351: Word to XSL-FO converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1135414 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 08:53:00 +00:00
Nick Burch
6f3f1a479e Fix deprecated warning
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1135118 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 14:46:21 +00:00
Yegor Kozlov
48a5868947 Bug 50458: Fixed missing shapeId in XSSF drawings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1135103 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 11:56:21 +00:00
Yegor Kozlov
8b2603f7f6 Bug 51339 - Fixed arithmetic rounding in formula evaluation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1135079 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 10:34:43 +00:00
Nick Burch
d2c43ea1ab Re-enable part of the test now that NPOIFS behaves for reset
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1134981 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 20:47:25 +00:00
Nick Burch
6d560ea880 Further tests for NPOIFS document input stream reading, and fix a NPOIFS skip issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1134945 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 16:51:43 +00:00
Yegor Kozlov
7351a3794c Bugzilla 51356: Support autoSizeColumn in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1134721 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 18:17:15 +00:00
Yegor Kozlov
07253cbc8b Bugzilla 51335: Parse picture goal and crop sizes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1134663 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 14:58:50 +00:00
Yegor Kozlov
e662460614 fixed a typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1133821 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 12:22:39 +00:00
Yegor Kozlov
f21ff28e93 continue SXSSF docs updates and polishing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1133782 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 10:38:31 +00:00
Yegor Kozlov
80b8854662 fixed missing licence header
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1133757 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 09:49:33 +00:00
Yegor Kozlov
93c599be72 SXSSF documentation and polishing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1133372 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 12:38:07 +00:00
Yegor Kozlov
65cfe469b0 Bug 51305: Add sprmTCellPaddingDefault support; Update Table Cell Descriptor, make it non-from-file;
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1132616 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 12:43:17 +00:00
Yegor Kozlov
b4e9826af9 Bug 51196: more progress with Spreadsheet Chart API
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1132553 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 09:02:08 +00:00
Yegor Kozlov
866a7bf272 cleaned javadocs warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1132549 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 08:45:06 +00:00
Yegor Kozlov
8b407809c1 updated release date and downloads page to reflect 3.8 beta3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1132538 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 07:29:29 +00:00
Nick Burch
f93b671b69 Enable more of the POIFS DocumetnInputStream tests to check NPOIFS as well
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1131988 13f79535-47bb-0310-9956-ffa450edef68
2011-06-05 08:16:22 +00:00
Nick Burch
e9249b28c2 Work on NPOIFS document read/mark/reset work for bug #51318, including enabling more of the old POIFS tests to work for both
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1131488 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 20:22:00 +00:00
Nick Burch
2edbaa0683 Fix 1.6ism
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1131327 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 06:40:28 +00:00
Yegor Kozlov
8a6c4d97ff reverted a file mistakenly added in r1130120
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1130123 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 12:13:16 +00:00
Yegor Kozlov
7c8f56ce1c bug 51265: Enhanced Handling of Picture Parts in XWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1130120 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 12:07:16 +00:00
Nick Burch
3e0b243605 Apply patch from bug #51293 from Sergey for hdf types generation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1129693 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 14:24:49 +00:00
Nick Burch
f3b6cc03d4 Patch from Sergey from bug #51292 - Additional HWPF Table Cell descriptor values
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1129690 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 14:21:32 +00:00
Nick Burch
ad58cfe61e Using data from the sourceforge dist system, fill in the dates of the releases missing that info from the changelog
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128510 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 23:09:21 +00:00
Yegor Kozlov
cd613647ef Bug 51098 - Error in calculating image width/height, if image fits into one cell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128423 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 18:49:57 +00:00
Yegor Kozlov
034f4c5cf5 Bug 51098 - Error in calculating image width/height, if image fits into one cell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128422 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 18:46:04 +00:00
Nick Burch
481a325c45 Fix bug #47147 - XWPF table cells adding extra paragraph - test from Stefan Stern
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128331 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 14:48:22 +00:00
Nick Burch
a3206374e5 Few XSLF tweaks, and add a unit test that shows that bug #51187 exists (problem with self references)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128324 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 14:35:44 +00:00
Nick Burch
8f3c468ea9 Fix bug #51188 - Support for getting and setting XPWF zoom settings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128312 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 14:00:44 +00:00
Nick Burch
0f9646d55d Add unit test from Stefan for bug #51172 - DOCX gif support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128301 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 13:36:00 +00:00
Nick Burch
e21fd13a56 Apply patch from bug #51134 from Mike McEuen - Ability to add XWPFStyles and XWPFNumbering to a XWPF file that lacks them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128296 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 13:26:02 +00:00
Nick Burch
4410d044f0 Fix bug #51273 - Hash codes can be negative when working on our own low memory hash for formula cell evaluation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128268 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 11:45:50 +00:00
Yegor Kozlov
53ab14248c Bug 51171: Improved performance of SharedValueManager
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1127860 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 10:31:38 +00:00
Nick Burch
ab6caf7f49 Hopefully fix bug #51236 - make the xssf colour black/white 3 rgb fix apply for set as well as get
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1126696 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 19:55:00 +00:00
Nick Burch
8144d5e1ae Avoid a System.out call, replace with logging
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1126674 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 19:25:30 +00:00
Yegor Kozlov
c1fb0136bb Bug 51196: more progress with chart api
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1125662 13f79535-47bb-0310-9956-ffa450edef68
2011-05-21 10:31:59 +00:00
Nick Burch
a657b06e30 Test that shows that bug #51222 is a themes colour problem
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1125559 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 20:46:55 +00:00
Yegor Kozlov
0d3bce27a2 Bugzilla 51196: Initial support for Spreadsheet Chart API
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1125275 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 08:22:53 +00:00
Yegor Kozlov
f90fcee530 improved test coverage for SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1124698 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 12:00:10 +00:00
Nick Burch
1ed61c54f0 Put back the NPOIFS constructor that got lost in r1101397
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1124696 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 11:59:27 +00:00
Nick Burch
76b3d98c0c Add some more NPOIFS write related tests, some of which is disabled as the functionality isn't quite there yet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1124693 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 11:54:29 +00:00
Nick Burch
4f62006ae3 Put more details in the error message for next time
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1124622 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 09:16:48 +00:00
Maxim Valyanskiy
209a45ee66 FakeZipEntry: pre-allocate ByteArrayOutputStream when zip entry size is known to prevent reallocation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1124179 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 10:38:08 +00:00
Yegor Kozlov
2cf314de68 initial support for SXSSF tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1124177 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 10:37:31 +00:00
Yegor Kozlov
66ae801d20 fixed resizing pictures in XSSF, see Bugzilla 51160
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1124163 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 10:07:15 +00:00
Maxim Valyanskiy
ae8910ed41 status.xml: add note about Agile encryption
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1124158 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 10:01:42 +00:00
Yegor Kozlov
339149dd5e Bugzilla 51160: Initial version of SXSSF, a low memory foortprint API to produce xlsx files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1104120 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 10:46:35 +00:00
Yegor Kozlov
a3f7224e14 Bugzilla 51171: Improved performance of opening large .xls files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1103502 13f79535-47bb-0310-9956-ffa450edef68
2011-05-15 18:40:13 +00:00
Nick Burch
c0fe769b96 Update the release docs for having artificats in the dist repo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1103437 13f79535-47bb-0310-9956-ffa450edef68
2011-05-15 16:00:37 +00:00
Nick Burch
7e91a52be1 Update the logos to include TM
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1103178 13f79535-47bb-0310-9956-ffa450edef68
2011-05-14 18:27:56 +00:00
Nick Burch
f09e137649 Autoboxing tweaks from bug #51175, and make the paragraph/table finding code generic
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1102691 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 12:22:24 +00:00
Nick Burch
333af414e0 Patch from Stefan from bug #51172 - XWPF .gif images support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1102668 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 11:06:18 +00:00
Nick Burch
7f24c5f652 Correct docs issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1102666 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 11:05:02 +00:00
Nick Burch
a30aaf8d71 Add a note about XSSF and HSSF x and y values in client anchors differing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1102624 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 09:23:59 +00:00
Nick Burch
26ea0d987d Fix NPOIFS creation of an empty filesystem, with create/write/read test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1102482 13f79535-47bb-0310-9956-ffa450edef68
2011-05-12 22:10:51 +00:00
Nick Burch
62b5690d8f Finish NPOIFS support for writing to mini streams where the big block stream needs extending, and unit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1102458 13f79535-47bb-0310-9956-ffa450edef68
2011-05-12 21:00:04 +00:00
Nick Burch
d464da3bb0 The NPOIFS mini stream blocks need to be writable, correct that and add some tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1102448 13f79535-47bb-0310-9956-ffa450edef68
2011-05-12 20:06:06 +00:00
Nick Burch
3c40f4aab7 Project branding update - add trademark notice to page footers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1102428 13f79535-47bb-0310-9956-ffa450edef68
2011-05-12 19:13:01 +00:00
Maxim Valyanskiy
735dd86ac4 update documentation on encryption support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1101398 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 10:40:39 +00:00
Maxim Valyanskiy
6857223c5a bug#51165: Add support for OOXML Agile Encryption
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1101397 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 10:38:17 +00:00
Nick Burch
5f671bd806 As Java doesn't allow static methods on interfaces, allow HSSFFormulaEvaluator or XSSFFormulaEvaluator to generically recalculate all formulas in a workbook
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1101033 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 14:04:21 +00:00
Nick Burch
c7c0e8c523 More testing around bug #48877
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1100122 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 07:58:35 +00:00
Nick Burch
361a5248dc Fix bug #51148 - XWPFDocument remove of tables/paragraphs now works correctly, and code is simplified
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1100027 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 02:14:48 +00:00
Nick Burch
59904e547d Re-enable the XWPF test for adding paragraphs, and fix it up to work properly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1100022 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 01:43:16 +00:00
Nick Burch
629b80044f Fix bug #51153 - Correct sizing of LbsDataSubRecord with unused padding fields
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1100017 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 01:28:28 +00:00
Nick Burch
268404a200 NPOIFS and OPC both support close(), so mark them as such
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1100013 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 01:19:21 +00:00
Maxim Valyanskiy
028b9652f8 initial documentation on encrypted file support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1099781 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 13:26:29 +00:00
Nick Burch
6f7fabe3c6 Fix bug #51143 - Correct NameCommentRecord to properly serialise strings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1099313 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 03:11:28 +00:00
Nick Burch
1ecef7df9f Fix bug #51112 - Correct XWPFTable tracking of new rows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1098927 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 05:56:22 +00:00
Nick Burch
55f2bdb3bd Fix bug #51113 - Correct XWPFParagraph tracking of inserted runs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1098923 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 05:53:24 +00:00
Nick Burch
4453be821a Fix bug #51111 - Correct XWPFParagraph tracking of new runs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1098920 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 05:50:25 +00:00
Nick Burch
ffcd5beed5 Fix bug #51115 - Handle DataFormatter escaping of "." in the same way as "-" and "/"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1098917 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 05:42:41 +00:00
Nick Burch
1473cef845 Add a unit test for the formula evaluation caching/updating, which ensures that HSSF and XSSF behave the same
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1098227 13f79535-47bb-0310-9956-ffa450edef68
2011-05-01 08:00:56 +00:00
Nick Burch
944109b369 Fix bug #51100 - Fix IOUtils issue for NPOIFS reading from an InputStream where every block is full
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1095753 13f79535-47bb-0310-9956-ffa450edef68
2011-04-21 15:37:22 +00:00
Nick Burch
f86929bd0c Fix bug #50956 - Correct XSSF cell style cloning between workbooks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1095695 13f79535-47bb-0310-9956-ffa450edef68
2011-04-21 13:22:18 +00:00
Nick Burch
0677f40542 Add get/setForceFormulaRecalculation for XSSF, and promote the methods to the common usermodel Sheet, using sheetCalcPr fullCalcOnLoad="true"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1095667 13f79535-47bb-0310-9956-ffa450edef68
2011-04-21 11:52:52 +00:00
Maxim Valyanskiy
98860bdcec hwpf: ignore invalid style reference
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1095664 13f79535-47bb-0310-9956-ffa450edef68
2011-04-21 11:49:03 +00:00
Nick Burch
6d6c2fc68f Following discussions on the dev list today, tweak the logic for sizing the HSSFCells array on a HSSFRow to reduce memory over allocation in many use cases (now cribbed from the size of the row, and uses the ArrayList growth metric)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1095229 13f79535-47bb-0310-9956-ffa450edef68
2011-04-19 22:26:46 +00:00
Nick Burch
de892d4666 Add support for adding a picture to a XSSFRun
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1092755 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 16:16:09 +00:00
Nick Burch
1e19690e18 Add unit test for bug #51037, which seems to be working fine
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1092423 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 18:06:23 +00:00
Nick Burch
5df80fe7ac Rename/Move xssf.model.Table to xssf.usermodel.XSSFTable as it now has usermodel-like features
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1092286 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 14:32:49 +00:00
Nick Burch
b3fee7f7e6 Fix bug #51061 - Correct target URI for new XSSF Tables
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1092281 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 14:29:04 +00:00
Maxim Valyanskiy
ade6735c43 XSSF: reduce memory usage by specifing default namespace for string keys in SharedStringsTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1092089 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 10:05:04 +00:00
Yegor Kozlov
8dbcaac6fb updated status of current release to 3.8-beta2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090953 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 07:04:54 +00:00
Nick Burch
968b5c4533 Add a disabled test for bug #46662, which seems to be a SharedStringsTable / xmlbeans issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090792 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 12:49:48 +00:00
Nick Burch
09470f80ba Initial support for XSSF Charts. Provides easy access to the underlying CTChart object via the Sheet Drawing, but no high level interface onto the chart contents as yet.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090442 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 20:51:52 +00:00
Nick Burch
7ec533f37d Correct the fetching of Drawings from a XSSFChartSheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090435 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 20:30:38 +00:00
Nick Burch
2dee92c68d Fix inconsistent indent
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090434 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 20:29:49 +00:00
Nick Burch
b629d6f949 More test for bug #49381 / #50884 - xssf freeze panes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090301 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 15:41:36 +00:00
Nick Burch
098fb98073 Bit more testing for 51024
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090295 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 15:25:17 +00:00
Nick Burch
3cc63312ae Add unit test showing that bug #51024 is incorrect
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090293 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 15:23:18 +00:00
Nick Burch
b642f8952e Add support for adding a table to a XSSFSheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090289 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 15:07:35 +00:00
Nick Burch
4aadbe6749 3.8 beta2 has been released
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090264 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 14:27:31 +00:00
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