Class ParagraphStyle
- java.lang.Object
-
- net.sf.jasperreports.engine.export.oasis.Style
-
- net.sf.jasperreports.engine.export.oasis.ParagraphStyle
-
public class ParagraphStyle extends Style
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringHORIZONTAL_ALIGN_CENTERprotected static StringHORIZONTAL_ALIGN_JUSTIFYprotected static StringHORIZONTAL_ALIGN_LEFTprotected static StringHORIZONTAL_ALIGN_RIGHTprotected static StringROTATION_ALIGN_BOTTOMprotected static StringROTATION_ALIGN_CENTERprotected static StringROTATION_ALIGN_NONEprotected static StringROTATION_ALIGN_TOPprotected static StringTAB_STOP_ALIGN_CENTERprotected static StringTAB_STOP_ALIGN_LEFTprotected static StringTAB_STOP_ALIGN_RIGHT-
Fields inherited from class net.sf.jasperreports.engine.export.oasis.Style
styleWriter
-
-
Constructor Summary
Constructors Constructor Description ParagraphStyle(WriterHelper styleWriter, JRPrintText text, boolean isIgnoreTextFormatting)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringgetHorizontalAlignment(HorizontalTextAlignEnum horizontalAlignment, VerticalTextAlignEnum verticalAlignment, RotationEnum rotation)StringgetId()static StringgetTabStopAlignment(TabStopAlignEnum tabStopAlignment)static StringgetVerticalAlignment(HorizontalTextAlignEnum horizontalAlignment, VerticalTextAlignEnum verticalAlignment, RotationEnum rotation)voidwrite(String paragraphStyleName)
-
-
-
Field Detail
-
HORIZONTAL_ALIGN_LEFT
protected static final String HORIZONTAL_ALIGN_LEFT
- See Also:
- Constant Field Values
-
HORIZONTAL_ALIGN_RIGHT
protected static final String HORIZONTAL_ALIGN_RIGHT
- See Also:
- Constant Field Values
-
HORIZONTAL_ALIGN_CENTER
protected static final String HORIZONTAL_ALIGN_CENTER
- See Also:
- Constant Field Values
-
HORIZONTAL_ALIGN_JUSTIFY
protected static final String HORIZONTAL_ALIGN_JUSTIFY
- See Also:
- Constant Field Values
-
TAB_STOP_ALIGN_LEFT
protected static final String TAB_STOP_ALIGN_LEFT
- See Also:
- Constant Field Values
-
TAB_STOP_ALIGN_RIGHT
protected static final String TAB_STOP_ALIGN_RIGHT
- See Also:
- Constant Field Values
-
TAB_STOP_ALIGN_CENTER
protected static final String TAB_STOP_ALIGN_CENTER
- See Also:
- Constant Field Values
-
ROTATION_ALIGN_NONE
protected static final String ROTATION_ALIGN_NONE
- See Also:
- Constant Field Values
-
ROTATION_ALIGN_TOP
protected static final String ROTATION_ALIGN_TOP
- See Also:
- Constant Field Values
-
ROTATION_ALIGN_CENTER
protected static final String ROTATION_ALIGN_CENTER
- See Also:
- Constant Field Values
-
ROTATION_ALIGN_BOTTOM
protected static final String ROTATION_ALIGN_BOTTOM
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ParagraphStyle
public ParagraphStyle(WriterHelper styleWriter, JRPrintText text, boolean isIgnoreTextFormatting)
-
-
Method Detail
-
getVerticalAlignment
public static String getVerticalAlignment(HorizontalTextAlignEnum horizontalAlignment, VerticalTextAlignEnum verticalAlignment, RotationEnum rotation)
-
getHorizontalAlignment
public static String getHorizontalAlignment(HorizontalTextAlignEnum horizontalAlignment, VerticalTextAlignEnum verticalAlignment, RotationEnum rotation)
-
getTabStopAlignment
public static String getTabStopAlignment(TabStopAlignEnum tabStopAlignment)
-
-