You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2018/03/13 09:02:40 UTC
[Bug 62174] New: class
org.openxmlformats.schemas.wordprocessingml.x2006.main.STHeightRule not found
in jar file
https://bz.apache.org/bugzilla/show_bug.cgi?id=62174
Bug ID: 62174
Summary: class
org.openxmlformats.schemas.wordprocessingml.x2006.main
.STHeightRule not found in jar file
Product: POI
Version: 3.17-FINAL
Hardware: PC
Status: NEW
Severity: critical
Priority: P2
Component: XWPF
Assignee: dev@poi.apache.org
Reporter: camilo.vasquez@gmail.com
Target Milestone: ---
Trying to set row heigth of a table with code like this:
int twipsPerInch = 1440;
tableRowTwo.setHeight((int)(twipsPerInch*1/10)); //set height 1/10 inch.
tableRowTwo.getCtRow().getTrPr().getTrHeightArray(0).setHRule(STHeightRule.EXACT);
The complier can't find the class STHeightRule.class
If we get into the jar contents (poi-ooxml-schemas-3.17.jar) the
STHeightRule.Enum.class appears but the STHeightRule.class doesn't
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 62174] class
org.openxmlformats.schemas.wordprocessingml.x2006.main.STHeightRule not found
in jar file
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62174
Camilo Vasquez <ca...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |camilo.vasquez@gmail.com
OS| |All
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 62174] class
org.openxmlformats.schemas.wordprocessingml.x2006.main.STHeightRule not found
in jar file
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62174
Dominik Stadler <do...@gmx.at> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Dominik Stadler <do...@gmx.at> ---
Added some simple unit tests for 4.0.0 via r1828180 which will cause this
classes to be included in the poi-ooxml-schemas jar file.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 62174] class
org.openxmlformats.schemas.wordprocessingml.x2006.main.STHeightRule not found
in jar file
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62174
Nick Burch <ap...@gagravarr.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #1 from Nick Burch <ap...@gagravarr.org> ---
As per http://poi.apache.org/faq.html#faq-N10025 , could you please write a
short junit unit test that uses the height rule, so the extra schema class will
get auto-included in future?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org