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: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]