java.lang.Object | |||
↳ | com.pdftron.layout.ContentElement | ||
↳ | com.pdftron.layout.ContentNode | ||
↳ | com.pdftron.layout.Paragraph |
A Paragraph is a content node that contains a list of TextRun
objects.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
enum | Paragraph.TextJustification |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static void | AddTabStop(long self, double val) | ||||||||||
static double | GetBorderThickness(long self) | ||||||||||
static double | GetDefaultTabStop(long self) | ||||||||||
static double | GetEndIndent(long self) | ||||||||||
static double | GetNextTabStop(long self, double val) | ||||||||||
static int | GetSpacesPerTab(long self) | ||||||||||
static double | GetStartIndent(long self) | ||||||||||
static double | GetTextIndent(long self) | ||||||||||
static boolean | IsDisplayRtl(long self) | ||||||||||
static void | SetBorder(long self, double thickness, int red, int green, int blue) | ||||||||||
static void | SetDefaultTabStop(long self, double val) | ||||||||||
static void | SetDisplayRtl(long self, boolean val) | ||||||||||
static void | SetEndIndent(long self, double val) | ||||||||||
static void | SetSpacesPerTab(long self, int val) | ||||||||||
static void | SetStartIndent(long self, double val) | ||||||||||
static void | SetTextIndent(long self, double val) | ||||||||||
void |
addTabStop(double val)
Adds a tab stop to the paragraph.
| ||||||||||
TextRun |
addText(String text)
Add another text run to the paragraph
| ||||||||||
double |
getBorderThickness()
Retrieves the border thickness for the paragraph.
| ||||||||||
double |
getDefaultTabStop()
Retrieves the default tab stop value for the paragraph.
| ||||||||||
double |
getEndIndent()
Retrieves the end indent for the paragraph.
| ||||||||||
Paragraph.TextJustification |
getJustificationMode()
Get justification mode for the paragraph
| ||||||||||
double |
getNextTabStop(double val)
Retrieves the next tab stop value based on the given position.
| ||||||||||
double |
getSpaceAfter()
Get the "space after" value for the paragraph style
| ||||||||||
double |
getSpaceBefore()
Get the "space before" value for the paragraph style
| ||||||||||
int |
getSpacesPerTab()
Retrieves the number of spaces per tab for the paragraph.
| ||||||||||
double |
getStartIndent()
Retrieves the start indent for the paragraph.
| ||||||||||
double |
getTextIndent()
Retrieves the text indent for the paragraph.
| ||||||||||
boolean |
isDisplayRtl()
Retrieves the display right-to-left (RTL) mode for the paragraph.
| ||||||||||
void |
setBorder(double thickness, int red, int green, int blue)
Sets the border properties for the paragraph.
| ||||||||||
void |
setDefaultTabStop(double val)
Sets the default tab stop value for the paragraph.
| ||||||||||
void |
setDisplayRtl(boolean val)
Sets the display right-to-left (RTL) mode for the paragraph.
| ||||||||||
void |
setEndIndent(double val)
Sets the end indent for the paragraph.
| ||||||||||
void |
setJustificationMode(Paragraph.TextJustification val)
Set justification mode for paragraph style
| ||||||||||
void |
setSpaceAfter(double val)
Set the "space after" value for paragraph style
| ||||||||||
void |
setSpaceBefore(double val)
Set the "space before" value for the paragraph style
| ||||||||||
void |
setSpacesPerTab(int val)
Sets the number of spaces per tab for the paragraph.
| ||||||||||
void |
setStartIndent(double val)
Sets the start indent for the paragraph.
| ||||||||||
void |
setTextIndent(double val)
Sets the text indent for the paragraph.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.layout.ContentNode
| |||||||||||
From class
com.pdftron.layout.ContentElement
| |||||||||||
From class
java.lang.Object
|
PDFNetException |
---|
Add another text run to the paragraph
text | The text to add |
---|
PDFNetException |
---|
Retrieves the border thickness for the paragraph.
PDFNetException |
---|
Retrieves the default tab stop value for the paragraph.
PDFNetException |
---|
Retrieves the end indent for the paragraph.
PDFNetException |
---|
Get justification mode for the paragraph
PDFNetException |
---|
Retrieves the next tab stop value based on the given position.
val | The position to find the next tab stop from. |
---|
PDFNetException |
---|
Get the "space after" value for the paragraph style
PDFNetException |
---|
Get the "space before" value for the paragraph style
PDFNetException |
---|
Retrieves the number of spaces per tab for the paragraph.
PDFNetException |
---|
Retrieves the start indent for the paragraph.
PDFNetException |
---|
Retrieves the text indent for the paragraph.
PDFNetException |
---|
Retrieves the display right-to-left (RTL) mode for the paragraph.
PDFNetException |
---|
Sets the border properties for the paragraph.
thickness | The border thickness value to set. |
---|---|
red | The red component of the border color. |
green | The green component of the border color. |
blue | The blue component of the border color. |
PDFNetException |
---|
Sets the default tab stop value for the paragraph.
val | The default tab stop value to set. |
---|
PDFNetException |
---|
Sets the display right-to-left (RTL) mode for the paragraph.
val | The RTL mode value to set. |
---|
PDFNetException |
---|
Sets the end indent for the paragraph.
val | The end indent value to set. |
---|
PDFNetException |
---|
Set justification mode for paragraph style
val | The justification mode to set |
---|
PDFNetException |
---|
Set the "space after" value for paragraph style
val | The "space after" value to set |
---|
PDFNetException |
---|
Set the "space before" value for the paragraph style
val | The "space before" value to set |
---|
PDFNetException |
---|
Sets the number of spaces per tab for the paragraph.
val | The number of spaces per tab to set. |
---|
PDFNetException |
---|
Sets the start indent for the paragraph.
val | The start indent value to set. |
---|
PDFNetException |
---|
Sets the text indent for the paragraph.
val | The text indent value to set. |
---|
PDFNetException |
---|