summaryrefslogtreecommitdiffstats
path: root/src/scratchpad
Commit message (Collapse)AuthorAgeFilesLines
...
* #64411 - Provide JigSaw modulesAndreas Beeker2020-05-052-59/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877398 13f79535-47bb-0310-9956-ffa450edef68
* Throw exception on null/placeholder arrays in TNEFAndreas Beeker2020-04-261-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877044 13f79535-47bb-0310-9956-ffa450edef68
* Replace assertion with exceptionAndreas Beeker2020-04-242-5/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876951 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fix - "Add a "NoSuchElementException" for iteration beyond the end of ↵Andreas Beeker2020-04-202-21/+30
| | | | | | | | the collection." PPTX2PNG - handle ignoreParse/quite for file inputs too git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876768 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fix - "Cast one of the operands of this addition operation to a ↵Andreas Beeker2020-04-2021-51/+51
| | | | | | 'long'/'double'" git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876767 13f79535-47bb-0310-9956-ffa450edef68
* #57843 - RuntimeException on extracting text from Word 97-2004 DocumentAndreas Beeker2020-04-162-42/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876641 13f79535-47bb-0310-9956-ffa450edef68
* Replace Allocate+System.arraycopy with Array.copyOf/Range and ↵Andreas Beeker2020-04-16110-839/+724
| | | | | | 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-144-16/+27
| | | | | | "NoSuchElementException" git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876525 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixes - "static" base class members should not be accessed via derived ↵Andreas Beeker2020-04-0518-272/+231
| | | | | | types git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876159 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2020-04-059-228/+111
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876157 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60656 - Emf image support in slideshowsAndreas Beeker2020-04-053-188/+247
| | | | | | | | | | | | | - 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-0247-293/+268
| | | | | | types git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876067 13f79535-47bb-0310-9956-ffa450edef68
* Sonar FixesAndreas Beeker2020-03-293-35/+37
| | | | | | | - 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 FixesAndreas Beeker2020-03-291-1/+1
| | | | | | | | | - 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
* #64241 - shade and tint calculation are based now on scRGB (opposed to HSL) ↵Andreas Beeker2020-03-222-56/+59
| | | | | | colorspace git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875522 13f79535-47bb-0310-9956-ffa450edef68
* github-167 - HSMF enhancementsAndreas Beeker2020-03-087-180/+690
| | | | | | | | | | | | | | | | | introduce NameIdChunks.GetPropertyTag: which enables evaluating property ids from properties identified by name/id in property sets (simple version of IMAPIProp::GetIDsFromNames) AttachmentChunks.getAttachData: use new ByteChunkDeferred instead of ByteChunk which enables delayed reading of attachments to avoid all attachments are completely read into memory when parsing which may cause OutOfMemoryErrors on e-mails with big attachments. POIFSChunkParser: support reading multi valued chunks (e.g. required when reading the Keywords ("categories") property) add MAPIProperty.RECEIVED_BY_SMTP_ADDRESS add unit tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874990 13f79535-47bb-0310-9956-ffa450edef68
* Try to use https for poi.apache.org everywhereDominik Stadler2020-03-083-13/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874981 13f79535-47bb-0310-9956-ffa450edef68
* fix IntelliJ warningsAndreas Beeker2020-02-2122-231/+212
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874338 13f79535-47bb-0310-9956-ffa450edef68
* use indexOf(char) instead of indexOf(String) where possible; replace one ↵Axel Howind2020-02-201-1/+1
| | | | | | more StringBuffer with StringBuilder - bug 63805 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874262 13f79535-47bb-0310-9956-ffa450edef68
* Regression findings - fix missing moveto exceptionAndreas Beeker2020-02-022-78/+114
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873515 13f79535-47bb-0310-9956-ffa450edef68
* Local EMF test changesAndreas Beeker2020-01-311-32/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873430 13f79535-47bb-0310-9956-ffa450edef68
* Improve some assertions and error messages for exceptions seen in the ↵Dominik Stadler2020-01-302-3/+4
| | | | | | regression tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873385 13f79535-47bb-0310-9956-ffa450edef68
* Fix some IDE warnings, Sonar fixes and some missing closing of resources in ↵Dominik Stadler2020-01-273-6/+7
| | | | | | unit-tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873231 13f79535-47bb-0310-9956-ffa450edef68
* #64036 - Replace reflection calls in factories for Java 9+ - Escher factoriesAndreas Beeker2020-01-261-30/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873187 13f79535-47bb-0310-9956-ffa450edef68
* sonar fixesAndreas Beeker2020-01-231-4/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873078 13f79535-47bb-0310-9956-ffa450edef68
* #64088 - SlideShow rendering fixesAndreas Beeker2020-01-191-3/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872984 13f79535-47bb-0310-9956-ffa450edef68
* try to fix some jdk 14 build issues due to java.lang.Record causing existing ↵PJ Fanning2020-01-1047-157/+157
| | | | | | POI Record classes to be ambiguous git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872610 13f79535-47bb-0310-9956-ffa450edef68
* #63955 - HMEFContentsExtractor fails to extract content from winmail.datAndreas Beeker2020-01-085-155/+130
| | | | | | added example file - optimized junit tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872480 13f79535-47bb-0310-9956-ffa450edef68
* findbugs fixes and refactor some ClassIDsAndreas Beeker2020-01-071-7/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872473 13f79535-47bb-0310-9956-ffa450edef68
* Fix Visio compressionAndreas Beeker2020-01-013-476/+402
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872223 13f79535-47bb-0310-9956-ffa450edef68
* #64036 - remove reflective calls in Workbook- and SlideShowFactoryAndreas Beeker2019-12-281-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872066 13f79535-47bb-0310-9956-ffa450edef68
* Migrate all junit tests to Junit 4Andreas Beeker2019-12-2766-1477/+1575
| | | | | | | | get rid of references to junit.framework don't throw AssertionFailedErrors, but use Assert.fail instead add try-with-resources where it was missing git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872041 13f79535-47bb-0310-9956-ffa450edef68
* fix spelling of OutlookTextExtractor class namePJ Fanning2019-12-263-219/+249
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871994 13f79535-47bb-0310-9956-ffa450edef68
* fix spelling of UsagePJ Fanning2019-12-263-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871987 13f79535-47bb-0310-9956-ffa450edef68
* fix spelling of OutlookTextExtractor class namePJ Fanning2019-12-262-159/+232
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871986 13f79535-47bb-0310-9956-ffa450edef68
* #64004 - Replace clone() with copy constructor - mainly HWPF classesAndreas Beeker2019-12-2454-1194/+1632
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871938 13f79535-47bb-0310-9956-ffa450edef68
* convert some tabs to spacesPJ Fanning2019-12-235-602/+602
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871921 13f79535-47bb-0310-9956-ffa450edef68
* Replace custom hashCode code with Objects.hash() / Arrays.deepHashCode()Andreas Beeker2019-12-2338-473/+199
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871913 13f79535-47bb-0310-9956-ffa450edef68
* #64004 - Replace clone() with copy constructor - mainly HSSF classesAndreas Beeker2019-12-2219-292/+381
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871911 13f79535-47bb-0310-9956-ffa450edef68
* Let IntelliJ simplify some assertionsDominik Stadler2019-12-1517-107/+112
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871591 13f79535-47bb-0310-9956-ffa450edef68
* Replace manual close with try-with-resourcesDominik Stadler2019-12-1512-99/+60
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871590 13f79535-47bb-0310-9956-ffa450edef68
* #64004 - Replace clone() with copy constructorAndreas Beeker2019-12-142-11/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871563 13f79535-47bb-0310-9956-ffa450edef68
* Adjust some JavaDoc and fix some IDE warningsDominik Stadler2019-12-144-9/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871505 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixes - type: bugs / severity: majorAndreas Beeker2019-12-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871064 13f79535-47bb-0310-9956-ffa450edef68
* Sonar FixesAndreas Beeker2019-12-053-21/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870856 13f79535-47bb-0310-9956-ffa450edef68
* Sonar Fixes + Refactor scattered XML initializations to XMLHelperAndreas Beeker2019-12-0310-109/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870769 13f79535-47bb-0310-9956-ffa450edef68
* #63955 - HMEFContentsExtractor fails to extract content from winmail.datAndreas Beeker2019-12-018-818/+846
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870692 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixes - use try-with-resourcesAndreas Beeker2019-11-307-216/+191
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870653 13f79535-47bb-0310-9956-ffa450edef68
* Replace StringBuffer with StringBuilderAndreas Beeker2019-11-2920-199/+102
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870600 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60656 - Emf image support in slideshowsAndreas Beeker2019-11-2928-193/+879
| | | | | | | | | | | | | | | - use Rectangle2D instead of Dimension2D for image bounds - fix shearing transformation - fix rendering of font attributes (bold/italic/...) - emf+: needs its own object table and properties table - emf+: add linear gradient handler - emf+: handle brush data of pens - wmf/emf/emf+: position right aligned text correctly - emf+: use emf+ instead of emf records in dual-mode - emf+: handle region data and operations correctly - emf/+: map font weight to awt font weight correctly git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870566 13f79535-47bb-0310-9956-ffa450edef68