public class CachingParagraph extends 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()
Deprecated.
Replaced by
getParagraphContainer() . |
Integer |
getFirstLineIndent()
Gets the text first line indent.
|
Integer |
getLeftIndent()
Gets the text left indent.
|
LineSpacingEnum |
getLineSpacing()
Gets the text line spacing.
|
Float |
getLineSpacingSize()
Gets the text line spacing size to be used in combination with the line spacing type.
|
Integer |
getOwnFirstLineIndent()
Gets the text own first line indent.
|
Integer |
getOwnLeftIndent()
Gets the text own left indent.
|
LineSpacingEnum |
getOwnLineSpacing()
Gets the text own line spacing.
|
Float |
getOwnLineSpacingSize()
Gets the text own line spacing size to be used in combination with the line spacing type.
|
Integer |
getOwnRightIndent()
Gets the text own right indent.
|
Integer |
getOwnSpacingAfter()
Gets the text own spacing after.
|
Integer |
getOwnSpacingBefore()
Gets the text own spacing before.
|
TabStop[] |
getOwnTabStops()
Gets the custom tab stops.
|
Integer |
getOwnTabStopWidth()
Gets the text own tab stop width.
|
JRParagraphContainer |
getParagraphContainer()
Gets the text line spacing.
|
Integer |
getRightIndent()
Gets the text right indent.
|
Integer |
getSpacingAfter()
Gets the text spacing after.
|
Integer |
getSpacingBefore()
Gets the text spacing before.
|
JRStyle |
getStyle()
Deprecated.
Replaced by
getParagraphContainer() . |
String |
getStyleNameReference()
Deprecated.
Replaced by
getParagraphContainer() . |
TabStop[] |
getTabStops()
Gets the custom tab stops.
|
Integer |
getTabStopWidth()
Gets the text tab stop width.
|
void |
removeTabStop(int index) |
void |
removeTabStop(TabStop tabStop) |
void |
setFirstLineIndent(Integer firstLineIndent)
Sets the text own first line indent.
|
void |
setLeftIndent(Integer leftIndent)
Sets the text own left indent.
|
void |
setLineSpacing(LineSpacingEnum lineSpacing)
Sets the text line spacing.
|
void |
setLineSpacingSize(Float lineSpacingSize)
Sets the text line spacing size to be used in combination with the line spacing type.
|
void |
setRightIndent(Integer rightIndent)
Sets the text own right indent.
|
void |
setSpacingAfter(Integer spacingAfter)
Sets the text own spacing after.
|
void |
setSpacingBefore(Integer spacingBefore)
Sets the text own spacing before.
|
void |
setTabStopWidth(Integer tabStopWidth)
Sets the text own tab stop width.
|
public CachingParagraph(JRParagraph base)
public JRDefaultStyleProvider getDefaultStyleProvider()
getParagraphContainer()
.getDefaultStyleProvider
in interface JRStyleContainer
public JRStyle getStyle()
getParagraphContainer()
.JRStyleContainer
getStyle
in interface JRStyleContainer
public String getStyleNameReference()
getParagraphContainer()
.JRStyleContainer
templates
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 JRStyleContainer
public JRParagraphContainer getParagraphContainer()
JRParagraph
getParagraphContainer
in interface JRParagraph
LineSpacingEnum
public JRParagraph clone(JRParagraphContainer paragraphContainer)
clone
in interface JRParagraph
public LineSpacingEnum getLineSpacing()
JRParagraph
getLineSpacing
in interface JRParagraph
LineSpacingEnum
public LineSpacingEnum getOwnLineSpacing()
JRParagraph
getOwnLineSpacing
in interface JRParagraph
LineSpacingEnum
public void setLineSpacing(LineSpacingEnum lineSpacing)
JRParagraph
setLineSpacing
in interface JRParagraph
lineSpacing
- a value representing one of the line spacing constants in LineSpacingEnum
public Float getLineSpacingSize()
JRParagraph
getLineSpacingSize
in interface JRParagraph
public Float getOwnLineSpacingSize()
JRParagraph
getOwnLineSpacingSize
in interface JRParagraph
public void setLineSpacingSize(Float lineSpacingSize)
JRParagraph
setLineSpacingSize
in interface JRParagraph
public Integer getLeftIndent()
JRParagraph
getLeftIndent
in interface JRParagraph
public Integer getOwnLeftIndent()
JRParagraph
getOwnLeftIndent
in interface JRParagraph
public void setLeftIndent(Integer leftIndent)
JRParagraph
setLeftIndent
in interface JRParagraph
public Integer getFirstLineIndent()
JRParagraph
getFirstLineIndent
in interface JRParagraph
public Integer getOwnFirstLineIndent()
JRParagraph
getOwnFirstLineIndent
in interface JRParagraph
public void setFirstLineIndent(Integer firstLineIndent)
JRParagraph
setFirstLineIndent
in interface JRParagraph
public Integer getRightIndent()
JRParagraph
getRightIndent
in interface JRParagraph
public Integer getOwnRightIndent()
JRParagraph
getOwnRightIndent
in interface JRParagraph
public void setRightIndent(Integer rightIndent)
JRParagraph
setRightIndent
in interface JRParagraph
public Integer getSpacingBefore()
JRParagraph
getSpacingBefore
in interface JRParagraph
public Integer getOwnSpacingBefore()
JRParagraph
getOwnSpacingBefore
in interface JRParagraph
public void setSpacingBefore(Integer spacingBefore)
JRParagraph
setSpacingBefore
in interface JRParagraph
public Integer getSpacingAfter()
JRParagraph
getSpacingAfter
in interface JRParagraph
public Integer getOwnSpacingAfter()
JRParagraph
getOwnSpacingAfter
in interface JRParagraph
public void setSpacingAfter(Integer spacingAfter)
JRParagraph
setSpacingAfter
in interface JRParagraph
public Integer getTabStopWidth()
JRParagraph
getTabStopWidth
in interface JRParagraph
public Integer getOwnTabStopWidth()
JRParagraph
getOwnTabStopWidth
in interface JRParagraph
public void setTabStopWidth(Integer tabStopWidth)
JRParagraph
setTabStopWidth
in interface JRParagraph
public TabStop[] getTabStops()
JRParagraph
getTabStops
in interface JRParagraph
public TabStop[] getOwnTabStops()
JRParagraph
getOwnTabStops
in interface JRParagraph
public void addTabStop(TabStop tabStop)
addTabStop
in interface JRParagraph
public void addTabStop(int index, TabStop tabStop)
addTabStop
in interface JRParagraph
public void removeTabStop(int index)
removeTabStop
in interface JRParagraph
public void removeTabStop(TabStop tabStop)
removeTabStop
in interface JRParagraph
Copyright © 2021 TIBCO Software Inc.. All rights reserved.