pbwest 2002/12/01 06:28:46 Modified: src/org/apache/fop/fo/properties Tag: FOP_0-20-0_Alt-Design BorderColor.java Log: Property index arg added to getColor() calls. Revision Changes Path No revision No revision 1.1.2.6 +11 -5 xml-fop/src/org/apache/fop/fo/properties/Attic/BorderColor.java Index: BorderColor.java =================================================================== RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/properties/Attic/BorderColor.java,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -u -r1.1.2.5 -r1.1.2.6 --- BorderColor.java 29 Nov 2002 17:08:50 -0000 1.1.2.5 +++ BorderColor.java 1 Dec 2002 14:28:46 -0000 1.1.2.6 @@ -102,11 +102,14 @@ Iterator colors = list.iterator(); // There must be at least one - top = getColor((PropertyValue)(colors.next())); + top = getColor(PropNames.BORDER_TOP_COLOR, + (PropertyValue)(colors.next())); try { if (colors.hasNext()) - right = getColor((PropertyValue)(colors.next())); + right = getColor + (PropNames.BORDER_RIGHT_COLOR, + (PropertyValue)(colors.next())); else right = (ColorType)(top.clone()); @@ -118,12 +121,15 @@ } if (colors.hasNext()) - bottom = getColor((PropertyValue)(colors.next())); + bottom = getColor + (PropNames.BORDER_BOTTOM_COLOR, + (PropertyValue)(colors.next())); if (colors.hasNext()) - left = getColor((PropertyValue)(colors.next())); + left = getColor + (PropNames.BORDER_LEFT_COLOR, + (PropertyValue)(colors.next())); // Set the properties for each - top.setProperty(PropNames.BORDER_TOP_COLOR); right.setProperty(PropNames.BORDER_RIGHT_COLOR); bottom.setProperty(PropNames.BORDER_BOTTOM_COLOR); left.setProperty(PropNames.BORDER_LEFT_COLOR);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]