Nick Burch
ed9a070491
#58847 Getters/setters/removers for the additional well-known document summary information properties from Office 12
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1724363 13f79535-47bb-0310-9956-ffa450edef68
2016-01-13 07:26:26 +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
Nick Burch
ef61211207
More Office 12 DSI property IDs, getters/setters to follow
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1724110 13f79535-47bb-0310-9956-ffa450edef68
2016-01-11 18:43:33 +00:00
Nick Burch
5e32d8c805
Bump up the max DSI property ID, and list a few Office 12 well known IDs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1724104 13f79535-47bb-0310-9956-ffa450edef68
2016-01-11 18:26:24 +00:00
Andreas Beeker
b3b4ed6564
add other printStackTrace methods to forbidden-apis-check
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1723960 13f79535-47bb-0310-9956-ffa450edef68
2016-01-10 19:52:16 +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
Javen O'Neal
1e9fd97f78
bug 58815: javadoc spelling
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1723445 13f79535-47bb-0310-9956-ffa450edef68
2016-01-07 01:53:05 +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
Javen O'Neal
347881ef1e
bug 58633 comment 5 and comment 6: add unit test coverage for CellUtil.java; throw exception of Cell does not belong to workbook for some methods
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722618 13f79535-47bb-0310-9956-ffa450edef68
2016-01-02 11:11:33 +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
Javen O'Neal
85bb833ea1
javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722605 13f79535-47bb-0310-9956-ffa450edef68
2016-01-02 03:40:22 +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
8589924b22
Bug 58746: Fix missing adjustment of formulas when sheet-ordering is changed.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722410 13f79535-47bb-0310-9956-ffa450edef68
2015-12-30 20:31:44 +00:00
Dominik Stadler
8ae2972f3d
Bug 58616: Try to initialize with empty password if not done before
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722407 13f79535-47bb-0310-9956-ffa450edef68
2015-12-30 20:31:23 +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
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
0ef05fcdab
java docs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721901 13f79535-47bb-0310-9956-ffa450edef68
2015-12-28 12:11:13 +00:00
Javen O'Neal
a94df00797
make HSSFCellStyle attributes final, add Override decorators on all methods
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721876 13f79535-47bb-0310-9956-ffa450edef68
2015-12-28 05:43:11 +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
0a3370347e
Fix freeing resources in some tests and dev-tools so we can run unit-tests with enabled file-leak-detector
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721468 13f79535-47bb-0310-9956-ffa450edef68
2015-12-22 22:35:59 +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
Andreas Beeker
3e8b58e356
fix forbidden apis issues
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1719778 13f79535-47bb-0310-9956-ffa450edef68
2015-12-13 09:51:22 +00:00
Javen O'Neal
5da709336c
supporting change for bug 56454: SheetUtil.containsCell and CellRangeAddress.isInRange are equivalent
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1718221 13f79535-47bb-0310-9956-ffa450edef68
2015-12-06 21:11:38 +00:00
Javen O'Neal
4aa6108c0d
add hashCode for corresponding equals function
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717940 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 11:59:26 +00:00
Javen O'Neal
abced24fe4
javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717938 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 11:56:59 +00:00
Javen O'Neal
26abacebaf
FindBugs warning: ExcelStyleDateFormatter doesn't override java.text.SimpleDAtaFormat.equals(Object)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717930 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 10:54:21 +00:00
Javen O'Neal
3b24eaacd3
make fields static
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717929 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 10:51:03 +00:00
Javen O'Neal
93497e5b0e
add comments for names of missing functions
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717920 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 10:01:58 +00:00
Javen O'Neal
b6e5801a1c
fix javadocs errors
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717907 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 07:20:36 +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
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
Javen O'Neal
293ef9fe17
remove deprecated functions (since 2008)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717899 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 06:30:34 +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
b58839e4b0
whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717162 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 04:36:17 +00:00
Javen O'Neal
71b587ef36
bug 58671: change MissingCellPolicy from class to enum
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717157 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 04:24:06 +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
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
Javen O'Neal
79e099f5fa
Patch from Lyle for bug 52903: HSSFSheet.shiftRows does not shift hyperlink references
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717069 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 14:45:24 +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
16c1afa0d0
HSSFRow: make instance variables final
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717049 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 11:58:26 +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
Javen O'Neal
659662b5f8
bug 58636: make ClientAnchor enum constructor private, make byId Internal
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717024 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 02:18:45 +00:00
Javen O'Neal
8c1517eee4
javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716948 13f79535-47bb-0310-9956-ffa450edef68
2015-11-28 11:55:02 +00:00
Javen O'Neal
47dc6340c2
javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716947 13f79535-47bb-0310-9956-ffa450edef68
2015-11-28 11:53:22 +00:00
Javen O'Neal
2a62f57db5
+FIXME
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716838 13f79535-47bb-0310-9956-ffa450edef68
2015-11-27 11:30:18 +00:00
Javen O'Neal
19f4f8af22
javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716365 13f79535-47bb-0310-9956-ffa450edef68
2015-11-25 11:52:25 +00:00
Javen O'Neal
e8b2d5feb4
bug 58651: replace for-looped sheet.getMergedRegion(index) with sheet.getMergedRegions()
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716362 13f79535-47bb-0310-9956-ffa450edef68
2015-11-25 11:48:17 +00:00
Javen O'Neal
2e795a5f26
javadoc fix
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716342 13f79535-47bb-0310-9956-ffa450edef68
2015-11-25 09:48:36 +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
Dominik Stadler
e20da28904
Remove useless double check on null introduced with the previous bugfix
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716082 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 09:10:27 +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
e117107313
javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716073 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 08:50:53 +00:00
Javen O'Neal
e25f69814c
whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716060 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 08:15:42 +00:00
Javen O'Neal
d58342dd9f
whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716057 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 08:13:10 +00:00
Javen O'Neal
735c43ec9d
bug 58644: fix HSSFSheet.setZoom(int); update documentation to use non-deprecated method
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716053 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 08:04:42 +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
cd254f2f1e
FindBugs MALICIOUS_CODE, finalize method should have protected access
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716006 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 01:20:45 +00:00
Javen O'Neal
a736ac1777
FindBug warning: ICAST_IDIV_CAST_TO_DOUBLE: integral division result cast to double
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716005 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 01:11:57 +00:00
Javen O'Neal
cba32cd1a0
FindBug warning: EQ_SELF_USE_OBJECT: class defines equals(Region) and uses Object.equals(Object)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716004 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 01:10:47 +00:00
Javen O'Neal
6acd60f74d
fix normal priority FindBugs warning: DMI_INVOKING_HASHCODE_ON_ARRAY
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715998 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 00:08:22 +00:00
Javen O'Neal
10eb8f8095
fix javadoc warnings from r1690486
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715996 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 23:57:40 +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
dbba80c3fc
bug 58637: contribution from Hannes Erven: add CellAddress class, distinct from CellReference
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715743 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 09:30:53 +00:00
Andreas Beeker
4ccadf7315
fix unnecessary cast warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715626 13f79535-47bb-0310-9956-ffa450edef68
2015-11-22 12:30:42 +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
07dc2b9e08
findbugs fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715087 13f79535-47bb-0310-9956-ffa450edef68
2015-11-19 01:44:38 +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
67b4477a7e
Fix typo in EscherProperties
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1714289 13f79535-47bb-0310-9956-ffa450edef68
2015-11-14 02:42:05 +00:00
Uwe Schindler
493a157e6a
Fix remaining security manager problems. Forbiddenapis now passes.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713915 13f79535-47bb-0310-9956-ffa450edef68
2015-11-11 19:11:35 +00:00
Uwe Schindler
73a8488838
#58597 : Fix tests to not do setAccessible(), add some doPrivileged, too.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713891 13f79535-47bb-0310-9956-ffa450edef68
2015-11-11 16:57:39 +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
8c3cd70589
Use Lucene's unmapping code inside AccessController.doPrivileged() for unmapping mapped byte buffers.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713350 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 09:06:01 +00:00
Andreas Beeker
d1d1298d96
#53192 - Images in ppt file have wrong width when convering ppt to png
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713332 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 01:28:31 +00:00
Uwe Schindler
66ce32aee1
Add reason message to @SuppressForbidden
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713324 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 23:44:24 +00:00
Andreas Beeker
1a32b63fd3
#52297 - Bullets are not aligned properly while converting ppt slide to image
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713316 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 23:11:22 +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
Nick Burch
0e7caa5eb1
Bug #55265 - DataFormatter correct support for alternate number grouping characters, eg 1234 + #'##0 = 1'234 not 1,234
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712605 13f79535-47bb-0310-9956-ffa450edef68
2015-11-04 18:23:17 +00:00
Javen O'Neal
20ba4851a8
fix for bug 51622: autosize columns with leading whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712477 13f79535-47bb-0310-9956-ffa450edef68
2015-11-04 06:39:57 +00:00
Javen O'Neal
265d198612
bug 58576: rename canComputeColumnWidht to canComputeColumnWidth
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712219 13f79535-47bb-0310-9956-ffa450edef68
2015-11-03 07:23:09 +00:00
Javen O'Neal
3b88a60498
supporting change for bug 57450 from Stefan Thurnherr
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712217 13f79535-47bb-0310-9956-ffa450edef68
2015-11-03 07:07:11 +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
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
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
87ad007ce4
add ASF License 2.0 header
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711901 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 05:33: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
b729d3896c
whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711880 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 02:22:45 +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
fa7beda123
remove unneeded SuppressWarnings("resource") decorator from getSheetName
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711878 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 02:13:35 +00:00
Javen O'Neal
af4a96f467
bug 58384: add FormulaShifter.createForRowCopy
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711866 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 00:25:08 +00:00
Andreas Beeker
ae69a781f5
close resources, as SlideShow is now Closeable
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711865 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 00:05:14 +00:00
Javen O'Neal
44edbec0d5
prepare for bug 58348, make FormulaShifter.ShiftMode enum private
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711864 13f79535-47bb-0310-9956-ffa450edef68
2015-11-01 23:54:13 +00:00
Javen O'Neal
adcc71257a
whitespace changes: replaced tabs with 4 spaces
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711862 13f79535-47bb-0310-9956-ffa450edef68
2015-11-01 23:30:48 +00:00
Andreas Beeker
72834dfffa
FindBugs fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711708 13f79535-47bb-0310-9956-ffa450edef68
2015-10-31 23:13:35 +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
Andreas Beeker
6485c11305
Make SlideShow closeable as of HSLF references a NPOIFSFileSystem and hasn't closed it
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711706 13f79535-47bb-0310-9956-ffa450edef68
2015-10-31 23:10:17 +00:00
Javen O'Neal
d0694f4fc9
whitespace change
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711680 13f79535-47bb-0310-9956-ffa450edef68
2015-10-31 19:56:22 +00:00
Javen O'Neal
f98fda03c1
add javadoc info for intersects
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711613 13f79535-47bb-0310-9956-ffa450edef68
2015-10-31 12:21:51 +00:00
Javen O'Neal
1aa81eb463
bug58452: set cell formulas containing unregistered function names
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711605 13f79535-47bb-0310-9956-ffa450edef68
2015-10-31 11:57:39 +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
5f23aa95f7
bug 58442: in-place reorganize an AreaPtg as upper-left and lower-right
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711592 13f79535-47bb-0310-9956-ffa450edef68
2015-10-31 11:10:28 +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
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
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
David North
b0551e322e
Fix for https://bz.apache.org/bugzilla/show_bug.cgi?id=58549
...
Thanks to Damian Cugley for the patch.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710552 13f79535-47bb-0310-9956-ffa450edef68
2015-10-26 10:32:30 +00:00
Nick Burch
8cd7f1f736
58536 DataFormatter and CellFormat non-localised support for localised currency formats like [$£-809]
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710484 13f79535-47bb-0310-9956-ffa450edef68
2015-10-25 21:20:44 +00:00
Nick Burch
dc947416d4
Mention about Locale definitions in Excel cell data format strings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710459 13f79535-47bb-0310-9956-ffa450edef68
2015-10-25 16:13:16 +00:00
Nick Burch
e966499ad2
#58532 For Excel cell formats with 3+ parts to them (eg +ve,-ve,0), which
...
DataFormatter didn't properly support, call out to the alternate CellFormat
instead for the formatting.
This also allows us to enable some disabled parts of DataFormatter unit tests
We still need to rationalise DataFormatter and CellFormatter though, so we
only have one set of cell formatting logic...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710399 13f79535-47bb-0310-9956-ffa450edef68
2015-10-24 23:34:47 +00:00
Dominik Stadler
dd48f58f95
Bug 58085: removing sheet breaks other existing sheet references
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710193 13f79535-47bb-0310-9956-ffa450edef68
2015-10-23 12:11:40 +00:00
Javen O'Neal
c22fdbbc2b
bug 58441: define equals method for CellRangeAddressBase
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710172 13f79535-47bb-0310-9956-ffa450edef68
2015-10-23 11:17:06 +00:00
Javen O'Neal
ab729cfd0e
bug 58402: make AreaReference's private SpreadsheetVersion _version variable final
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710163 13f79535-47bb-0310-9956-ffa450edef68
2015-10-23 09:54:32 +00:00
Javen O'Neal
522b6d4a15
bug 58439: rename private FormulaShifter.adjustPtgDueToShiftMove to adjustPtgDueToSheetMove
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710147 13f79535-47bb-0310-9956-ffa450edef68
2015-10-23 08:56:49 +00:00
Dominik Stadler
a00240f212
Bug 58480: Work around problem where on Windows systems a Mapped Buffer can still lock a file even if the Channel was closed properly. Use reflection as DirectBuffer is in package sun.com and thus likely to go away with Java 9.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708609 13f79535-47bb-0310-9956-ffa450edef68
2015-10-14 14:53:41 +00:00
Dominik Stadler
d15ef65b8f
Bug 58341: fix some edge cases in the DStar function
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708606 13f79535-47bb-0310-9956-ffa450edef68
2015-10-14 14:31:04 +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
Andreas Beeker
cab7f9c2e0
fix forbidden apis issue and make non-static as decimalformat is not thread-safe
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1707166 13f79535-47bb-0310-9956-ffa450edef68
2015-10-06 22:52:05 +00:00
David North
efee7bf83f
Format numbers more like Excel does
...
Thanks to Chris Boyle for the patch
https://bz.apache.org/bugzilla/show_bug.cgi?id=58471
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706971 13f79535-47bb-0310-9956-ffa450edef68
2015-10-06 09:56:26 +00:00
Andreas Beeker
62561d5f53
sonar fixes and closing resources after use
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706937 13f79535-47bb-0310-9956-ffa450edef68
2015-10-06 00:04:12 +00:00
Andreas Beeker
eee32c0480
fixed sonar issues and eclipse warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706742 13f79535-47bb-0310-9956-ffa450edef68
2015-10-05 00:28:54 +00:00
Andreas Beeker
0d29f8b2ec
obsoleted Codec classes by HexDump
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706741 13f79535-47bb-0310-9956-ffa450edef68
2015-10-05 00:27:47 +00:00
Andreas Beeker
8aec6ba738
removed obsolete classes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706740 13f79535-47bb-0310-9956-ffa450edef68
2015-10-05 00:26:45 +00:00
Andreas Beeker
d9c0fb9ce5
Fixed a problem with save-and-load of conditional formattings (CFHeader12 wasn't added to conditional formattings, rgb value wasn't saved in extended color)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706739 13f79535-47bb-0310-9956-ffa450edef68
2015-10-05 00:26:19 +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
Dominik Stadler
030c29cfed
Bug 55032: Fix handling missing option values in financial functions PV, FV, NPER and PMT
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706254 13f79535-47bb-0310-9956-ffa450edef68
2015-10-01 14:05:28 +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
Dominik Stadler
99d33a0330
Bug 50319: Make row groups which include row 0 work
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1705844 13f79535-47bb-0310-9956-ffa450edef68
2015-09-29 12:26:08 +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
1b2b506edb
Sonar fixes - add cloneable interface to classes with clone()
...
Sonar fixes - remove pubic/static/final modifier from interfaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1705789 13f79535-47bb-0310-9956-ffa450edef68
2015-09-28 23:16:58 +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
bde96d1a9a
fixed some wrong nightly assumptions ... (Note to myself, don't rely on ant automatic file change detection, but run ant clean before ...)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1704999 13f79535-47bb-0310-9956-ffa450edef68
2015-09-24 05:51:38 +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
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
Nick Burch
c556e08a52
Fix javadoc warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1704393 13f79535-47bb-0310-9956-ffa450edef68
2015-09-21 19:18:40 +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
a207e463e9
Bug 57925: Add unit test and a simple fix to at least avoid the NPE when Workbooks have invalid external references
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1703999 13f79535-47bb-0310-9956-ffa450edef68
2015-09-19 12:22:42 +00:00
Dominik Stadler
3a325dc5dc
Bug 57915: Fix Dev2Hex for numbers larger than Integer.MAX_VALUE and less than Integer.MIN_VALUE
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1703672 13f79535-47bb-0310-9956-ffa450edef68
2015-09-17 19:23:25 +00:00