public class CachingParagraph extends java.lang.Object implements JRParagraph
DEFAULT_FIRST_LINE_INDENT, DEFAULT_LEFT_INDENT, DEFAULT_LINE_SPACING_SIZE, DEFAULT_RIGHT_INDENT, DEFAULT_SPACING_AFTER, DEFAULT_SPACING_BEFORE, DEFAULT_TAB_STOP_WIDTH| Constructor and Description |
|---|
CachingParagraph(JRParagraph base) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTabStop(int index,
TabStop tabStop) |
void |
addTabStop(TabStop tabStop) |
JRParagraph |
clone(JRParagraphContainer paragraphContainer) |
JRDefaultStyleProvider |
getDefaultStyleProvider() |
java.lang.Integer |
getFirstLineIndent()
Gets the text first line indent.
|
java.lang.Integer |
getLeftIndent()
Gets the text left indent.
|
LineSpacingEnum |
getLineSpacing()
Gets the text line spacing.
|
java.lang.Float |
getLineSpacingSize()
Gets the text line spacing size to be used in combination with the line spacing type.
|
java.lang.Integer |
getOwnFirstLineIndent()
Gets the text own first line indent.
|
java.lang.Integer |
getOwnLeftIndent()
Gets the text own left indent.
|
LineSpacingEnum |
getOwnLineSpacing()
Gets the text own line spacing.
|
java.lang.Float |
getOwnLineSpacingSize()
Gets the text own line spacing size to be used in combination with the line spacing type.
|
java.lang.Integer |
getOwnRightIndent()
Gets the text own right indent.
|
java.lang.Integer |
getOwnSpacingAfter()
Gets the text own spacing after.
|
java.lang.Integer |
getOwnSpacingBefore()
Gets the text own spacing before.
|
TabStop[] |
getOwnTabStops()
Gets the custom tab stops.
|
java.lang.Integer |
getOwnTabStopWidth()
Gets the text own tab stop width.
|
java.lang.Integer |
getRightIndent()
Gets the text right indent.
|
java.lang.Integer |
getSpacingAfter()
Gets the text spacing after.
|
java.lang.Integer |
getSpacingBefore()
Gets the text spacing before.
|
JRStyle |
getStyle()
Returns this object's style.
|
java.lang.String |
getStyleNameReference()
Returns the name of an external style which is to be used by this object.
|
TabStop[] |
getTabStops()
Gets the custom tab stops.
|
java.lang.Integer |
getTabStopWidth()
Gets the text tab stop width.
|
void |
removeTabStop(int index) |
void |
removeTabStop(TabStop tabStop) |
void |
setFirstLineIndent(java.lang.Integer firstLineIndent)
Sets the text own first line indent.
|
void |
setLeftIndent(java.lang.Integer leftIndent)
Sets the text own left indent.
|
void |
setLineSpacing(LineSpacingEnum lineSpacing)
Sets the text line spacing.
|
void |
setLineSpacingSize(java.lang.Float lineSpacingSize)
Sets the text line spacing size to be used in combination with the line spacing type.
|
void |
setRightIndent(java.lang.Integer rightIndent)
Sets the text own right indent.
|
void |
setSpacingAfter(java.lang.Integer spacingAfter)
Sets the text own spacing after.
|
void |
setSpacingBefore(java.lang.Integer spacingBefore)
Sets the text own spacing before.
|
void |
setTabStopWidth(java.lang.Integer tabStopWidth)
Sets the text own tab stop width.
|
public CachingParagraph(JRParagraph base)
public JRDefaultStyleProvider getDefaultStyleProvider()
getDefaultStyleProvider in interface JRStyleContainerpublic JRStyle getStyle()
JRStyleContainergetStyle in interface JRStyleContainerpublic java.lang.String getStyleNameReference()
JRStyleContainertemplates and are resolved
at fill time.
This attribute is only effective if no direct style (as returned by getStyle()
is specified for this object.getStyleNameReference in interface JRStyleContainerpublic JRParagraph clone(JRParagraphContainer paragraphContainer)
clone in interface JRParagraphpublic LineSpacingEnum getLineSpacing()
JRParagraphgetLineSpacing in interface JRParagraphLineSpacingEnumpublic LineSpacingEnum getOwnLineSpacing()
JRParagraphgetOwnLineSpacing in interface JRParagraphLineSpacingEnumpublic void setLineSpacing(LineSpacingEnum lineSpacing)
JRParagraphsetLineSpacing in interface JRParagraphlineSpacing - a value representing one of the line spacing constants in LineSpacingEnumpublic java.lang.Float getLineSpacingSize()
JRParagraphgetLineSpacingSize in interface JRParagraphpublic java.lang.Float getOwnLineSpacingSize()
JRParagraphgetOwnLineSpacingSize in interface JRParagraphpublic void setLineSpacingSize(java.lang.Float lineSpacingSize)
JRParagraphsetLineSpacingSize in interface JRParagraphpublic java.lang.Integer getLeftIndent()
JRParagraphgetLeftIndent in interface JRParagraphpublic java.lang.Integer getOwnLeftIndent()
JRParagraphgetOwnLeftIndent in interface JRParagraphpublic void setLeftIndent(java.lang.Integer leftIndent)
JRParagraphsetLeftIndent in interface JRParagraphpublic java.lang.Integer getFirstLineIndent()
JRParagraphgetFirstLineIndent in interface JRParagraphpublic java.lang.Integer getOwnFirstLineIndent()
JRParagraphgetOwnFirstLineIndent in interface JRParagraphpublic void setFirstLineIndent(java.lang.Integer firstLineIndent)
JRParagraphsetFirstLineIndent in interface JRParagraphpublic java.lang.Integer getRightIndent()
JRParagraphgetRightIndent in interface JRParagraphpublic java.lang.Integer getOwnRightIndent()
JRParagraphgetOwnRightIndent in interface JRParagraphpublic void setRightIndent(java.lang.Integer rightIndent)
JRParagraphsetRightIndent in interface JRParagraphpublic java.lang.Integer getSpacingBefore()
JRParagraphgetSpacingBefore in interface JRParagraphpublic java.lang.Integer getOwnSpacingBefore()
JRParagraphgetOwnSpacingBefore in interface JRParagraphpublic void setSpacingBefore(java.lang.Integer spacingBefore)
JRParagraphsetSpacingBefore in interface JRParagraphpublic java.lang.Integer getSpacingAfter()
JRParagraphgetSpacingAfter in interface JRParagraphpublic java.lang.Integer getOwnSpacingAfter()
JRParagraphgetOwnSpacingAfter in interface JRParagraphpublic void setSpacingAfter(java.lang.Integer spacingAfter)
JRParagraphsetSpacingAfter in interface JRParagraphpublic java.lang.Integer getTabStopWidth()
JRParagraphgetTabStopWidth in interface JRParagraphpublic java.lang.Integer getOwnTabStopWidth()
JRParagraphgetOwnTabStopWidth in interface JRParagraphpublic void setTabStopWidth(java.lang.Integer tabStopWidth)
JRParagraphsetTabStopWidth in interface JRParagraphpublic TabStop[] getTabStops()
JRParagraphgetTabStops in interface JRParagraphpublic TabStop[] getOwnTabStops()
JRParagraphgetOwnTabStops in interface JRParagraphpublic void addTabStop(TabStop tabStop)
addTabStop in interface JRParagraphpublic void addTabStop(int index,
TabStop tabStop)
addTabStop in interface JRParagraphpublic void removeTabStop(int index)
removeTabStop in interface JRParagraphpublic void removeTabStop(TabStop tabStop)
removeTabStop in interface JRParagraph© 2001-2010 Jaspersoft Corporation www.jaspersoft.com