Build failed in Jenkins: POI-DSL-1.8 #143

2017-05-12 Thread Apache Jenkins Server
See 


Changes:

[gwoolsey] tweak to use platform line separator so tests can pass on Windows as 
well as Linux.

[gwoolsey] 

--
[...truncated 390.38 KB...]
[junit] Reading spreadsheet/countifExamples.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/countifExamples.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading 
spreadsheet/craftonhills.edu_programreview_report.aspx_goalpriorityreport_0011d159-1eeb-4b63-8833-867b0926e5f3.xlsx
 with class org.apache.poi.stress.XSSFFileHandler
[junit] Reading 
spreadsheet/craftonhills.edu_programreview_report.aspx_goalpriorityreport_0011d159-1eeb-4b63-8833-867b0926e5f3.xlsx
 with class org.apache.poi.stress.OPCFileHandler
[junit] Reading spreadsheet/date.xlsb with class 
org.apache.poi.stress.XSSFBFileHandler
[junit] Reading spreadsheet/dg-text.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/dg-text.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/drawings.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/drawings.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/duprich1.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/duprich1.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/duprich2.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/duprich2.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/dvEmpty.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/dvEmpty.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/empty.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/empty.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading 
spreadsheet/evaluate_formula_with_structured_table_references.xlsx with class 
org.apache.poi.stress.XSSFFileHandler
[junit] Reading 
spreadsheet/evaluate_formula_with_structured_table_references.xlsx with class 
org.apache.poi.stress.OPCFileHandler
[junit] Reading spreadsheet/evencontinuation.txt with class 
org.apache.poi.TestAllFiles$NullFileHandler
[junit] Reading spreadsheet/ex41187-19267.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex41187-19267.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex42564-21435.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex42564-21435.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex42564-21503.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex42564-21503.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex42564-elementOrder.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex42564-elementOrder.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex42570-20305.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex42570-20305.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex44921-21902.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex44921-21902.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex45046-21984.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex45046-21984.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex45582-22397.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex45582-22397.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex45672.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex45672.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex45698-22488.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex45698-22488.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex45978-extraLinkTableSheets.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex45978-extraLinkTableSheets.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex46548-23133.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex46548-23133.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex47747-sharedFormula.xls with class 
org.apache.poi.stress.HSSFFileHandler

Build failed in Jenkins: POI-DSL-OpenJDK #146

2017-05-12 Thread Apache Jenkins Server
See 


Changes:

[gwoolsey] tweak to use platform line separator so tests can pass on Windows as 
well as Linux.

[gwoolsey] 

--
[...truncated 388.72 KB...]
[junit] Reading spreadsheet/countifExamples.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/countifExamples.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading 
spreadsheet/craftonhills.edu_programreview_report.aspx_goalpriorityreport_0011d159-1eeb-4b63-8833-867b0926e5f3.xlsx
 with class org.apache.poi.stress.XSSFFileHandler
[junit] Reading 
spreadsheet/craftonhills.edu_programreview_report.aspx_goalpriorityreport_0011d159-1eeb-4b63-8833-867b0926e5f3.xlsx
 with class org.apache.poi.stress.OPCFileHandler
[junit] Reading spreadsheet/date.xlsb with class 
org.apache.poi.stress.XSSFBFileHandler
[junit] Reading spreadsheet/dg-text.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/dg-text.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/drawings.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/drawings.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/duprich1.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/duprich1.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/duprich2.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/duprich2.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/dvEmpty.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/dvEmpty.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/empty.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/empty.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading 
spreadsheet/evaluate_formula_with_structured_table_references.xlsx with class 
org.apache.poi.stress.XSSFFileHandler
[junit] Reading 
spreadsheet/evaluate_formula_with_structured_table_references.xlsx with class 
org.apache.poi.stress.OPCFileHandler
[junit] Reading spreadsheet/evencontinuation.txt with class 
org.apache.poi.TestAllFiles$NullFileHandler
[junit] Reading spreadsheet/ex41187-19267.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex41187-19267.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex42564-21435.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex42564-21435.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex42564-21503.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex42564-21503.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex42564-elementOrder.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex42564-elementOrder.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex42570-20305.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex42570-20305.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex44921-21902.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex44921-21902.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex45046-21984.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex45046-21984.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex45582-22397.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex45582-22397.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex45672.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex45672.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex45698-22488.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex45698-22488.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex45978-extraLinkTableSheets.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex45978-extraLinkTableSheets.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex46548-23133.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex46548-23133.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex47747-sharedFormula.xls with class 

Build failed in Jenkins: POI-DSL-1.6 #293

2017-05-12 Thread Apache Jenkins Server
See 


Changes:

[gwoolsey] tweak to use platform line separator so tests can pass on Windows as 
well as Linux.

--
[...truncated 401.22 KB...]
[junit] Reading spreadsheet/countifExamples.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/countifExamples.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading 
spreadsheet/craftonhills.edu_programreview_report.aspx_goalpriorityreport_0011d159-1eeb-4b63-8833-867b0926e5f3.xlsx
 with class org.apache.poi.stress.XSSFFileHandler
[junit] Reading 
spreadsheet/craftonhills.edu_programreview_report.aspx_goalpriorityreport_0011d159-1eeb-4b63-8833-867b0926e5f3.xlsx
 with class org.apache.poi.stress.OPCFileHandler
[junit] Reading spreadsheet/date.xlsb with class 
org.apache.poi.stress.XSSFBFileHandler
[junit] Reading spreadsheet/dg-text.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/dg-text.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/drawings.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/drawings.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/duprich1.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/duprich1.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/duprich2.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/duprich2.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/dvEmpty.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/dvEmpty.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/empty.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/empty.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading 
spreadsheet/evaluate_formula_with_structured_table_references.xlsx with class 
org.apache.poi.stress.XSSFFileHandler
[junit] Reading 
spreadsheet/evaluate_formula_with_structured_table_references.xlsx with class 
org.apache.poi.stress.OPCFileHandler
[junit] Reading spreadsheet/evencontinuation.txt with class 
org.apache.poi.TestAllFiles$NullFileHandler
[junit] Reading spreadsheet/ex41187-19267.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex41187-19267.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex42564-21435.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex42564-21435.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex42564-21503.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex42564-21503.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex42564-elementOrder.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex42564-elementOrder.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex42570-20305.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex42570-20305.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex44921-21902.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex44921-21902.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex45046-21984.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex45046-21984.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex45582-22397.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex45582-22397.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex45672.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex45672.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex45698-22488.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex45698-22488.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex45978-extraLinkTableSheets.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex45978-extraLinkTableSheets.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex46548-23133.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex46548-23133.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex47747-sharedFormula.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] 

Re: svn commit: r1795002 [3/3] - in /poi/trunk: ./ src/java/org/apache/poi/ss/usermodel/ src/ooxml/java/org/apache/poi/xssf/model/ src/ooxml/java/org/apache/poi/xssf/usermodel/ src/ooxml/testcases/org

2017-05-12 Thread Greg Woolsey
Thanks!   It's in

XSSFBuiltinTableStyle.init()
and
TestTableStyles.testBuiltinStyleInit()

tests it.

The issue is having to do something custom in the first place, since the
specification XML isn't quite the same format as styles.xml.  I documented
it in the init() method.

I parse the whole file at once into a Document, and then iterate on the
child element nodes.  For each one, we need a CTDxfs and a CTTableStyles
built from the immediate child nodes of those types.  When I tried it it
didn't throw any errors, and the toString() values for the objects showed
the right XML, but none of the getters returned any values from that XML,
so the factory didn't actually parse the node tree.

Thus my hack to convert those nodes back to XML text, wrap them in
boilerplate, and parse it as a styles.xml.

Would save time and memory at least if I went to the trouble of just
streaming the XML or even text and checking for style boundaries, but I
went with faster and easier to start with.

Greg

On Fri, May 12, 2017 at 12:12 PM Nick Burch  wrote:

> On Fri, 12 May 2017, Greg Woolsey wrote:
> > Argh, fat fingered it before I could type my comment.
>
> No worries! We all do it eventually... Don't forget you can edit the
> message later:
>
> http://stackoverflow.com/questions/2184317/change-svn-commit-message-retroactively
>
> >  My implementation is really ugly imho, but it works.  I couldn't figure
> > out a way to get XMLBeans factories on the CT classes to initialize the
> > full objects from an XML fragment, only top-level documents, so I fake
> > up a styles.xml for each built-in style found, and parse those.  Takes
> > about 2.5 seconds on my system, which is why I made it lazy.
>
> I *think* I got that working in the past elsewhere. If you let me know
> which class has the faking in, and the best unit test to use to check
> with, I can try and have a go!
>
> Nick
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
> For additional commands, e-mail: dev-h...@poi.apache.org
>
>


Re: svn commit: r1795002 [3/3] - in /poi/trunk: ./ src/java/org/apache/poi/ss/usermodel/ src/ooxml/java/org/apache/poi/xssf/model/ src/ooxml/java/org/apache/poi/xssf/usermodel/ src/ooxml/testcases/org

2017-05-12 Thread Nick Burch

On Fri, 12 May 2017, Greg Woolsey wrote:

Argh, fat fingered it before I could type my comment.


No worries! We all do it eventually... Don't forget you can edit the 
message later:

http://stackoverflow.com/questions/2184317/change-svn-commit-message-retroactively

 My implementation is really ugly imho, but it works.  I couldn't figure 
out a way to get XMLBeans factories on the CT classes to initialize the 
full objects from an XML fragment, only top-level documents, so I fake 
up a styles.xml for each built-in style found, and parse those.  Takes 
about 2.5 seconds on my system, which is why I made it lazy.


I *think* I got that working in the past elsewhere. If you let me know 
which class has the faking in, and the best unit test to use to check 
with, I can try and have a go!


Nick

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



Build failed in Jenkins: POI-DSL-1.6 #292

2017-05-12 Thread Apache Jenkins Server
See 


Changes:

[gwoolsey] 

--
[...truncated 402.19 KB...]
[junit] Reading spreadsheet/countifExamples.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/countifExamples.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading 
spreadsheet/craftonhills.edu_programreview_report.aspx_goalpriorityreport_0011d159-1eeb-4b63-8833-867b0926e5f3.xlsx
 with class org.apache.poi.stress.XSSFFileHandler
[junit] Reading 
spreadsheet/craftonhills.edu_programreview_report.aspx_goalpriorityreport_0011d159-1eeb-4b63-8833-867b0926e5f3.xlsx
 with class org.apache.poi.stress.OPCFileHandler
[junit] Reading spreadsheet/date.xlsb with class 
org.apache.poi.stress.XSSFBFileHandler
[junit] Reading spreadsheet/dg-text.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/dg-text.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/drawings.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/drawings.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/duprich1.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/duprich1.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/duprich2.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/duprich2.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/dvEmpty.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/dvEmpty.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/empty.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/empty.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading 
spreadsheet/evaluate_formula_with_structured_table_references.xlsx with class 
org.apache.poi.stress.XSSFFileHandler
[junit] Reading 
spreadsheet/evaluate_formula_with_structured_table_references.xlsx with class 
org.apache.poi.stress.OPCFileHandler
[junit] Reading spreadsheet/evencontinuation.txt with class 
org.apache.poi.TestAllFiles$NullFileHandler
[junit] Reading spreadsheet/ex41187-19267.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex41187-19267.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex42564-21435.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex42564-21435.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex42564-21503.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex42564-21503.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex42564-elementOrder.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex42564-elementOrder.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex42570-20305.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex42570-20305.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex44921-21902.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex44921-21902.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex45046-21984.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex45046-21984.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex45582-22397.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex45582-22397.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex45672.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex45672.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex45698-22488.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex45698-22488.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex45978-extraLinkTableSheets.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex45978-extraLinkTableSheets.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex46548-23133.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex46548-23133.xls with class 
org.apache.poi.stress.HPSFFileHandler
[junit] Reading spreadsheet/ex47747-sharedFormula.xls with class 
org.apache.poi.stress.HSSFFileHandler
[junit] Reading spreadsheet/ex47747-sharedFormula.xls with class 

Re: svn commit: r1795002 [3/3] - in /poi/trunk: ./ src/java/org/apache/poi/ss/usermodel/ src/ooxml/java/org/apache/poi/xssf/model/ src/ooxml/java/org/apache/poi/xssf/usermodel/ src/ooxml/testcases/org

2017-05-12 Thread Greg Woolsey
Argh, fat fingered it before I could type my comment.

This is initial read-only API support for Table Styles, including the
specification defined built-in table and pivot table styles, issue #61085.

This includes some new SS interfaces, including one to start to bridge
common functionality between conditional formatting rules and table style
definitions that both rely on the same underlying CTDfx element.

There is a performance/memory hit the first time the built-in table style
Enum is accessed, as it loads the spec style definitions.  My
implementation is really ugly imho, but it works.  I couldn't figure out a
way to get XMLBeans factories on the CT classes to initialize the full
objects from an XML fragment, only top-level documents, so I fake up a
styles.xml for each built-in style found, and parse those.  Takes about 2.5
seconds on my system, which is why I made it lazy.

It can be initialized explicitly through a static method, if an app desires
to take the hit up front rather than on first access.

More will be coming to help determine which table style elements apply to a
given table cell, since it is 1-N, with a precedence order for property
application.

On Fri, May 12, 2017 at 11:01 AM  wrote:

> Propchange:
> poi/trunk/src/resources/ooxml/org/apache/poi/xssf/usermodel/presetTableStyles.xml
>
> --
> svn:eol-style = native
>
> Added: poi/trunk/test-data/spreadsheet/tableStyle.xlsx
> URL:
> http://svn.apache.org/viewvc/poi/trunk/test-data/spreadsheet/tableStyle.xlsx?rev=1795002=auto
>
> ==
> Binary file - no diff available.
>
> Propchange: poi/trunk/test-data/spreadsheet/tableStyle.xlsx
>
> --
> svn:mime-type = application/octet-stream
>
> Added: poi/trunk/test-data/spreadsheet/~$tableStyle.xlsx
> URL:
> http://svn.apache.org/viewvc/poi/trunk/test-data/spreadsheet/%7E%24tableStyle.xlsx?rev=1795002=auto
>
> ==
> Binary file - no diff available.
>
> Propchange: poi/trunk/test-data/spreadsheet/~$tableStyle.xlsx
>
> --
> svn:mime-type = application/octet-stream
>
>
>
> -
> To unsubscribe, e-mail: commits-unsubscr...@poi.apache.org
> For additional commands, e-mail: commits-h...@poi.apache.org
>
>


Build failed in Jenkins: POI-DSL-OpenJDK #145

2017-05-12 Thread Apache Jenkins Server
[javadoc] Loading source files for package org.apache.poi.xdgf.extractor...
  [javadoc] Loading source files for package org.apache.poi.xdgf.geom...
  [javadoc] Loading source files for package org.apache.poi.xdgf.usermodel...
  [javadoc] Loading source files for package 
org.apache.poi.xdgf.usermodel.section...
  [javadoc] Loading source files for package 
org.apache.poi.xdgf.usermodel.section.geometry...
  [javadoc] Loading source files for package 
org.apache.poi.xdgf.usermodel.shape...
  [javadoc] Loading source files for package 
org.apache.poi.xdgf.usermodel.shape.exceptions...
  [javadoc] Loading source files for package org.apache.poi.xdgf.util...
  [javadoc] Loading source files for package org.apache.poi.xdgf.xml...
  [javadoc] Loading source files for package org.apache.poi.xslf.extractor...
  [javadoc] Loading source files for package org.apache.poi.xslf.model...
  [javadoc] Loading source files for package org.apache.poi.xslf.usermodel...
  [javadoc] Loading source files for package org.apache.poi.xslf.util...
  [javadoc] Loading source files for package org.apache.poi.xssf...
  [javadoc] Loading source files for package org.apache.poi.xssf.binary...
  [javadoc] Loading source files for package org.apache.poi.xssf.dev...
  [javadoc] Loading source files for package 
org.apache.poi.xssf.eventusermodel...
  [javadoc] Loading source files for package org.apache.poi.xssf.extractor...
  [javadoc] Loading source files for package org.apache.poi.xssf.model...
  [javadoc] Loading source files for package org.apache.poi.xssf.streaming...
  [javadoc] Loading source files for package org.apache.poi.xssf.usermodel...
  [javadoc] Loading source files for package 
org.apache.poi.xssf.usermodel.charts...
  [javadoc] Loading source files for package 
org.apache.poi.xssf.usermodel.extensions...
  [javadoc] Loading source files for package 
org.apache.poi.xssf.usermodel.helpers...
  [javadoc] Loading source files for package org.apache.poi.xssf.util...
  [javadoc] Loading source files for package org.apache.poi.xwpf.extractor...
  [javadoc] Loading source files for package org.apache.poi.xwpf.model...
  [javadoc] Loading source files for package org.apache.poi.xwpf.usermodel...
  [javadoc] Constructing Javadoc information...
  [javadoc] Standard Doclet version 1.6.0_41
  [javadoc] Building tree for all the packages and classes...
  [javadoc] Building index for all the packages and classes...
  [javadoc] Building index for all classes...

jar-javadocs:
 [echo] Building poi javadocs from 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-3.17-beta1/src/java>
[mkdir] Created dir: 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-3.17-beta1/build/tmp/maven-javadocs>
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [jar] Building jar: 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-3.17-beta1/build/dist/maven/poi/poi-3.17-beta1-javadoc.jar>
 [echo] Building poi-scratchpad javadocs from 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-3.17-beta1/src/scratchpad/src>
   [delete] Deleting directory 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-3.17-beta1/build/tmp/maven-javadocs>
[mkdir] Created dir: 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-3.17-beta1/build/tmp/maven-javadocs>
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [jar] Building jar: 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-3.17-beta1/build/dist/maven/poi-scratchpad/poi-scratchpad-3.17-beta1-javadoc.jar>
 [echo] Building poi-ooxml javadocs from 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-3.17-beta1/src/ooxml/java>
   [delete] Deleting directory 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-3.17-beta1/build/tmp/maven-javadocs>
[mkdir] Created dir: 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-3.17-beta1/build/tmp/maven-javadocs>
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [jar] Building jar: 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-3.17-beta1/build/dist/maven/poi-ooxml/poi-ooxml-3.17-beta1-javadoc.jar>

assemble:
  [zip] Building zip: 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-3.17-beta1/build/dist/poi-bin-3.17-beta1-20170512.zip>
  [tar] Building tar: 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-3.17-beta1/build/dist/poi-bin-3.17-beta1-20170512.tar.gz>
  [zip] Building zip: 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-3.17-beta1/build/dist/poi-src-3.17-beta1-20170512.zip>
  [tar] Building tar: 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/

[GitHub] poi pull request #53: Adding Null Pointer check

2017-05-12 Thread prafulVaishnav
GitHub user prafulVaishnav opened a pull request:

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

Adding Null Pointer check



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

$ git pull https://github.com/prafulVaishnav/poi vaishnav/issue

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

https://github.com/apache/poi/pull/53.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 #53


commit bdee325cbf9f0f8f4d32b9f639d0153056e04e96
Author: Praful Vaishnav 
Date:   2017-05-12T06:02:39Z

Adding Null Pointer check




---
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