Nick Burch
|
a6836c595f
|
Start checking the CF colours in the unit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691092 13f79535-47bb-0310-9956-ffa450edef68
|
2015-07-14 21:45:23 +00:00 |
|
Nick Burch
|
e0f6ff5ca1
|
#58138 CF Border colour getters and setters on Color objects as well as shorts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691083 13f79535-47bb-0310-9956-ffa450edef68
|
2015-07-14 21:19:13 +00:00 |
|
Nick Burch
|
8a62462905
|
Support unsetting the XSSF CF pattern colours
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691081 13f79535-47bb-0310-9956-ffa450edef68
|
2015-07-14 21:10:14 +00:00 |
|
Nick Burch
|
36c3b8d688
|
Cleaner code for checking and casting the Color objects
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691064 13f79535-47bb-0310-9956-ffa450edef68
|
2015-07-14 19:29:18 +00:00 |
|
Nick Burch
|
2eb88db1b0
|
Provide format-agnostic conditional formatting patter colour getters and setters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691047 13f79535-47bb-0310-9956-ffa450edef68
|
2015-07-14 18:32:35 +00:00 |
|
Nick Burch
|
777806d350
|
Provide format-agnostic conditional formatting font colour getter and setter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691045 13f79535-47bb-0310-9956-ffa450edef68
|
2015-07-14 18:05:28 +00:00 |
|
Nick Burch
|
892d7fa4d0
|
Constant for the Office 2010 Conditional Formatting extensions namespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691015 13f79535-47bb-0310-9956-ffa450edef68
|
2015-07-14 16:12:40 +00:00 |
|
Nick Burch
|
4632e35c3d
|
Move some test checks to using ConditionType instead of raw bytes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690808 13f79535-47bb-0310-9956-ffa450edef68
|
2015-07-13 20:11:47 +00:00 |
|
Nick Burch
|
fbf95cdb54
|
Enable CF2007 test for XLSX too
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690805 13f79535-47bb-0310-9956-ffa450edef68
|
2015-07-13 19:56:09 +00:00 |
|
Nick Burch
|
9217c91425
|
Provide a Conditional Formatting type class, and deprecate the byte-based types, to better work with the wider range
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690803 13f79535-47bb-0310-9956-ffa450edef68
|
2015-07-13 19:47:21 +00:00 |
|
David North
|
24612d3e82
|
Add Sheet.getMergedRegions to obtain them all as a list. Implement this for XSSF using "deprecated" methods in XMLBeans which allow the operation to be linear in the number of regions rather than n-squared.
Fixes #57893
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690661 13f79535-47bb-0310-9956-ffa450edef68
|
2015-07-13 13:00:35 +00:00 |
|
Dominik Stadler
|
da56e012c3
|
Bug 58113: Fix regression: NullPointerException when setting cell value to null
add unit tests which verifies this for all three SS-implementations
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690652 13f79535-47bb-0310-9956-ffa450edef68
|
2015-07-13 12:17:52 +00:00 |
|
David North
|
2f8aa558b3
|
Patch from Chris Boyle to add basic support for .xlsm (macro-enabled) workbooks. The binary blob containing the VBA macros may be copied from one such workbook into another.
Fixes #58036
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690593 13f79535-47bb-0310-9956-ffa450edef68
|
2015-07-13 09:05:17 +00:00 |
|
Dominik Stadler
|
0f24b7532c
|
OOXMLPrettyPrint: Populate the standalone-attribute always to avoid differences in the resulting XML files from Excel and POI
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1689794 13f79535-47bb-0310-9956-ffa450edef68
|
2015-07-08 05:57:32 +00:00 |
|
Andreas Beeker
|
7393f122b2
|
Removed Java7 calls
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1687176 13f79535-47bb-0310-9956-ffa450edef68
|
2015-06-24 07:06:01 +00:00 |
|
Andreas Beeker
|
c0cb680292
|
Bug 56865 - Limit number of bytes (by counting them) while opening office docs
Bug 50090 - 'zip' bomb prevention
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1687148 13f79535-47bb-0310-9956-ffa450edef68
|
2015-06-23 23:39:07 +00:00 |
|
Dominik Stadler
|
e7d33e4ccb
|
Make setLandscape(false) and setLeftToRight(false) do what one would expect
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1686019 13f79535-47bb-0310-9956-ffa450edef68
|
2015-06-17 14:26:31 +00:00 |
|
David North
|
c580758b2c
|
Use a different arbitrary value for the ID of the comment shape type. This appears to prevent Excel >= 2010 from turning POI-written comments into the wrong shape (giant curved arrow).
Fixes https://bz.apache.org/bugzilla/show_bug.cgi?id=55410
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1683315 13f79535-47bb-0310-9956-ffa450edef68
|
2015-06-03 12:50:10 +00:00 |
|
Tim Allison
|
ca17056096
|
POI-57975: clean up white spaces and other style issues in XWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1682473 13f79535-47bb-0310-9956-ffa450edef68
|
2015-05-29 14:01:31 +00:00 |
|
Nick Burch
|
a727593a41
|
Correct package
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1682210 13f79535-47bb-0310-9956-ffa450edef68
|
2015-05-28 11:15:07 +00:00 |
|
Nick Burch
|
c5c70d3ce4
|
Pull out the parts of TextPainter needed by XSLF from HSLF to common-SL in core #57963
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1682209 13f79535-47bb-0310-9956-ffa450edef68
|
2015-05-28 11:13:23 +00:00 |
|
Dominik Stadler
|
03805d9e20
|
Add WorkbookFactory.create() with a flag to allow to open files read-only, keep the current way of opening read/write as default to not break existing code.
Also adjust Javadoc somewhat.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1681823 13f79535-47bb-0310-9956-ffa450edef68
|
2015-05-26 19:30:21 +00:00 |
|
Dominik Stadler
|
9017803980
|
Make POIXMLDocument implement Closeable as it holds an OCPPackage with open resources and thus should be closed after usage. Until now only XSSFWorkbook did this, but it makes sense for all derived classes.
Also make close() in POIXMLDocument public to not have to re-implement it in all sub-classes.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1681822 13f79535-47bb-0310-9956-ffa450edef68
|
2015-05-26 19:30:04 +00:00 |
|
Dominik Stadler
|
589b189151
|
Prevent problems reported in Bug 56574 by ensuring that Cells are properly removed when a row is overwritten by calling createRow() with it's rownum.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1680280 13f79535-47bb-0310-9956-ffa450edef68
|
2015-05-19 13:13:09 +00:00 |
|
Dominik Stadler
|
dafabdc7b9
|
Move location where document is held and adjust constructors and class-hierarchy accordingly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1679903 13f79535-47bb-0310-9956-ffa450edef68
|
2015-05-17 21:26:31 +00:00 |
|
Nick Burch
|
dd8fc66a0c
|
#56791 More updates from OPOIFS to NPOIFS
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1678801 13f79535-47bb-0310-9956-ffa450edef68
|
2015-05-11 18:59:10 +00:00 |
|
Nick Burch
|
8bd0d5b819
|
Refactor common default styles code to use the new helpers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1678197 13f79535-47bb-0310-9956-ffa450edef68
|
2015-05-07 13:34:03 +00:00 |
|
Nick Burch
|
120608b1f9
|
Start exposing the default paragraph and run styles from XWPFStyles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1678193 13f79535-47bb-0310-9956-ffa450edef68
|
2015-05-07 13:25:47 +00:00 |
|
Nick Burch
|
1c693babb8
|
Fix inconsistent whitespace/indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1678188 13f79535-47bb-0310-9956-ffa450edef68
|
2015-05-07 13:08:15 +00:00 |
|
Nick Burch
|
9fd1832753
|
Start on XWPFStyles support for document default styles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1678187 13f79535-47bb-0310-9956-ffa450edef68
|
2015-05-07 13:07:00 +00:00 |
|
Nick Burch
|
9a755850e9
|
Begin on test for going from xwpf text to style
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1678179 13f79535-47bb-0310-9956-ffa450edef68
|
2015-05-07 12:37:43 +00:00 |
|
Tim Allison
|
8bfc6056c8
|
POI-57889 prevent NPE with on some documents with XWPFParagraph's getNumFmt() and add some other classes to enable calculation of paragraph numbers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1677723 13f79535-47bb-0310-9956-ffa450edef68
|
2015-05-05 01:39:16 +00:00 |
|
Nick Burch
|
e9340cc1ba
|
If an empty stream or file is given to WorkbookFactory.create, give a more informative exception - EmptyFileException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1677562 13f79535-47bb-0310-9956-ffa450edef68
|
2015-05-04 09:15:48 +00:00 |
|
Nick Burch
|
c8f8cde62d
|
Patch from Mark Olesen from bug #57552: Sort PackagePart returns from OPCPackage by name considering numbers in filenames, so Image10.png comes after Image9.png, fixing problems with XSLF adding 10+ images to a slide
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1677373 13f79535-47bb-0310-9956-ffa450edef68
|
2015-05-03 08:47:50 +00:00 |
|
Nick Burch
|
3543d1a553
|
Avoid short wrapping on cell styles and formats > 32,767 in XSSF - format supports up to 64,000 of them #57880
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1677371 13f79535-47bb-0310-9956-ffa450edef68
|
2015-05-03 08:10:07 +00:00 |
|
Nick Burch
|
16d2e7881a
|
Ensure consistent ordering when writing out formats following changes in r1677368
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1677370 13f79535-47bb-0310-9956-ffa450edef68
|
2015-05-03 07:59:18 +00:00 |
|
Nick Burch
|
c76db74929
|
Fix inconsistent indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1677369 13f79535-47bb-0310-9956-ffa450edef68
|
2015-05-03 07:56:40 +00:00 |
|
Nick Burch
|
602832bda6
|
Somewhat speed up creating data formats with large counts, and add maximum format/style count checking. #57884
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1677368 13f79535-47bb-0310-9956-ffa450edef68
|
2015-05-03 07:53:09 +00:00 |
|
Nick Burch
|
925d32e2c1
|
Allow WorkbookFactory.create to open xlsx files protected with the default password
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1676853 13f79535-47bb-0310-9956-ffa450edef68
|
2015-04-29 20:36:13 +00:00 |
|
Nick Burch
|
9f196708d4
|
#57593 Complete create overloading in WorkbookFactory to take passwords
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1676847 13f79535-47bb-0310-9956-ffa450edef68
|
2015-04-29 20:19:38 +00:00 |
|
Nick Burch
|
2889cabaed
|
#57593 Begin adding overloaded WorkbookFactory.create methods which take the spreadsheet password
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1676843 13f79535-47bb-0310-9956-ffa450edef68
|
2015-04-29 20:12:18 +00:00 |
|
Nick Burch
|
fb4bf25259
|
Use a constant for the name of the OOXML encrypted package node
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1676838 13f79535-47bb-0310-9956-ffa450edef68
|
2015-04-29 19:47:35 +00:00 |
|
Nick Burch
|
b3bd87d3c2
|
When removing a SXSSF sheet, ensure temp files associated with it are disposed of #57666
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1676833 13f79535-47bb-0310-9956-ffa450edef68
|
2015-04-29 19:28:26 +00:00 |
|
Nick Burch
|
b2a1862f19
|
Patch from Jon Scharff from bug #57826 - If a XSSF shape has a buFont but no bullet character, mirror Excel and treat as un-bulleted
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1676831 13f79535-47bb-0310-9956-ffa450edef68
|
2015-04-29 19:21:37 +00:00 |
|
Nick Burch
|
b681f4fb3a
|
#57642 Fix setSheetName with ISERROR on XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1675745 13f79535-47bb-0310-9956-ffa450edef68
|
2015-04-24 02:13:07 +00:00 |
|
Nick Burch
|
a5846f0f66
|
#57829 Avoid XmlValueDisconnectedException when removing a XWPFRun from a XWPFParagraph by removing from IRuns as well
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1675738 13f79535-47bb-0310-9956-ffa450edef68
|
2015-04-24 01:29:10 +00:00 |
|
Dominik Stadler
|
d1385bbe1b
|
Fix bug 57828, shifting more than one commit per row did not work.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1674975 13f79535-47bb-0310-9956-ffa450edef68
|
2015-04-20 20:13:33 +00:00 |
|
Dominik Stadler
|
dfe1c74dff
|
Fix some Eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1674965 13f79535-47bb-0310-9956-ffa450edef68
|
2015-04-20 19:17:24 +00:00 |
|
Dominik Stadler
|
5118bdb128
|
Avoid possible NullPointerException seen with some powerpoint files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1674958 13f79535-47bb-0310-9956-ffa450edef68
|
2015-04-20 18:26:39 +00:00 |
|
Dominik Stadler
|
ca8e3c465e
|
Avoid NullPointerException if an image cannot be read
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1674952 13f79535-47bb-0310-9956-ffa450edef68
|
2015-04-20 18:10:43 +00:00 |
|