[GUMP@vmgump]: Project ooxml-schemas (in module poi) failed

2016-10-28 Thread Gump [HEAD] :-(
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project ooxml-schemas has an issue affecting its community integration.
This issue affects 5 projects.
The current state of this project is 'Failed', with reason 'Build Timed Out'.
For reference only, the following projects are affected by this:
- ooxml-schemas :  POI
- org.apache.poi :  POI
- poi :  POI
- poi-ooxml-schemas :  POI
- poi-test :  POI


Full details are available at:
http://vmgump.apache.org/gump/public/poi/ooxml-schemas/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole jar output [ooxml-schemas-[0-9]*[0-9T].jar] identifier set to 
project name
 -INFO- Failed with reason build timed out
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/poi/ooxml-schemas/gump_work/build_poi_ooxml-schemas.html
Work Name: build_poi_ooxml-schemas (Type: Build)
Work ended in a state of : Failed
Elapsed: 2 hours 9 secs
Command Line: /usr/lib/jvm/java-8-oracle/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only -Dant.build.clonevm=true org.apache.tools.ant.Main 
-Dgump.merge=/srv/gump/public/gump/work/merge.xml compile-ooxml-xsds 
[Working Directory: /srv/gump/public/workspace/poi]
CLASSPATH: 
/usr/lib/jvm/java-8-oracle/lib/tools.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit4.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/poi/ooxml-lib/curvesapi-1.04.jar:/srv/gump/public/workspace/poi/ooxml-lib/xmlbeans-2.6.0.jar.orig:/srv/gump/public/workspace/poi/compile-lib/bcpkix-jdk15on-1.54.jar:/srv/gump/public/workspace/poi/compile-lib/bcprov-ext-jdk15on-1.54.jar:/srv/gump/public/workspace/poi/compile-lib/slf4j-api-1.7.12.jar
-
Buildfile: /srv/gump/public/workspace/poi/build.xml

check-jars:

fetch-jars:

check-ooxml-jars:

fetch-ooxml-jars:

init:
 [echo] Using Ant: Apache Ant(TM) version 1.10.0alpha compiled on October 
29 2016 from ${ant.home}, Ant detected Java 1.8 (may be different than actual 
Java sometimes...)
 [echo] Using Java: 1.8.0_60/1.8.0_60-b27/25.60-b23/Java HotSpot(TM) 64-Bit 
Server VM from Oracle Corporation on Linux: 3.13.0-66-generic
 [echo] Using Findbugs: 3.0.1 for Java 1.8.0_60

check-ooxml-xsds:

fetch-ooxml-xsds:
  [get] Getting: 
http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%204%20(PDF).zip
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part4.zip
  [get] Getting: 
http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%202%20(PDF).zip
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part2.zip
  [get] Getting: 
https://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/xmldsig-core-schema.xsd
  [get] Getting: http://uri.etsi.org/01903/v1.3.2/XAdES.xsd
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/XAdES.xsd
  [get] Getting: http://uri.etsi.org/01903/v1.4.1/XAdESv141.xsd
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/XAdESv141.xsd
[unzip] Expanding: 
/srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part4.zip into 
/srv/gump/public/workspace/poi/ooxml-lib
[unzip] Expanding: 
/srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part2.zip into 
/srv/gump/public/workspace/poi/ooxml-lib
[unzip] Expanding: 
/srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part4.zip into 
/srv/gump/public/workspace/poi/ooxml-lib

check-compiled-ooxml-xsds:

compile-ooxml-xsds:
[mkdir] Created dir: /srv/gump/public/workspace/poi/build/xmlbean-xsds
[mkdir] Created dir: /srv/gump/public/workspace/poi/build/xmlbean-sources
[mkdir] Created dir: /srv/gump/public/workspace/poi/build/xmlbean-classes
 [copy] Copying 2 files to /srv/gump/public/workspace/poi/build/xmlbean-xsds
 [copy] Copying 87 resources to 
/srv/gump/public/workspace/poi/build/xmlbean-xsds
  [xmlbean] Time to build schema type system: 6.197 seconds
  [xmlbean] Time to generate code: 10.786 seconds
 [copy] Copying 7 files to 
/srv/gump/public/workspace/poi/build/xmlbean-sources
[javac] Compiling 4575 source 

[Bug 60320] issue opening password protected xlsx

2016-10-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60320

--- Comment #4 from Javen O'Neal  ---
I am able to open the workbook with "Test001!!" in Excel 2013 on Windows 7.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 60320] issue opening password protected xlsx

2016-10-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60320

--- Comment #3 from Andreas Beeker  ---
hm .. the cipher of the header (aes128) doesn't match the cipher of the
verifier (aes256) ...

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 60320] issue opening password protected xlsx

2016-10-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60320

--- Comment #2 from PJ Fanning  ---
Thanks Andreas for checking. The xlsx opens for in Excel 2016 on Mac. The xlsx
itself was created by a colleague using a Windows install of Excel.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 60320] issue opening password protected xlsx

2016-10-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60320

--- Comment #1 from Andreas Beeker  ---
the file also can't be opened via Libre Office 5 ... is the password wrong?

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 60305] Gracefully handle AIOOBE in Pictures stream in HSLF

2016-10-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60305

--- Comment #4 from Tim Allison  ---
Doh.  Thank you.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 60305] Gracefully handle AIOOBE in Pictures stream in HSLF

2016-10-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60305

--- Comment #3 from Andreas Beeker  ---
The wrong imagesize is based on a premature end of reading the last picture and
then the imagesize is just some garbage at the end of that picture.
We shouldn't yet close this issue ...

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 60320] New: issue opening password protected xlsx

2016-10-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60320

Bug ID: 60320
   Summary: issue opening password protected xlsx
   Product: POI
   Version: 3.15-FINAL
  Hardware: PC
OS: Mac OS X 10.1
Status: NEW
  Severity: normal
  Priority: P2
 Component: XSSF
  Assignee: dev@poi.apache.org
  Reporter: fannin...@yahoo.com

Created attachment 34408
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34408=edit
password protected xlsx

I will attach TestThisEncryption.xlsx. The password is: Test001!!
This opens ok in Excel but Poi fails to decrypt it using the password.
It seems to happen if the xlsx is created in one Excel version and then later
password protected with a recent version of Excel on Windows.
If anyone has any insight into why this workbook won't decrypt in Poi 3.15 that
would be appreciated.

This is the decryptor check that fails for me:

  def checkPassword(fileName: String, password: String) {
val fs = new POIFSFileSystem(new FileInputStream(fileName))
val info = new EncryptionInfo(fs)
val decryptor = Decryptor.getInstance(info)
println(s"$fileName password works? ${decryptor.verifyPassword(password)}")
  }

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 59026] NullPointerException when try to Exports XLSX data using Custom XML Mapping

2016-10-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59026

Dominik Stadler  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #1 from Dominik Stadler  ---
After r1767057 we avoid two possible null-pointer-exceptions in this area, the
export to XML seems to work fine then.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 60314] Make the conditional formatting range editable

2016-10-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60314

Nick Burch  changed:

   What|Removed |Added

 Status|NEW |NEEDINFO

--- Comment #2 from Nick Burch  ---
Two things that'd be great:
 * Any chance you could write a junit unit test for this change, so we can
ensure it works, and stays working?
 * Any chance you could be inspired by the logic in
CFRecordsAggregate.updateFormulasAfterCellShift to write an equivalent HSSF set
method?

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 60316] New: When processing glossary components, we need to return grandparent for getXWPFDocument

2016-10-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60316

Bug ID: 60316
   Summary: When processing glossary components, we need to return
grandparent for getXWPFDocument
   Product: POI
   Version: 3.16-dev
  Hardware: PC
OS: Windows NT
Status: NEW
  Severity: normal
  Priority: P2
 Component: XWPF
  Assignee: dev@poi.apache.org
  Reporter: talli...@mitre.org

On TIKA-2147 and TIKA-2149, Seva Alekseyev and Sharath Kumar shared two
documents that throw:

java.lang.ClassCastException: org.apache.poi.POIXMLDocumentPart cannot be cast
to org.apache.poi.xwpf.usermodel.XWPFDocument
at
org.apache.poi.xwpf.usermodel.XWPFFootnotes.getXWPFDocument(XWPFFootnotes.java:162)
at org.apache.poi.xwpf.usermodel.XWPFFootnote.(XWPFFootnote.java:47)
at
org.apache.poi.xwpf.usermodel.XWPFFootnotes.onDocumentRead(XWPFFootnotes.java:95)
at
org.apache.poi.POIXMLDocumentPart._invokeOnDocumentRead(POIXMLDocumentPart.java:658)
at
org.apache.poi.xwpf.usermodel.XWPFDocument.onDocumentRead(XWPFDocument.java:235)
at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:160)
at org.apache.poi.xwpf.usermodel.XWPFDocument.(XWPFDocument.java:124)
at
org.apache.poi.xwpf.extractor.XWPFWordExtractor.(XWPFWordExtractor.java:58)
at
org.apache.poi.extractor.ExtractorFactory.createExtractor(ExtractorFactory.java:237)
at
org.apache.tika.parser.microsoft.ooxml.OOXMLExtractorFactory.parse(OOXMLExtractorFactory.java:86)

I think the issue is that the because the footnotes are within a glossary, when
we call getXWPFDocument(), we're invoking .getParent() which gets the
POIXMLDocumentPart.  If we get the grandparent in this case, we actually get
the XWPFDocument.

I propose something along these lines:

public XWPFDocument getXWPFDocument() {
if (document != null) {
return document;
} else {
Object parent = getParent();
if (parent != null) {
if (parent instanceof XWPFDocument) {
return (XWPFDocument)parent;
} else if (parent instanceof POIXMLDocumentPart) {
Object grandParent = ((POIXMLDocumentPart)
parent).getParent();
if (grandParent instanceof XWPFDocument) {
return (XWPFDocument) grandParent;
}
}
}
throw new IllegalStateException("couldn't find the parent");
}
}

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[GUMP@vmgump]: Project ooxml-schemas (in module poi) failed

2016-10-28 Thread Gump [HEAD] :-(
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project ooxml-schemas has an issue affecting its community integration.
This issue affects 5 projects.
The current state of this project is 'Failed', with reason 'Build Timed Out'.
For reference only, the following projects are affected by this:
- ooxml-schemas :  POI
- org.apache.poi :  POI
- poi :  POI
- poi-ooxml-schemas :  POI
- poi-test :  POI


Full details are available at:
http://vmgump.apache.org/gump/public/poi/ooxml-schemas/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole jar output [ooxml-schemas-[0-9]*[0-9T].jar] identifier set to 
project name
 -INFO- Failed with reason build timed out
 -DEBUG- Extracted fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/poi/ooxml-schemas/gump_work/build_poi_ooxml-schemas.html
Work Name: build_poi_ooxml-schemas (Type: Build)
Work ended in a state of : Failed
Elapsed: 2 hours 6 secs
Command Line: /usr/lib/jvm/java-8-oracle/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only -Dant.build.clonevm=true org.apache.tools.ant.Main 
-Dgump.merge=/srv/gump/public/gump/work/merge.xml compile-ooxml-xsds 
[Working Directory: /srv/gump/public/workspace/poi]
CLASSPATH: 
/usr/lib/jvm/java-8-oracle/lib/tools.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit4.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/poi/ooxml-lib/curvesapi-1.04.jar:/srv/gump/public/workspace/poi/ooxml-lib/xmlbeans-2.6.0.jar.orig:/srv/gump/public/workspace/poi/compile-lib/bcpkix-jdk15on-1.54.jar:/srv/gump/public/workspace/poi/compile-lib/bcprov-ext-jdk15on-1.54.jar:/srv/gump/public/workspace/poi/compile-lib/slf4j-api-1.7.12.jar
-
Buildfile: /srv/gump/public/workspace/poi/build.xml

check-jars:

fetch-jars:

check-ooxml-jars:

fetch-ooxml-jars:

init:
 [echo] Using Ant: Apache Ant(TM) version 1.10.0alpha compiled on October 
28 2016 from ${ant.home}, Ant detected Java 1.8 (may be different than actual 
Java sometimes...)
 [echo] Using Java: 1.8.0_60/1.8.0_60-b27/25.60-b23/Java HotSpot(TM) 64-Bit 
Server VM from Oracle Corporation on Linux: 3.13.0-66-generic
 [echo] Using Findbugs: 3.0.1 for Java 1.8.0_60

check-ooxml-xsds:

fetch-ooxml-xsds:
  [get] Getting: 
http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%204%20(PDF).zip
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part4.zip
  [get] Getting: 
http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%202%20(PDF).zip
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part2.zip
  [get] Getting: 
https://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/xmldsig-core-schema.xsd
  [get] Getting: http://uri.etsi.org/01903/v1.3.2/XAdES.xsd
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/XAdES.xsd
  [get] Getting: http://uri.etsi.org/01903/v1.4.1/XAdESv141.xsd
  [get] To: /srv/gump/public/workspace/poi/ooxml-lib/XAdESv141.xsd
[unzip] Expanding: 
/srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part4.zip into 
/srv/gump/public/workspace/poi/ooxml-lib
[unzip] Expanding: 
/srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part2.zip into 
/srv/gump/public/workspace/poi/ooxml-lib
[unzip] Expanding: 
/srv/gump/public/workspace/poi/ooxml-lib/OfficeOpenXML-Part4.zip into 
/srv/gump/public/workspace/poi/ooxml-lib

check-compiled-ooxml-xsds:

compile-ooxml-xsds:
[mkdir] Created dir: /srv/gump/public/workspace/poi/build/xmlbean-xsds
[mkdir] Created dir: /srv/gump/public/workspace/poi/build/xmlbean-sources
[mkdir] Created dir: /srv/gump/public/workspace/poi/build/xmlbean-classes
 [copy] Copying 2 files to /srv/gump/public/workspace/poi/build/xmlbean-xsds
 [copy] Copying 87 resources to 
/srv/gump/public/workspace/poi/build/xmlbean-xsds
  [xmlbean] Time to build schema type system: 5.562 seconds
  [xmlbean] Time to generate code: 10.602 seconds
 [copy] Copying 7 files to 
/srv/gump/public/workspace/poi/build/xmlbean-sources
[javac] Compiling 4575 source files 

[Bug 60315] Allow date of format yyyy-MM-dd

2016-10-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60315

Tim Allison  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #1 from Tim Allison  ---
r1767026

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 60315] New: Allow date of format yyyy-MM-dd

2016-10-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60315

Bug ID: 60315
   Summary: Allow date of format -MM-dd
   Product: POI
   Version: unspecified
  Hardware: PC
OS: Windows NT
Status: NEW
  Severity: normal
  Priority: P2
 Component: OPC
  Assignee: dev@poi.apache.org
  Reporter: talli...@mitre.org

On TIKA-2145, Seva Alekseyev submitted a docx with a created date of
'-MM-dd'.  MSWord is able to open the file and display the date.  Let's add
that date format to PackagePropertiesPart.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 60314] Make the conditional formatting range editable

2016-10-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60314

--- Comment #1 from Luca Martini  ---
I just created the pull request #42 on on GitHub [1]
The pr includes the new method and and adds a simple unit test to the
TestXSSFConditionalFormatting class.

This very simple contribution could be reused when implementing conditional
formatting copy as see in bug 58348.

Best,
Luca


[1] https://github.com/apache/poi/pull/42

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[GitHub] poi pull request #42: Adding a new method to the XSSFConditionalFormatting c...

2016-10-28 Thread lucailmartini
GitHub user lucailmartini opened a pull request:

https://github.com/apache/poi/pull/42

Adding a new method to the XSSFConditionalFormatting class

This pull request addresses [Bug 
#60314](https://bz.apache.org/bugzilla/show_bug.cgi?id=60314).
The new method can be used to change the formatting range of an existing 
XSSFConditionalFormatting without the need of removing and then re-adding the 
rule.

If someone is able to provide an implementation for the HSSF format, the 
method could be added to the interface ConditionalFormatting.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/lucailmartini/poi bug60314

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/poi/pull/42.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #42


commit cb432e9cff0112894d2138a2335791f89251c266
Author: Luca Martini 
Date:   2016-10-28T11:57:08Z

added idea .gitignore

commit d96581a3cb2ac5cd3bb54f228cc59ed437680b39
Author: Luca Martini 
Date:   2016-10-28T13:30:45Z

added public void setFormattingRanges(CellRangeAddress[] ranges) method to 
the XSSFConditionalFormatting class
Resolve Bug 60314 https://bz.apache.org/bugzilla/show_bug.cgi?id=60314




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[GitHub] poi pull request #41: Adding a new method to the XSSFConditionalFormatting c...

2016-10-28 Thread lucailmartini
Github user lucailmartini closed the pull request at:

https://github.com/apache/poi/pull/41


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[GitHub] poi pull request #41: Adding a new method to the XSSFConditionalFormatting c...

2016-10-28 Thread lucailmartini
GitHub user lucailmartini opened a pull request:

https://github.com/apache/poi/pull/41

Adding a new method to the XSSFConditionalFormatting class

This pull request addresses [Bug 
#60314](https://bz.apache.org/bugzilla/show_bug.cgi?id=60314).
The new method can be used to change the formatting range of an existing 
XSSFConditionalFormatting without the need of removing and then re-adding the 
rule.

If someone is able to provide an implementation for the HSSF format, the 
method could be added to the interface ConditionalFormatting.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/lucailmartini/poi trunk

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/poi/pull/41.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #41


commit cb432e9cff0112894d2138a2335791f89251c266
Author: Luca Martini 
Date:   2016-10-28T11:57:08Z

added idea .gitignore

commit d96581a3cb2ac5cd3bb54f228cc59ed437680b39
Author: Luca Martini 
Date:   2016-10-28T13:30:45Z

added public void setFormattingRanges(CellRangeAddress[] ranges) method to 
the XSSFConditionalFormatting class
Resolve Bug 60314 https://bz.apache.org/bugzilla/show_bug.cgi?id=60314




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 60305] Gracefully handle AIOOBE in Pictures stream in HSLF

2016-10-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60305

--- Comment #2 from Tim Allison  ---
r1767023

I did a bit of testing, and if the pictstream is truncated on an image that
_should_ appear in a slide, the consumer will get a null when retrieving the
missing image's pictdata.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 60305] Gracefully handle AIOOBE in Pictures stream in HSLF

2016-10-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60305

--- Comment #1 from Tim Allison  ---
r1767023

I did a bit of testing, and if the pictstream is truncated on an image that
_should_ appear in a slide, the consumer will get a null when retrieving the
missing image's pictdata.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 60314] Make the conditional formatting range editable

2016-10-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60314

Luca Martini  changed:

   What|Removed |Added

 OS||All
 CC||chiaramarches...@tagetik.co
   ||m

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 60314] New: Make the conditional formatting range editable

2016-10-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60314

Bug ID: 60314
   Summary: Make the conditional formatting range editable
   Product: POI
   Version: 3.15-FINAL
  Hardware: PC
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: XSSF
  Assignee: dev@poi.apache.org
  Reporter: lucamart...@tagetik.com

While there is a method that given a ConditionalFormatting object returns the
array of CellRangeAddress is applied to, there is no public method to set a new
array of CellRangeAddress.

We suggest to add a method to the XSSFSheetConditionalFormatting that sets the
a new formatting range

i.e.

public void setFormattingRanges(CellRangeAddress[] ranges) {
...
}

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org