org.apache.fop.render.rtf
Class BorderAttributesConverter
java.lang.Object
org.apache.fop.render.rtf.BorderAttributesConverter
public final class BorderAttributesConverter
extends java.lang.Object
Constants for RTF border attribute names, and a static method for converting
fo attribute strings.
convertAttributetoRtf
public static String convertAttributetoRtf(int iBorderStyle)
iBorderStyle
- the border style to be converted
- String with the converted border style
makeBorder
public static void makeBorder(CommonBorderPaddingBackground border,
int side,
RtfAttributes attributes,
String controlWord)
Create a border control word in attributes, with border properties
as specified in color, style and width.
border
- The CommonBorderPaddingBackground object.side
- The START, END, BEFORE, AFTER enum from CommonBorderPaddingBackground.attributes
- The attributes list to set the border control word.controlWord
- The border control word.
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.