public class ParagraphStyle extends Style
| Modifier and Type | Field and 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 |
styleWriter| Constructor and Description |
|---|
ParagraphStyle(WriterHelper styleWriter,
JRPrintText text) |
| Modifier and Type | Method and 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) |
protected static final String HORIZONTAL_ALIGN_LEFT
protected static final String HORIZONTAL_ALIGN_RIGHT
protected static final String HORIZONTAL_ALIGN_CENTER
protected static final String HORIZONTAL_ALIGN_JUSTIFY
protected static final String TAB_STOP_ALIGN_LEFT
protected static final String TAB_STOP_ALIGN_RIGHT
protected static final String TAB_STOP_ALIGN_CENTER
protected static final String ROTATION_ALIGN_NONE
protected static final String ROTATION_ALIGN_TOP
protected static final String ROTATION_ALIGN_CENTER
protected static final String ROTATION_ALIGN_BOTTOM
public ParagraphStyle(WriterHelper styleWriter, JRPrintText text)
public static String getVerticalAlignment(HorizontalTextAlignEnum horizontalAlignment, VerticalTextAlignEnum verticalAlignment, RotationEnum rotation)
public static String getHorizontalAlignment(HorizontalTextAlignEnum horizontalAlignment, VerticalTextAlignEnum verticalAlignment, RotationEnum rotation)
public static String getTabStopAlignment(TabStopAlignEnum tabStopAlignment)
Copyright © 2015. All rights reserved.