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 String
HORIZONTAL_ALIGN_CENTER
protected static String
HORIZONTAL_ALIGN_JUSTIFY
protected static String
HORIZONTAL_ALIGN_LEFT
protected static String
HORIZONTAL_ALIGN_RIGHT
protected static String
ROTATION_ALIGN_BOTTOM
protected static String
ROTATION_ALIGN_CENTER
protected static String
ROTATION_ALIGN_NONE
protected static String
ROTATION_ALIGN_TOP
protected static String
TAB_STOP_ALIGN_CENTER
protected static String
TAB_STOP_ALIGN_LEFT
protected static String
TAB_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 String
getHorizontalAlignment(HorizontalTextAlignEnum horizontalAlignment, VerticalTextAlignEnum verticalAlignment, RotationEnum rotation)
String
getId()
static String
getTabStopAlignment(TabStopAlignEnum tabStopAlignment)
static String
getVerticalAlignment(HorizontalTextAlignEnum horizontalAlignment, VerticalTextAlignEnum verticalAlignment, RotationEnum rotation)
void
write(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)
-
-