You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ni...@apache.org on 2002/03/06 22:02:19 UTC
cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/elementprocessor/impl/poi/hssf/elements EPStyle.java
nicolaken 02/03/06 13:02:19
Modified: src/java/org/apache/cocoon/components/elementprocessor/impl/poi/hssf/elements
EPStyle.java
Log:
setAlignment was called also instead of setVerticalAlignment; fixed.
Revision Changes Path
1.2 +1 -1 xml-cocoon2/src/java/org/apache/cocoon/components/elementprocessor/impl/poi/hssf/elements/EPStyle.java
Index: EPStyle.java
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/elementprocessor/impl/poi/hssf/elements/EPStyle.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- EPStyle.java 6 Mar 2002 16:58:02 -0000 1.1
+++ EPStyle.java 6 Mar 2002 21:02:19 -0000 1.2
@@ -164,7 +164,7 @@
HSSFCellStyle style = sregion.getStyle();
style.setAlignment(getHorizontalAlignment().getCode());
- style.setAlignment(getVerticalAlignment().getCode());
+ style.setVerticalAlignment(getVerticalAlignment().getCode());
style.setFillPattern((short)getShade());
if (getShade() == 1) { //normally this fill is set to true and the colors are "reversed"
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org