Nick Burch
0982d9dee5
Start generalising the IgnoredErrorType code for later HSSF use too #56892
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1730540 13f79535-47bb-0310-9956-ffa450edef68
2016-02-15 14:40:24 +00:00
Dominik Stadler
63a7f89342
No need to wrap OpenXML4JRuntimeException in another instance of itself and fix some compilation/javadoc warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1730482 13f79535-47bb-0310-9956-ffa450edef68
2016-02-15 10:08:26 +00:00
Dominik Stadler
677b19afbd
GitHub PR 27: Add method to check for any protection in XWPFDocument, closes #27
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1730471 13f79535-47bb-0310-9956-ffa450edef68
2016-02-15 09:26:51 +00:00
Dominik Stadler
528a64dc76
Improve error messages to state which bounds are exceeded
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1730463 13f79535-47bb-0310-9956-ffa450edef68
2016-02-15 07:41:47 +00:00
Dominik Stadler
b01efb6855
Regression analysis: Cloning sheets failed on ctrlProps, i.e. checkboxes
...
and other GUI elements, add minimal support for these to allow clone to
succeed.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1730275 13f79535-47bb-0310-9956-ffa450edef68
2016-02-13 21:30:10 +00:00
Dominik Stadler
b6de146895
bug 58996: Don't try to unset fill color if it is not set to avoid invalid access inside the Xml structures
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1729964 13f79535-47bb-0310-9956-ffa450edef68
2016-02-12 09:44:47 +00:00
Nick Burch
118b728156
Fix #57034 on SXSSF, and add a common unit test to show it was already fixed on the others + is now fixed for SXSSF
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1729849 13f79535-47bb-0310-9956-ffa450edef68
2016-02-11 15:13:40 +00:00
Andreas Beeker
ce22cc44c4
XSLF - fixed NPE when adding pictures with existing non-picture media files (e.g. movies)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1728737 13f79535-47bb-0310-9956-ffa450edef68
2016-02-05 22:03:44 +00:00
Javen O'Neal
6c89d062bf
bug 58885: fix javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1727777 13f79535-47bb-0310-9956-ffa450edef68
2016-01-31 04:04:56 +00:00
Javen O'Neal
e365e9cbac
bug 58885: performance regression on XSSFSheet.addMergedRegion(CellRangeAddress). Add an unsafe version of addMergedRegion that doesn't check for overlapping merged regions
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1727776 13f79535-47bb-0310-9956-ffa450edef68
2016-01-31 03:27:35 +00:00
Andreas Beeker
5fad9af36f
#41047 - Support hyperlinks in HSLF shapes and textruns
...
#47291 - Cannot open link correctly which insert in ppt
HSLF hyperlink code was all over the place - moved most of it into HSLFHyperlink
extended common sl for hyperlinks
extended XSLF shape linking and added XSLFTextShape.appendText to go along with HSLF
adapted/fixed documentation
added convenience methods to the hyperlink classes to address the different targets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1726458 13f79535-47bb-0310-9956-ffa450edef68
2016-01-24 00:12:10 +00:00
Javen O'Neal
0173f22787
make SXSSFWorkbook member variables private
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1725047 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 22:58:25 +00:00
Javen O'Neal
276e95e43f
bug 58879: add SpreadsheetVersion to Workbook interface
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1725039 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 22:01:33 +00:00
Andreas Beeker
c1263423cf
#56004 - Support for WMF rendering
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1724897 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 00:11:01 +00:00
Dominik Stadler
e91e15ab10
Eclipse warnings, helper unit-test, improve information provided in Exceptions, do not swallow inner stacktraces, ...
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1724486 13f79535-47bb-0310-9956-ffa450edef68
2016-01-13 19:45:05 +00:00
David North
a08539ef02
Generalised API for adding ignored errors, e.g. number stored as text.
...
https://bz.apache.org/bugzilla/show_bug.cgi?id=56892
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1724469 13f79535-47bb-0310-9956-ffa450edef68
2016-01-13 17:54:24 +00:00
Dominik Stadler
8793846bc6
Bug 58829: Remove some useages of printStackTrace() and some other minor cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1724445 13f79535-47bb-0310-9956-ffa450edef68
2016-01-13 15:59:38 +00:00
Andreas Beeker
0ded035dda
Javadocs fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1724343 13f79535-47bb-0310-9956-ffa450edef68
2016-01-13 01:09:43 +00:00
Andreas Beeker
b0c16b8261
#57796 - Support hyperlink extraction when rendering slides
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1724338 13f79535-47bb-0310-9956-ffa450edef68
2016-01-12 23:20:48 +00:00
Andreas Beeker
f56b918b16
#54916 - POI does not always read all the slides in pptx files
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1723966 13f79535-47bb-0310-9956-ffa450edef68
2016-01-10 20:44:17 +00:00
Andreas Beeker
8d033e235c
replace Throwable.printStackTrace() with POILogger calls - Todo: other printStrackTrace(...) calls
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1723899 13f79535-47bb-0310-9956-ffa450edef68
2016-01-10 02:20:35 +00:00
Dominik Stadler
c4c9ac0ccf
bug 58043: provide some compatibility between HSSF and XSSF in regards to values for CellStyle.setRotation(). Also adjust JavaDoc to mention the remaining things to note
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722716 13f79535-47bb-0310-9956-ffa450edef68
2016-01-03 13:28:17 +00:00
Dominik Stadler
ff8592b190
Fix bug 58067: XWPF: don't return deleted text when document is in review-mode
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722715 13f79535-47bb-0310-9956-ffa450edef68
2016-01-03 13:28:01 +00:00
Javen O'Neal
4a47ec3d39
fix javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722609 13f79535-47bb-0310-9956-ffa450edef68
2016-01-02 06:23:05 +00:00
asf-sync-process
de7807c8a7
bug 58633: Set multiple CellStyle properties at once. Patch from Mark Murphy.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722607 13f79535-47bb-0310-9956-ffa450edef68
2016-01-02 04:29:34 +00:00
Dominik Stadler
4803a0c355
bug 58618: XWPFParagraph insertNewRun and removeRun work incorrectly for
...
runs after hyperlink/field runs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722503 13f79535-47bb-0310-9956-ffa450edef68
2016-01-01 16:28:01 +00:00
Dominik Stadler
bbd6e63c60
Include full nested exception, not just localized message
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722502 13f79535-47bb-0310-9956-ffa450edef68
2016-01-01 16:27:50 +00:00
Dominik Stadler
39551f8e01
Combine common functionality in POIXMLTypeLoader into helper method
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722500 13f79535-47bb-0310-9956-ffa450edef68
2016-01-01 16:27:27 +00:00
Andreas Beeker
8ed770dfe3
remove unnecessary @SuppressWarnings("deprecation") warnings (because of old xml schemas)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722480 13f79535-47bb-0310-9956-ffa450edef68
2016-01-01 00:45:05 +00:00
Andreas Beeker
f317f5e288
#56570 - RecordType has repeat by code type 3009
...
#58159 - getHeaderText() and getFooterText() duplicate text in sheet.getTextRuns()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722476 13f79535-47bb-0310-9956-ffa450edef68
2015-12-31 22:10:17 +00:00
Dominik Stadler
7f105042ba
Fix bug 58760: non-standard namespace-key breaks parsing XLSX files
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722433 13f79535-47bb-0310-9956-ffa450edef68
2015-12-31 09:56:33 +00:00
Dominik Stadler
b4ac21a810
Eclipse warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722406 13f79535-47bb-0310-9956-ffa450edef68
2015-12-30 20:31:13 +00:00
Javen O'Neal
eb5bca1612
javadoc fix
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722057 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 06:55:22 +00:00
Javen O'Neal
ef26a1d15c
bug 58775: set an upper limit on number of data formats, default 250.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722054 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 05:46:20 +00:00
Javen O'Neal
70f08e1fc5
fix javadocs warnings for r1721930 (bug 58775)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722049 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 02:57:58 +00:00
Javen O'Neal
ae1020ac35
bug 58778: override a built-in number format, such as using £ instead of $ for currency
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722043 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 00:12:04 +00:00
Javen O'Neal
bf5e95d37a
bug 58740: javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721942 13f79535-47bb-0310-9956-ffa450edef68
2015-12-28 16:04:47 +00:00
Javen O'Neal
a50f45e4c2
bug 58775: use short for data format index, int for cell style index
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721930 13f79535-47bb-0310-9956-ffa450edef68
2015-12-28 14:50:54 +00:00
Javen O'Neal
0404c61acc
bug 58775: consolidate HashMap and array numberFormats data structures to one SortedMap data structure
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721928 13f79535-47bb-0310-9956-ffa450edef68
2015-12-28 14:37:23 +00:00
Javen O'Neal
8a7cd6308e
bug 58775: add Override annotations, Javadocs, and comments
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721880 13f79535-47bb-0310-9956-ffa450edef68
2015-12-28 07:56:54 +00:00
Javen O'Neal
ec4732a034
bug 58740: add @Internal annotations and decrease access level to methods that only exist for unit testing
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721864 13f79535-47bb-0310-9956-ffa450edef68
2015-12-28 00:52:47 +00:00
Javen O'Neal
19e5db9602
bug 58740: return unmodifiable list/map when exposing internal data structures
...
patch from Archie Cobbs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721857 13f79535-47bb-0310-9956-ffa450edef68
2015-12-27 23:17:33 +00:00
Dominik Stadler
a021bc780b
Fix some cases where file resources were not closed correctly, mostly when Exceptions occur during opening files
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721470 13f79535-47bb-0310-9956-ffa450edef68
2015-12-22 22:36:43 +00:00
Dominik Stadler
c9dee45744
fix commandline option in PPTX2PNG from quite to quiet
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721469 13f79535-47bb-0310-9956-ffa450edef68
2015-12-22 22:36:33 +00:00
Dominik Stadler
b69c64fe21
Handle some cases better where file handles were left open by the ExtractorFactory, mostly when opening files failed, but also when using the NPOIFSFileSystem for initialization.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721064 13f79535-47bb-0310-9956-ffa450edef68
2015-12-20 20:39:01 +00:00
Nick Burch
1fbfc70cca
Unit test for #58731 - not reproduced, and some javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1720411 13f79535-47bb-0310-9956-ffa450edef68
2015-12-16 18:15:31 +00:00
Andreas Beeker
7b4c17b70c
#58733 - New AIOOBE in getCell while iterating through a table in PPT
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1720035 13f79535-47bb-0310-9956-ffa450edef68
2015-12-14 22:49:04 +00:00
Javen O'Neal
4f8057e56f
bug 57450: javadoc fixes from Stefan Thurnherr
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1718226 13f79535-47bb-0310-9956-ffa450edef68
2015-12-06 21:43:26 +00:00
Dominik Stadler
96cb8c18fe
Bug 58084: Fix cloning Cell Styles with Borders
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717973 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 14:39:07 +00:00
Javen O'Neal
6d17f8ddef
whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717927 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 10:46:58 +00:00
Javen O'Neal
17a4680cee
findbugs: check return value of File.mkdir(s), and don't accidentally catch RuntimeException
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717923 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 10:33:28 +00:00
Javen O'Neal
83a2f13494
fix javadoc errors
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717903 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 07:10:26 +00:00
Javen O'Neal
44c9afd31d
fix javadoc errors
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717902 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 07:05:52 +00:00
Javen O'Neal
9c19c23291
bug 58570: add get/setActiveCell to Sheet interface, add Cell.getAddress,
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717900 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 06:36:27 +00:00
Dominik Stadler
5a8aceec32
Add some additional rules for the forbidden-apis-check borrowed from Elasticsearch, also add a separate signature file with more rules for the 'prod' code and fix two newly found issues
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717689 13f79535-47bb-0310-9956-ffa450edef68
2015-12-02 21:47:52 +00:00
Andreas Beeker
cc77b04a94
Sonar fixes, direct array parameter
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717359 13f79535-47bb-0310-9956-ffa450edef68
2015-12-01 00:23:21 +00:00
Andreas Beeker
f0ed3cbbab
- #47904 - Update text styles in HSLF MasterSlide
...
- common sl unification for TextParagraph.setTextAlign
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717351 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 23:34:30 +00:00
Javen O'Neal
89fbd66262
bug 58670: cleanup from r1717192
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717194 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 07:03:09 +00:00
Javen O'Neal
8410c84ad6
bug 58670: replace SXSSFRow's storage of SXSSFCells[] with a TreeMap<Int, SXSSFCell>
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717192 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 06:07:49 +00:00
Javen O'Neal
b5ad3a9327
add @Override annotations to SXSSFRow
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717181 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 05:28:57 +00:00
Javen O'Neal
a5725f9b21
add @Override and @NotImplemented annotations to SXSSFCell, update javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717164 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 04:43:32 +00:00
Javen O'Neal
b2a24f1a71
javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717151 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 02:06:36 +00:00
Javen O'Neal
226fefe0c9
patch from Stefan Thurnherr: bug 57450: autosize columns in SXSSF using rows that have been flushed to disk
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717146 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 00:22:50 +00:00
Andreas Beeker
60b17589b7
XSLF: tables can now be removed from sheets/groups
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717087 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 16:17:29 +00:00
Javen O'Neal
0e04793c2c
bug 57844: add NotImplemented annotation to SXSSFSheet.shiftRows
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717079 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 15:31:57 +00:00
Javen O'Neal
0a69246abc
add @Override annotations to Sheet classes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717078 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 15:27:34 +00:00
Andreas Beeker
ee0f9b84e1
close resources
...
fix a few eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717077 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 15:26:53 +00:00
Javen O'Neal
5ee6c34217
findbugs: add missing equals and hashCode for classes with a compareTo method
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717068 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 14:33:28 +00:00
Javen O'Neal
d8223753ae
javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717062 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 13:15:03 +00:00
Javen O'Neal
74f0442563
bug 58667: make SX/X/HSSFRow implement Comparable interface
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717054 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 12:14:45 +00:00
Javen O'Neal
f3b88f6755
SXSSFRow: privatize instance variables, make _sheet final
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717044 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 11:50:11 +00:00
Javen O'Neal
ff6d93d4f3
whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717043 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 11:48:02 +00:00
Javen O'Neal
a2ac15f1c8
make SXSSFRow._style private, add getRowStyleIndex() in its place
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717042 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 11:47:27 +00:00
Javen O'Neal
f324646c04
javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717040 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 11:44:03 +00:00
Javen O'Neal
db3028defb
javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717038 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 11:39:36 +00:00
Javen O'Neal
7619f0c38f
whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717035 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 11:34:56 +00:00
Javen O'Neal
9d014aa00b
bug 52903/58557: add @Override decorators to XSSFHyperlink and HSSFHyperlink
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717026 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 02:43:17 +00:00
Andreas Beeker
0c7e8e0c47
#58663 - Pictures cannot be removed from a slide
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717018 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 00:51:04 +00:00
Javen O'Neal
1f05c1916a
make instance variables final
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716843 13f79535-47bb-0310-9956-ffa450edef68
2015-11-27 11:35:43 +00:00
Javen O'Neal
1f874be829
bug 58636: upgrade anchor types from int to AnchorType enum
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716313 13f79535-47bb-0310-9956-ffa450edef68
2015-11-25 07:16:43 +00:00
Javen O'Neal
65cd898a61
bug 58637: replace deprecated getCellComment(row, col) usage
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716075 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 08:54:32 +00:00
Javen O'Neal
72aae0f14b
bug 58348: use copy constructor design pattern rather than cloneable pattern for CellCopyPolicy
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716074 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 08:52:45 +00:00
Javen O'Neal
e7d29ad533
whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716051 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 07:53:17 +00:00
Javen O'Neal
8eabc4710a
bug 58642: deprecate Sheet.setZoom(numerator, denominator) and replace with Sheet.setZoom(scale)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716048 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 07:43:53 +00:00
Javen O'Neal
891f2d26fc
bug 58642: remove deprecated functions in Spreadsheet Sheet interface and implementing classes; add @Override annotations
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716046 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 07:34:09 +00:00
Javen O'Neal
84fdda5736
rewrite ternary expression as simple Math.min call (yes, the ternary expression as written is equivalent to min, not max, despite the variable being called max. I'll leave that fix up to the original author).
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716044 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 07:05:11 +00:00
Javen O'Neal
dc1acc7ead
whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716035 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 05:57:31 +00:00
Javen O'Neal
2fab3547be
whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716034 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 05:51:54 +00:00
Javen O'Neal
d6ee7f8221
remove duplicate null check of srcStartRow (identified by FindBugs)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716003 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 01:08:34 +00:00
Javen O'Neal
b5494da29c
fix javadoc warnings from r1715839 bug 58365
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715993 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 23:52:59 +00:00
Javen O'Neal
4dd060e25b
fix javadoc warnings from r1715839 bug 58365
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715987 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 23:34:33 +00:00
Javen O'Neal
3e10c4f0f6
bug 58365: patch from Hannes Erven: add method to efficiently get all cell comments on a Sheet and return a dictionary with the location of each comment as the key and the comment itself as the value.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715839 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 15:11:28 +00:00
Javen O'Neal
a77dd2777b
bug 58365: patch from Hannes Erven. Update XSSFSheetXMLHandler.java to use CellAddress instead of CellReference/String
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715794 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 12:47:24 +00:00
Javen O'Neal
090394287b
bug 58365: patch from Hannes Erven. Update CommentsTable to use CellAddress instead of String
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715784 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 12:29:45 +00:00
Andreas Beeker
47b5cde9c3
#58617 - Add custom safe XmlBeans type loader / rename vendor specific schema packages
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715555 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 19:37:26 +00:00
Andreas Beeker
7458fdc277
In preparation for table rendering, added table row heights and column widths to common sl.
...
To have better results in rendering switch anchor from java.awt.Rectangle to Rectangle2D.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715540 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 15:54:01 +00:00
Andreas Beeker
2bc397b665
#58630 - Signing failed after deletion of first sheet
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715438 13f79535-47bb-0310-9956-ffa450edef68
2015-11-20 22:38:27 +00:00
Andreas Beeker
a0e06add7a
#54210 When saving PPT to PNG, some text is rendered backwards
...
#53189 Shapes drawn wrongly when ppt file converted to image
fix line decoration (HSLF)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1714290 13f79535-47bb-0310-9956-ffa450edef68
2015-11-14 02:44:07 +00:00
Andreas Beeker
c6f11991e7
Add default XmlOptions to XMLBeans parsing
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1714288 13f79535-47bb-0310-9956-ffa450edef68
2015-11-14 02:41:48 +00:00
Uwe Schindler
da19b14670
#58597 : Add more AccessController.doPrivileged. We should fix them later!
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713813 13f79535-47bb-0310-9956-ffa450edef68
2015-11-11 11:36:44 +00:00
Uwe Schindler
b62cc549fe
#58597 : Remove setAccessible (more coming soon)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713770 13f79535-47bb-0310-9956-ffa450edef68
2015-11-11 07:41:54 +00:00
Uwe Schindler
ce66e14b5a
Wrap more security related reflection in AccessController
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713356 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 09:32:37 +00:00
Andreas Beeker
ccce28aae4
sonar fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713319 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 23:14:50 +00:00
Andreas Beeker
e8d108ff22
Add support for HSLF metro blobs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713318 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 23:13:28 +00:00
Dominik Stadler
4cdcc9fc24
Eclipse warnings, typos, ...
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713216 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 10:00:24 +00:00
Nick Burch
172593de22
Add a XWPFRun equivalent of isHighlighted, and add to the common WP interface
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712793 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 15:15:36 +00:00
Nick Burch
ecab3629d8
Javadoc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712606 13f79535-47bb-0310-9956-ffa450edef68
2015-11-04 18:25:35 +00:00
Andreas Beeker
acb219fbe1
fixes sonar/findbugs issues
...
add Date.toString() to forbidden-apis and fix occurrences
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712181 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 23:46:57 +00:00
Javen O'Neal
06b3878176
javadoc fix
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711961 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 13:25:31 +00:00
Javen O'Neal
3b94c206e5
fix javadoc link
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711957 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 13:13:52 +00:00
Javen O'Neal
9b8250832e
bug 58572: replace Cloneable with copy constructors for spreadsheet Hyperlink class
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711951 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 12:57:57 +00:00
Javen O'Neal
54113431b5
bug58348: add test for copying formula with unregistered UDF
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711939 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 10:47:19 +00:00
Javen O'Neal
f7fbfcd5ea
bug 58348: add hyperlink copying and merging to CellCopyPolicy
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711926 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 09:59:32 +00:00
Javen O'Neal
0eb6ec6717
bug 58572: move getHyperlinkList() and getHyperlink(row, col) from XSSFSheet to Sheet
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711923 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 09:40:49 +00:00
Javen O'Neal
0aeab392e5
remove unused import
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711886 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 02:51:31 +00:00
Javen O'Neal
1360cd835d
bug 58348: add support for copying rows for XSSFWorkbooks
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711885 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 02:50:33 +00:00
Javen O'Neal
6fc1d21367
javadocs, remove unnecessary SuppressWarnings("resource") decorator
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711883 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 02:39:15 +00:00
Javen O'Neal
682f5b3ed4
make private shouldRemoveRow static and final, remove unused import
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711881 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 02:28:34 +00:00
Javen O'Neal
40b250bbb3
replace deprecated usage of FormulaShifter.createForRowShift
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711879 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 02:22:03 +00:00
Javen O'Neal
75dd7f9ba3
remove unnecessary @SuppressWarnings(resource) add Override decorator to SXSSFCell.getCellStyle
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711877 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 02:06:43 +00:00
Javen O'Neal
c0aec91a93
delete unnecessary cast
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711876 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 01:51:03 +00:00
Andreas Beeker
fa40f8417c
findbugs fixes
...
close resources in tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711712 13f79535-47bb-0310-9956-ffa450edef68
2015-11-01 03:23:16 +00:00
Andreas Beeker
8ebc22a84e
Add method for setting bullet styles
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711707 13f79535-47bb-0310-9956-ffa450edef68
2015-10-31 23:10:43 +00:00
Javen O'Neal
2354bbb0b0
supporting changes for bug 58452: copy cell formulas containing unregistered function names
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711600 13f79535-47bb-0310-9956-ffa450edef68
2015-10-31 11:39:01 +00:00
Javen O'Neal
043a86e243
bug 58443: prevent corrupted workbooks by checking for overlapping merged regions before adding a merged region to a sheet; fix unit tests that produced corrupt workbooks; remove deprecated HSSFSheet#addMergedRegion(Region)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711586 13f79535-47bb-0310-9956-ffa450edef68
2015-10-31 10:22:19 +00:00
Dominik Stadler
50baa731d3
Add a limit of the max number of characters that can be extracted to avoid sending applications out of memory with very large documents
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711520 13f79535-47bb-0310-9956-ffa450edef68
2015-10-30 17:26:37 +00:00
Nick Burch
fa5fc2e65e
Javadoc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711197 13f79535-47bb-0310-9956-ffa450edef68
2015-10-29 09:28:38 +00:00
Javen O'Neal
1396738460
bug 58557: fix from Alessandro Guarascio, shift hyperlinks when shifting rows on an XSSFSheet
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711185 13f79535-47bb-0310-9956-ffa450edef68
2015-10-29 06:53:55 +00:00
Andreas Beeker
1d1bdc1521
Common sl unification - copy first paragraph / textrun properties on XSLFTextShape.setText()
...
Common sl unification - converted ApacheconEU08 example to common sl - added missing functionality
Common sl unification - return null instead of default values for missing borders X/HSLFTable
Common sl unification - use points in HSLFTable.setColumnWidth()
Fix appending text to empty HSLFTextParagraph
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711171 13f79535-47bb-0310-9956-ffa450edef68
2015-10-29 01:05:27 +00:00
Nick Burch
632228a34e
#58558 SXSSFCell.setCellValue((RichTextString)null) fixed to work like XSSF and HSSF, with common unit tests to verify this
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711082 13f79535-47bb-0310-9956-ffa450edef68
2015-10-28 17:42:56 +00:00
Dominik Stadler
f1f08de7fb
Apply some micro-optimization which helps when retrieving the string-value of large spreadsheets
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710692 13f79535-47bb-0310-9956-ffa450edef68
2015-10-26 20:48:32 +00:00
Dominik Stadler
c7ebebcbb1
Bug 56957: Avoid error if Workbook with empty SharedStringTable is written
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710521 13f79535-47bb-0310-9956-ffa450edef68
2015-10-26 07:54:06 +00:00
Nick Burch
90db0bf451
Fix javadoc warning - @see with a URL needs wrapping in an a-href tag
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710460 13f79535-47bb-0310-9956-ffa450edef68
2015-10-25 16:19:35 +00:00
Dominik Stadler
27d4814b80
Set newer curvesapi-version in .classpath as well and update some third-party libs for the password-protection-code to the latest versions
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710032 13f79535-47bb-0310-9956-ffa450edef68
2015-10-22 15:21:25 +00:00
Dustin Spicuzza
fe771aa808
XDGF: fix the fix
...
- Use Collections.emptySet() for an iterator instead
- Bump curvesapi to 1.03, which is compiled for JDK 1.5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709463 13f79535-47bb-0310-9956-ffa450edef68
2015-10-19 18:36:45 +00:00
Dustin Spicuzza
9c23e12b8e
XDGF: fix jdk < 1.8 compat
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709427 13f79535-47bb-0310-9956-ffa450edef68
2015-10-19 14:55:30 +00:00
Dustin Spicuzza
f540622a05
XDGF: fix jenkins build errors
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709363 13f79535-47bb-0310-9956-ffa450edef68
2015-10-19 06:55:06 +00:00
Dustin Spicuzza
e0a5e102b8
Add Visio OOXML text extractor + tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709361 13f79535-47bb-0310-9956-ffa450edef68
2015-10-19 06:26:57 +00:00
Dustin Spicuzza
879ca64994
Add some limited XDGF documentation
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709357 13f79535-47bb-0310-9956-ffa450edef68
2015-10-19 06:08:58 +00:00
Dustin Spicuzza
e3365dfaeb
poi-import: fix build dependencies
...
- Compilation + tests work now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709356 13f79535-47bb-0310-9956-ffa450edef68
2015-10-19 05:59:42 +00:00
Dustin Spicuzza
d70b8e8b88
poi-visio import: reformat code to fit project standards, remove JRE 7isms
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709355 13f79535-47bb-0310-9956-ffa450edef68
2015-10-19 05:59:37 +00:00
Dustin Spicuzza
3bd2011924
Import poi-visio codebase
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709354 13f79535-47bb-0310-9956-ffa450edef68
2015-10-19 05:52:35 +00:00
Dominik Stadler
3a8f40db7c
Bug 58499: Don't report Zip-Bomb for small files which should not cause memory issues anyway
...
Also make error message a bit more specific and list classname in Zip-Bomb-Error to make it easier for users what the
problem is and how to find out where the static methods are
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709180 13f79535-47bb-0310-9956-ffa450edef68
2015-10-17 14:40:36 +00:00
Dominik Stadler
43ab1cd35a
Use the default XmlOptions for all the invocations of the XmlBeans XML parsing
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709128 13f79535-47bb-0310-9956-ffa450edef68
2015-10-17 08:45:25 +00:00
Andreas Beeker
a0a197bc96
javadoc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708265 13f79535-47bb-0310-9956-ffa450edef68
2015-10-12 23:10:02 +00:00
Andreas Beeker
5fd71db914
- removed deprecated and confusing methods in XSSFColor
...
- sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708236 13f79535-47bb-0310-9956-ffa450edef68
2015-10-12 20:43:42 +00:00
David North
2dc93d4411
Fix for https://bz.apache.org/bugzilla/show_bug.cgi?id=58466
...
ColumnHelper now preserves information on multiple changes to the same group, hopefully while preserving the faster implementation intended by the original patch.
NB changes to TestXSSFSheet: the behaviour of column group collapsing/expanding is now closer to what Excel does than before.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706789 13f79535-47bb-0310-9956-ffa450edef68
2015-10-05 10:31:33 +00:00
Andreas Beeker
98e93217fe
sonar fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706648 13f79535-47bb-0310-9956-ffa450edef68
2015-10-04 00:35:30 +00:00
Andreas Beeker
2de9d527b4
sonar fixes
...
Very interesting was the exception swallowing in PackagePropertiesPart. When it was properly thrown, it already led to various errors in the junits test - I've fixed the handling for at least the ones which are in our test set
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706169 13f79535-47bb-0310-9956-ffa450edef68
2015-09-30 23:06:39 +00:00
Andreas Beeker
ffd1f4333e
sonar fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1705814 13f79535-47bb-0310-9956-ffa450edef68
2015-09-29 08:31:15 +00:00
Andreas Beeker
6f7f16853e
Removed HDF API
...
Sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1705779 13f79535-47bb-0310-9956-ffa450edef68
2015-09-28 21:26:06 +00:00
Andreas Beeker
5cd3436295
Sonar fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1705587 13f79535-47bb-0310-9956-ffa450edef68
2015-09-27 22:14:25 +00:00
Andreas Beeker
abfe427e72
- a few findbugs/sonar fixes
...
- removed obsolete openxml4j signature classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1704964 13f79535-47bb-0310-9956-ffa450edef68
2015-09-23 23:22:46 +00:00
David North
c93ded0f36
Make XSSF and HSSF consistent in getMergedRegions - return empty list if there are none, rather than an exception. Tests for this.
...
https://bz.apache.org/bugzilla/show_bug.cgi?id=58350
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1704839 13f79535-47bb-0310-9956-ffa450edef68
2015-09-23 12:53:13 +00:00
Dominik Stadler
5e6b975b1c
Ensure that the ThreadLocal-Biff-Password is reset correctly after each usage, we had some unit tests failing sporadically due to this
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1704710 13f79535-47bb-0310-9956-ffa450edef68
2015-09-22 19:50:37 +00:00
Andreas Beeker
6488170c6d
removed common sl path
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1704207 13f79535-47bb-0310-9956-ffa450edef68
2015-09-21 00:16:36 +00:00
Andreas Beeker
dec09d2713
- #58216 - provide picture-shape resize that maintains the aspect ratio
...
- moved SlideShowFactory to Common SL
- changed get/setAnchor to Rectangle instead of Rectangle2D
- Fixed some Common SL generic definitions
- picture dimensions are now in points and an additional method exists for pixels
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1704206 13f79535-47bb-0310-9956-ffa450edef68
2015-09-21 00:09:45 +00:00
Andreas Beeker
18395d5c3b
- #58207 - Provide user access to the original image dimensions (XSLF)
...
- same for hslf / common sl
- unify method names in H/XSLF Slideshow for common sl
- add/fix header information for PICT/EMF/WMF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1704097 13f79535-47bb-0310-9956-ffa450edef68
2015-09-20 02:25:35 +00:00
Dominik Stadler
6dda58db90
Apply patch from bug 57890 to add support for different datatypes in XSSFImportFromXML
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1703665 13f79535-47bb-0310-9956-ffa450edef68
2015-09-17 18:30:13 +00:00
Nick Burch
20b44d546e
Javadoc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1703575 13f79535-47bb-0310-9956-ffa450edef68
2015-09-17 11:18:15 +00:00
Nick Burch
9647b62d1a
Patch from Javen ONeal from bug #58245 - Make Workbook support iterating over Sheets
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1703573 13f79535-47bb-0310-9956-ffa450edef68
2015-09-17 11:10:11 +00:00
Dominik Stadler
a5918f26fe
Update javadoc for bug 56129
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1702805 13f79535-47bb-0310-9956-ffa450edef68
2015-09-13 19:32:50 +00:00
Dominik Stadler
c6f875fbb9
Eclipse warnings, comment out dead code, close resources, enhance unit tests, javadoc, ...
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1702802 13f79535-47bb-0310-9956-ffa450edef68
2015-09-13 19:05:55 +00:00
Andreas Beeker
50777f1e48
fix eclipse warning - mostly generics cosmetics
...
close resources in tests
junit4 conversions
convert spreadsheet based formular test to junit parameterized tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1702773 13f79535-47bb-0310-9956-ffa450edef68
2015-09-13 12:36:56 +00:00
Andreas Beeker
aea434a135
forbidden apis fixes - a few DateFormat clean ups ...
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701888 13f79535-47bb-0310-9956-ffa450edef68
2015-09-09 00:41:03 +00:00
Andreas Beeker
50107cae16
Bug 58326 - Forbidden APIs patches - second set of changes for charset settings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701713 13f79535-47bb-0310-9956-ffa450edef68
2015-09-08 00:04:12 +00:00
Andreas Beeker
91e6a64627
forbidden apis fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701710 13f79535-47bb-0310-9956-ffa450edef68
2015-09-07 22:34:21 +00:00
Andreas Beeker
aaafb0270d
Bug 58326 - Forbidden APIs patches - first set of changes for locale and timezone settings
...
also includes fixes for
- name shadowing
- unused deprecated method "getClipRect" in classes extending Graphics2d
- HexDump - replaced intermediate String.format calls with custom padding
- convert testcases to junit4
- closing resources
also tested with an arbitary timezone (PST) and locale (ru)
supresses forbidden apis check for
- LocaleUtil (the only place where Locale.getDefault() and TimeZone.getDefault() should be called)
- Classes using FontMetrics - without the actual text it's difficult to return something sane
Some usage of UTC and Locale.ROOT might be still wrong, e.g. in MapiMessage we don't access the
extended mapi properties, which might contain the timezone
DataFormatter has now a Observable property which need to be observed when custom formats are used
and the Locale changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701688 13f79535-47bb-0310-9956-ffa450edef68
2015-09-07 20:19:50 +00:00
Dominik Stadler
782739541a
Bug 58315: Avoid NPE for RichTextString without font-details
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701382 13f79535-47bb-0310-9956-ffa450edef68
2015-09-05 12:57:04 +00:00
Dominik Stadler
b2bd6a0a4c
Eclipse warnings, close resources in CommandLineTextExtractor, add try/finally, formatting, ...
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701139 13f79535-47bb-0310-9956-ffa450edef68
2015-09-03 20:59:14 +00:00
Dominik Stadler
dab5f4c078
Fix bug 53275: reset indexed color flag when setting a non-indexed color
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701134 13f79535-47bb-0310-9956-ffa450edef68
2015-09-03 20:46:23 +00:00
Nick Burch
aa455c91fd
Fix some Forbidden APIs errors
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700670 13f79535-47bb-0310-9956-ffa450edef68
2015-09-01 21:09:20 +00:00
Nick Burch
47fb9df1a1
Fix some Forbidden APIs errors
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700644 13f79535-47bb-0310-9956-ffa450edef68
2015-09-01 19:06:53 +00:00
Nick Burch
533e1c8dcb
Fix some Forbidden APIs errors
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700642 13f79535-47bb-0310-9956-ffa450edef68
2015-09-01 19:01:36 +00:00
Dominik Stadler
6bdc2fb024
Add possibility to set zoomPercent for XWPFDocument
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1697992 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 19:34:28 +00:00
Andreas Beeker
cd536720dd
common sl: reworked and unified generics definitions
...
made various methods available through common sl
added createTextBox,AutoShape,... methods to ShapeContainers
hslf tables created by poi, will be identified as such when the file is read again
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1697515 13f79535-47bb-0310-9956-ffa450edef68
2015-08-24 23:15:14 +00:00
Nick Burch
0d7476e130
Tweak error message to make clear that we really need a file showing the problem
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1697502 13f79535-47bb-0310-9956-ffa450edef68
2015-08-24 21:20:01 +00:00
Nick Burch
d662021baf
Javadoc tweak
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1697462 13f79535-47bb-0310-9956-ffa450edef68
2015-08-24 17:55:57 +00:00
Dominik Stadler
39163eccff
Eclipse warnings, code formatting, missing @Overrides, Javadoc, missing close(), ...
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696794 13f79535-47bb-0310-9956-ffa450edef68
2015-08-20 14:28:39 +00:00
Dominik Stadler
c275dea88c
POI Bug 58260: Fix checks for limit on number of styles in XSSF/SXSSF and fix having more than 32k styles in SXSSF workbooks
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696586 13f79535-47bb-0310-9956-ffa450edef68
2015-08-19 13:36:08 +00:00
Dominik Stadler
580171fe27
Adjust excludes to make the output a bit cleaner in OOXMLLite and also look in the superclass for @Test annotations to include one additional unit-test that we missed currently.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696577 13f79535-47bb-0310-9956-ffa450edef68
2015-08-19 13:03:05 +00:00
David North
2af2fa28c2
Improve ReadOnlySharedStringsTable to cope gracefully with an empty SST part.
...
https://bz.apache.org/bugzilla/show_bug.cgi?id=58262
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696559 13f79535-47bb-0310-9956-ffa450edef68
2015-08-19 11:10:13 +00:00
Dominik Stadler
1e45197f59
* Adjust reported text when a Zip-Bomb is detected to allow to quickly see why it happened
...
* Fail only with inflation ratio lower than the min, not equals, to behave as documented
* Add getters to be able to temporarily adjust the limits for unit tests
* Allow lower inflation ratio in OOXMLPrettyPrint as this is a dev-only tool
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696556 13f79535-47bb-0310-9956-ffa450edef68
2015-08-19 10:57:19 +00:00
Dominik Stadler
0377dbbb3e
Bug 54938: Throw InvalidFormatException as documented instead of IllegalArgumentException in WorkbookFactory.create()
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696338 13f79535-47bb-0310-9956-ffa450edef68
2015-08-17 20:54:32 +00:00
Andreas Beeker
05c92b7a19
FindBugs - DLS_DEAD_LOCAL_STORE
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696038 13f79535-47bb-0310-9956-ffa450edef68
2015-08-15 11:57:57 +00:00
Nick Burch
6be4fc05d2
Remove catches which were previously incorrectly declared when not needed
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695775 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 20:31:25 +00:00
Nick Burch
1a84b476e8
#58237 When adding a picture to a XWPF header or footer, attach it to the right part
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695772 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 20:23:58 +00:00
Nick Burch
cfbc261e65
#58237 Add some more XWPF header and footer tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695769 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 20:01:04 +00:00
Andreas Beeker
0e1aa75750
findbugs - DM_NUMBER_CTOR
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695635 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 00:38:04 +00:00
Andreas Beeker
3ac2d2905a
findbugs - DM_BOXED_PRIMITIVE_...
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695629 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 00:17:08 +00:00
Nick Burch
6d46fc382f
#58220 - Improve the javadocs for XSSFFont and Font getFontHeight methods
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695528 13f79535-47bb-0310-9956-ffa450edef68
2015-08-12 14:14:12 +00:00
Nick Burch
ac8ed40f80
Fix some eclipse warnings, add TODOs for fields/hyperlinks XWPF add support, and give a more helpful exception if someone tries to remove a XWPFRun that is not a direct paragraph child
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695365 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 20:10:53 +00:00
Nick Burch
87a2acf935
Support XWPF field runs, the same way that we handle hyperlink runs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695361 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 20:01:26 +00:00
Dominik Stadler
ccc4ebcf70
Bug 56479: don't hardcode dcterms as namespace alias in the attribute, but expect the actual alias that is used in the corresponding element.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695212 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 05:37:15 +00:00
Andreas Beeker
750558d8d9
#56519 - XSLFSlide.draw is not working with text embeded in PPTX
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694925 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 22:44:13 +00:00
Andreas Beeker
d0e0f0cb97
#58205 - getSlideMasters() returns the master slides in the incorrect order
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694592 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 00:17:55 +00:00
David North
66fbc9d44e
Example to go with refactor for https://bz.apache.org/bugzilla/show_bug.cgi?id=58219
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694536 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 16:37:09 +00:00
David North
9730ff9cd6
Proposed refactor for:
...
https://bz.apache.org/bugzilla/show_bug.cgi?id=58219
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694531 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 15:57:48 +00:00
Andreas Beeker
f28588fbb3
#57786 - XSLFFreeformShape ignores quadratic bezier curves
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694373 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 23:24:13 +00:00
Andreas Beeker
e5069da22a
#58206 - provide a mechanism to find slide layouts by name
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694340 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 22:46:42 +00:00