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 java.lang.StringHORIZONTAL_ALIGN_CENTERprotected static java.lang.StringHORIZONTAL_ALIGN_JUSTIFYprotected static java.lang.StringHORIZONTAL_ALIGN_LEFTprotected static java.lang.StringHORIZONTAL_ALIGN_RIGHTprotected static java.lang.StringROTATION_ALIGN_BOTTOMprotected static java.lang.StringROTATION_ALIGN_CENTERprotected static java.lang.StringROTATION_ALIGN_NONEprotected static java.lang.StringROTATION_ALIGN_TOPprotected static java.lang.StringTAB_STOP_ALIGN_CENTERprotected static java.lang.StringTAB_STOP_ALIGN_LEFTprotected static java.lang.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 java.lang.StringgetHorizontalAlignment(HorizontalTextAlignEnum horizontalAlignment, VerticalTextAlignEnum verticalAlignment, RotationEnum rotation)java.lang.StringgetId()static java.lang.StringgetTabStopAlignment(TabStopAlignEnum tabStopAlignment)static java.lang.StringgetVerticalAlignment(HorizontalTextAlignEnum horizontalAlignment, VerticalTextAlignEnum verticalAlignment, RotationEnum rotation)voidwrite(java.lang.String paragraphStyleName)
-
-
-
Field Detail
-
HORIZONTAL_ALIGN_LEFT
protected static final java.lang.String HORIZONTAL_ALIGN_LEFT
- See Also:
- Constant Field Values
-
HORIZONTAL_ALIGN_RIGHT
protected static final java.lang.String HORIZONTAL_ALIGN_RIGHT
- See Also:
- Constant Field Values
-
HORIZONTAL_ALIGN_CENTER
protected static final java.lang.String HORIZONTAL_ALIGN_CENTER
- See Also:
- Constant Field Values
-
HORIZONTAL_ALIGN_JUSTIFY
protected static final java.lang.String HORIZONTAL_ALIGN_JUSTIFY
- See Also:
- Constant Field Values
-
TAB_STOP_ALIGN_LEFT
protected static final java.lang.String TAB_STOP_ALIGN_LEFT
- See Also:
- Constant Field Values
-
TAB_STOP_ALIGN_RIGHT
protected static final java.lang.String TAB_STOP_ALIGN_RIGHT
- See Also:
- Constant Field Values
-
TAB_STOP_ALIGN_CENTER
protected static final java.lang.String TAB_STOP_ALIGN_CENTER
- See Also:
- Constant Field Values
-
ROTATION_ALIGN_NONE
protected static final java.lang.String ROTATION_ALIGN_NONE
- See Also:
- Constant Field Values
-
ROTATION_ALIGN_TOP
protected static final java.lang.String ROTATION_ALIGN_TOP
- See Also:
- Constant Field Values
-
ROTATION_ALIGN_CENTER
protected static final java.lang.String ROTATION_ALIGN_CENTER
- See Also:
- Constant Field Values
-
ROTATION_ALIGN_BOTTOM
protected static final java.lang.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 java.lang.String getVerticalAlignment(HorizontalTextAlignEnum horizontalAlignment, VerticalTextAlignEnum verticalAlignment, RotationEnum rotation)
-
getHorizontalAlignment
public static java.lang.String getHorizontalAlignment(HorizontalTextAlignEnum horizontalAlignment, VerticalTextAlignEnum verticalAlignment, RotationEnum rotation)
-
getTabStopAlignment
public static java.lang.String getTabStopAlignment(TabStopAlignEnum tabStopAlignment)
-
-