aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
Commit message (Collapse)AuthorAgeFilesLines
...
* Sonar fix - "Cast one of the operands of this addition operation to a ↵Andreas Beeker2020-04-201-1/+1
| | | | | | 'long'/'double'" git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876767 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2020-04-1917-65/+69
| | | | | | | | - Math operands should be cast before assignment - Suppress - Make sure that command line arguments are used safely here - Suppress - Replace this use of System.out or System.err by a logger. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876737 13f79535-47bb-0310-9956-ffa450edef68
* #63745 - Add traversing and debugging interface to HSSFAndreas Beeker2020-04-1916-403/+394
| | | | | | a few more HSSF / Old Excel classes git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876732 13f79535-47bb-0310-9956-ffa450edef68
* Inspired by Stackoverflow #61292598 - Expose if a Named Range is hidden or notNick Burch2020-04-192-0/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876722 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixes - Ignore System.out-calls and args checks in examplesAndreas Beeker2020-04-185-365/+108
| | | | | | Remove superfluous internal methods git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876704 13f79535-47bb-0310-9956-ffa450edef68
* Replace Allocate+System.arraycopy with Array.copyOf/Range and ↵Andreas Beeker2020-04-1631-434/+299
| | | | | | IOUtils.safelyClone git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876640 13f79535-47bb-0310-9956-ffa450edef68
* #64350 - Sonar fix - "Iterator.next()" methods should throw ↵Andreas Beeker2020-04-146-103/+82
| | | | | | "NoSuchElementException" git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876525 13f79535-47bb-0310-9956-ffa450edef68
* #64036 - Replace reflection calls in factories for Java 9+ (HSSF Record Factory)Andreas Beeker2020-04-134-564/+239
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876467 13f79535-47bb-0310-9956-ffa450edef68
* #63745 - Add traversing and debugging interface to HSSFAndreas Beeker2020-04-12254-4007/+4923
| | | | | | | | | | This makes toString() implementations obsolete. This also contains preparation for #64036 to (maybe) change the record factory interface of HSSF. Remove duplicated record SeriesToChartGroupRecord, which is a duplicate of SeriesChartGroupIndexRecord. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876433 13f79535-47bb-0310-9956-ffa450edef68
* #64319 Tighten the scientific format code to avoid making eg TRUE into ↵Nick Burch2020-04-111-3/+7
| | | | | | TRUE+, handle formats like 0E-0, and ensure formats like 0E0 work correctly git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876396 13f79535-47bb-0310-9956-ffa450edef68
* ArrayUtil - remove unused methodAndreas Beeker2020-04-061-34/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876205 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixes - String literals should not be duplicatedAndreas Beeker2020-04-054-73/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876163 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixes - "static" base class members should not be accessed via derived ↵Andreas Beeker2020-04-051-15/+15
| | | | | | types git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876159 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60656 - Emf image support in slideshowsAndreas Beeker2020-04-053-72/+51
| | | | | | | | | | | | | - fixed WmfExtTextOut dx handling for variable text spacing - fixed WmfExtTextOut text position for (0,0) references based on the current/last path location - fixed WmfExtTextOut handling of symbol/wingdings charset (move ascii to unicode private area, because Java font loader maps the glyphs there) - and use existing workaround if the fonts aren't installed, i.e. use corresponding unicode characters of the logcial font then - provide option in PPTX2PNG to use given file input type, if the file magic is unknown - provide option in PPTX2PNG to render text as shapes in SVG, as dx handling (above) implemented via TextAttribute.TRACKING is not supported by batik source of the sample.wmf, which I've used: https://stackoverflow.com/questions/58726194/svg-rendering-with-batik-produce-broken-image git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876136 13f79535-47bb-0310-9956-ffa450edef68
* Sonar Fixes - "static" base class members should not be accessed via derived ↵Andreas Beeker2020-04-026-78/+120
| | | | | | types git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876067 13f79535-47bb-0310-9956-ffa450edef68
* Sonar Fixes - The diamond operator ("<>") should be usedAndreas Beeker2020-04-0216-619/+635
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876064 13f79535-47bb-0310-9956-ffa450edef68
* Sonar Fixes and remove obsolete classesAndreas Beeker2020-04-011-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876019 13f79535-47bb-0310-9956-ffa450edef68
* 64261 -- fix handling of drop down list when items are selectedTim Allison2020-03-311-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875956 13f79535-47bb-0310-9956-ffa450edef68
* Sonar FixesAndreas Beeker2020-03-293-33/+23
| | | | | | | - name clashes with constants - missing break in switch statements git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875863 13f79535-47bb-0310-9956-ffa450edef68
* Sonar Fixes - try to fix XXE warningsAndreas Beeker2020-03-291-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875860 13f79535-47bb-0310-9956-ffa450edef68
* Sonar FixesAndreas Beeker2020-03-2912-305/+426
| | | | | | | | | - use String.replace instead of String.replaceAll for literal values - use constants from base class - deprecated various references to constants of org.apache.poi.ss.usermodel.FontFormatting - to be replaced by o.a.p.s.u.Font in POI 5.0.0 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875859 13f79535-47bb-0310-9956-ffa450edef68
* Bug 63845: Adjust handling of formula-cells to fix regression introduced in ↵Dominik Stadler2020-03-292-9/+9
| | | | | | 4.1.0 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875837 13f79535-47bb-0310-9956-ffa450edef68
* Bug 61863: Update JavaDoc to describe relation to workbook-level flagDominik Stadler2020-03-281-60/+65
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875804 13f79535-47bb-0310-9956-ffa450edef68
* #64241 - shade and tint calculation are based now on scRGB (opposed to HSL) ↵Andreas Beeker2020-03-221-38/+48
| | | | | | colorspace git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875522 13f79535-47bb-0310-9956-ffa450edef68
* #64241 - XSLF - Wrong scheme colors used when renderingAndreas Beeker2020-03-212-5/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875499 13f79535-47bb-0310-9956-ffa450edef68
* #64213 - Picture.resize(double scale) scales width wrong for small pictures ↵Andreas Beeker2020-03-161-108/+110
| | | | | | and when dx1 is set git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875266 13f79535-47bb-0310-9956-ffa450edef68
* Get UUID from ClassIDAndreas Beeker2020-03-081-7/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874989 13f79535-47bb-0310-9956-ffa450edef68
* Work on bug 64038 and other bugs and add test for 62865Dominik Stadler2020-03-081-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874983 13f79535-47bb-0310-9956-ffa450edef68
* Try to use https for poi.apache.org everywhereDominik Stadler2020-03-082-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874981 13f79535-47bb-0310-9956-ffa450edef68
* Bug 58896 and 52834: Cache Sheet.getMergedRegions() as it seems to sometimes ↵Dominik Stadler2020-03-081-12/+35
| | | | | | be the culprit for autosize taking a very long time. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874973 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60282: Update JavaDoc and use a common constant for TWIPS_PER_POINTDominik Stadler2020-03-082-20/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874966 13f79535-47bb-0310-9956-ffa450edef68
* Update JavaDoc for logging and marshallingDominik Stadler2020-03-084-25/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874965 13f79535-47bb-0310-9956-ffa450edef68
* Fix incorrect handling of format which should not produce any digit for zeroDominik Stadler2020-03-071-10/+13
| | | | | | | | Also include the internally computed format-string when the resulting format causes an exception One other case with question marks is still not handled correctly, though git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874950 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2020-02-253-10/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874530 13f79535-47bb-0310-9956-ffa450edef68
* replace some calls to Collection methods with shorter/more effective versionsAxel Howind2020-02-203-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874263 13f79535-47bb-0310-9956-ffa450edef68
* use indexOf(char) instead of indexOf(String) where possible; replace one ↵Axel Howind2020-02-202-2/+2
| | | | | | more StringBuffer with StringBuilder - bug 63805 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874262 13f79535-47bb-0310-9956-ffa450edef68
* Applied "clean up IntList code" patch from bug 63805Axel Howind2020-02-201-50/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874257 13f79535-47bb-0310-9956-ffa450edef68
* PPTX2PNG - fix SVG gradientsAndreas Beeker2020-02-171-17/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874150 13f79535-47bb-0310-9956-ffa450edef68
* Bug 64130 -- handle empty worksheet names in OldSheetRecord more robustly.Tim Allison2020-02-101-9/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873863 13f79535-47bb-0310-9956-ffa450edef68
* Use indexed palette for duo tone patternAndreas Beeker2020-02-031-14/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873516 13f79535-47bb-0310-9956-ffa450edef68
* XSLF Performance - don't initialize the JAXBContext every timeAndreas Beeker2020-02-021-6/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873499 13f79535-47bb-0310-9956-ffa450edef68
* TextLayout.getAdvance() for " " returns 0 in some cases / JDKs, which caused ↵Andreas Beeker2020-02-021-14/+26
| | | | | | an div by 0 -> Infinity problem git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873494 13f79535-47bb-0310-9956-ffa450edef68
* Improve some assertions and error messages for exceptions seen in the ↵Dominik Stadler2020-01-301-7/+4
| | | | | | regression tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873385 13f79535-47bb-0310-9956-ffa450edef68
* Handle empty files correctly when looking for FileMagic to avoid ↵Dominik Stadler2020-01-271-2/+5
| | | | | | NegativeArraySizeException git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873232 13f79535-47bb-0310-9956-ffa450edef68
* #64036 - Replace reflection calls in factories for Java 9+ - Escher factoriesAndreas Beeker2020-01-268-611/+207
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873187 13f79535-47bb-0310-9956-ffa450edef68
* #64088 - SlideShow rendering fixesAndreas Beeker2020-01-193-50/+170
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872984 13f79535-47bb-0310-9956-ffa450edef68
* use a few more lambdasPJ Fanning2020-01-122-17/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872644 13f79535-47bb-0310-9956-ffa450edef68
* try to fix some jdk 14 build issues due to java.lang.Record causing existing ↵PJ Fanning2020-01-1033-126/+123
| | | | | | POI Record classes to be ambiguous git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872610 13f79535-47bb-0310-9956-ffa450edef68
* reformat codePJ Fanning2020-01-091-134/+136
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872568 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63998] Support commas, exclamation marks correctly in AreaReference. ↵PJ Fanning2020-01-091-13/+32
| | | | | | Thanks to hzwhuang git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872567 13f79535-47bb-0310-9956-ffa450edef68