public abstract class RtfTextPara extends RtfPara
| Modifier and Type | Class and Description |
|---|---|
static class |
RtfTextPara.BorderStyle
Enumerator for different border styles.
|
static class |
RtfTextPara.TabKind
Different kind of tabs.
|
static class |
RtfTextPara.TabLead
Leading symbols.
|
| Constructor and Description |
|---|
RtfTextPara() |
| Modifier and Type | Method and Description |
|---|---|
RtfTextPara |
alignCentered() |
RtfTextPara |
alignJustified() |
RtfTextPara |
alignLeft() |
RtfTextPara |
alignRight() |
RtfTextPara |
bottomBorder(RtfTextPara.BorderStyle borderStyle)
Border bottom.
|
RtfTextPara |
breakPageBeforeParagraph()
Break page before the paragraph.
|
RtfTextPara |
cellWidth(double width,
RtfUnit unit)
Sets the width of a cell if the paragraph is used in a table.
|
RtfTextPara |
hyphenationOff()
Hyphenation for the paragraph off.
|
RtfTextPara |
hyphenationOn()
Hyphenation for the paragraph on.
|
RtfTextPara |
indentFirstLine(double indentation,
RtfUnit unit)
First-line indent by given amount.
|
RtfTextPara |
indentLeft(double indentation,
RtfUnit unit)
Left indent by given amount.
|
RtfTextPara |
indentRight(double indentation,
RtfUnit unit)
Right indent by given amount.
|
RtfTextPara |
keep()
Keep paragraph intact.
|
RtfTextPara |
keepWithNextParagraph()
Keep paragraph with the next paragraph.
|
RtfTextPara |
leftBorder(RtfTextPara.BorderStyle borderStyle)
Border left.
|
RtfTextPara |
leftToRight()
Text in this paragraph will be displayed with left to right precedence.
|
RtfTextPara |
level(int level)
Outline level of the paragraph.
|
RtfTextPara |
noLineNumbering()
No line numbering.
|
RtfTextPara |
noWidowOrOrphanControl()
No widow/orphan control.
|
RtfTextPara |
partOfTable()
Paragraph is part of a table.
|
RtfTextPara |
reset()
Resets to default paragraph properties.
|
RtfTextPara |
rightBorder(RtfTextPara.BorderStyle borderStyle)
Border right.
|
RtfTextPara |
rightToLeft()
Text in this paragraph will be displayed with right to left precedence.
|
RtfTextPara |
spaceAfterLine(double space,
RtfUnit unit)
Space after line by given amount.
|
RtfTextPara |
spaceBeforeLine(double space,
RtfUnit unit)
Space before line by given amount.
|
RtfTextPara |
spaceBetweenLines(double space,
RtfUnit unit)
Space between lines by a given amount.
|
RtfTextPara |
spaceBetweenLinesAutomatically()
Line spacing is automatically determined by the tallest character in the line.
|
RtfTextPara |
spaceBetweenLinesMultiple(double space,
RtfUnit unit)
Space between lines is a multiple of single line spacing.
|
RtfTextPara |
spaceBetweenLinesMultipleAtLeastOrExactly(double space,
RtfUnit unit)
"At Least" or "exactly" space between lines is a multiple of single line spacing.
|
RtfTextPara |
tab(double tabPostion,
RtfUnit unit)
Defines a tab.
|
RtfTextPara |
tab(RtfTextPara.TabKind tabKind,
double tabPostion,
RtfUnit unit)
Defines a tab.
|
RtfTextPara |
tab(RtfTextPara.TabKind tabKind,
RtfTextPara.TabLead tabLead,
double tabPostion,
RtfUnit unit)
Defines a tab with an additional tab lead.
|
RtfTextPara |
topBorder(RtfTextPara.BorderStyle borderStyle)
Border top.
|
public RtfTextPara reset()
this-object.public RtfTextPara hyphenationOn()
this-object.public RtfTextPara hyphenationOff()
this-object.public RtfTextPara partOfTable()
this-object.public RtfTextPara keep()
this-object.public RtfTextPara noWidowOrOrphanControl()
this-object.public RtfTextPara keepWithNextParagraph()
this-object.public RtfTextPara level(int level)
level - Outline level.this-object.public RtfTextPara noLineNumbering()
this-object.public RtfTextPara breakPageBeforeParagraph()
this-object.public RtfTextPara alignLeft()
this-object.public RtfTextPara alignRight()
this-object.public RtfTextPara alignJustified()
this-object.public RtfTextPara alignCentered()
this-object.public RtfTextPara indentFirstLine(double indentation, RtfUnit unit)
indentation - Indentation.unit - Measurement unit.this-object.public RtfTextPara indentLeft(double indentation, RtfUnit unit)
indentation - Indentation.unit - Measurement unit.this-object.public RtfTextPara indentRight(double indentation, RtfUnit unit)
indentation - Indentation.unit - Measurement unit.this-object.public RtfTextPara spaceBeforeLine(double space, RtfUnit unit)
space - Space.unit - Measurement unit.this-object.public RtfTextPara spaceAfterLine(double space, RtfUnit unit)
space - Space.unit - Measurement unit.this-object.public RtfTextPara spaceBetweenLines(double space, RtfUnit unit)
space - Space. If space is a positive value, this size is
used only if it's taller than the tallest character
(otherwise, the tallest character is used).
If space is a negative value, the absolute
value of space is used, even if it is shorter
than the tallest character.unit - Measurement unit.this-object.public RtfTextPara spaceBetweenLinesMultipleAtLeastOrExactly(double space, RtfUnit unit)
space - Single space between lines.unit - Measurement unit.this-object.spaceBetweenLines(double, RtfUnit)public RtfTextPara spaceBetweenLinesMultiple(double space, RtfUnit unit)
space - Space.unit - Measurement unit.this-object.spaceBetweenLines(double, RtfUnit)public RtfTextPara spaceBetweenLinesAutomatically()
spaceBetweenLines(double, RtfUnit) with 0 as
first argument.this-object.spaceBetweenLines(double, RtfUnit)public RtfTextPara rightToLeft()
this-object.public RtfTextPara leftToRight()
this-object.public RtfTextPara tab(double tabPostion, RtfUnit unit)
tabPostion - Position of the tabulator.unit - Measurement.this-object.public RtfTextPara tab(RtfTextPara.TabKind tabKind, double tabPostion, RtfUnit unit)
tabKind - What kind of tab. Can be null.tabPostion - Position of the tabulator.unit - Measurement.this-object.public RtfTextPara tab(RtfTextPara.TabKind tabKind, RtfTextPara.TabLead tabLead, double tabPostion, RtfUnit unit)
tabKind - What kind of tab. Can be null.tabLead - Leading characters. Can be null.tabPostion - Position of the tabulator.unit - Measurement.this-object.public RtfTextPara topBorder(RtfTextPara.BorderStyle borderStyle)
borderStyle - Style of the border.this-object.public RtfTextPara bottomBorder(RtfTextPara.BorderStyle borderStyle)
borderStyle - Style of the border.this-object.public RtfTextPara leftBorder(RtfTextPara.BorderStyle borderStyle)
borderStyle - Style of the border.this-object.public RtfTextPara rightBorder(RtfTextPara.BorderStyle borderStyle)
borderStyle - Style of the border.this-object.public RtfTextPara cellWidth(double width, RtfUnit unit)
width - Width of the cell.unit - Unit of the width.this-object.Copyright © 2010–2015 Tutego. All rights reserved.