#include <ContentTree.h>
A Paragraph is a content node that contains a list of TextRun objects.
Definition at line 371 of file ContentTree.h.
Enumerator |
---|
e_text_justification_invalid |
Text justification is invalid
|
e_text_justify_left |
Text is left justified
|
e_text_justify_right |
Text is right justified
|
e_text_justify_center |
Text is justified centered
|
Definition at line 381 of file ContentTree.h.
pdftron::Layout::Paragraph::~Paragraph |
( |
| ) |
|
void pdftron::Layout::Paragraph::AddTabStop |
( |
double |
val | ) |
|
Adds a tab stop to the paragraph style.
- Parameters
-
val | The position of the tab stop to add. |
Add another text run to the paragraph
- Parameters
-
- Returns
- The newly created TextRun object
void pdftron::Layout::Paragraph::Destroy |
( |
| ) |
|
double pdftron::Layout::Paragraph::GetBorderThickness |
( |
| ) |
|
Gets the border thickness for the paragraph style.
- Returns
- The border thickness for the paragraph style.
double pdftron::Layout::Paragraph::GetDefaultTabStop |
( |
| ) |
|
Gets the default tab stop position for the paragraph style.
- Returns
- The default tab stop position for the paragraph style.
double pdftron::Layout::Paragraph::GetEndIndent |
( |
| ) |
|
Gets the end indent for the paragraph style.
- Returns
- The end indent value for the paragraph style.
Get justification mode for the paragraph
- Returns
- Justification mode for paragraph style
double pdftron::Layout::Paragraph::GetNextTabStop |
( |
double |
val | ) |
|
Gets the next tab stop position for the paragraph style, given a starting position.
- Parameters
-
val | The starting position. |
- Returns
- The position of the next tab stop.
double pdftron::Layout::Paragraph::GetSpaceAfter |
( |
| ) |
|
Get the "space after" value for the paragraph style
- Returns
- "space after" value for paragraph style
double pdftron::Layout::Paragraph::GetSpaceBefore |
( |
| ) |
|
Get the "space before" value for the paragraph style
- Returns
- "space before" value for paragraph style
UInt32 pdftron::Layout::Paragraph::GetSpacesPerTab |
( |
| ) |
|
Gets the number of spaces per tab for the paragraph style.
- Returns
- The number of spaces per tab for the paragraph style.
double pdftron::Layout::Paragraph::GetStartIndent |
( |
| ) |
|
Gets the start indent for the paragraph style.
- Returns
- The start indent value for the paragraph style.
double pdftron::Layout::Paragraph::GetTextIndent |
( |
| ) |
|
Gets the text indent for the paragraph style.
- Returns
- The text indent value for the paragraph style.
bool pdftron::Layout::Paragraph::IsDisplayRtl |
( |
| ) |
|
Checks if the paragraph style has the right-to-left (RTL) property set.
- Returns
- True if the display is RTL, false otherwise.
void pdftron::Layout::Paragraph::SetBorder |
( |
double |
thickness, |
|
|
UInt8 |
red, |
|
|
UInt8 |
green, |
|
|
UInt8 |
blue |
|
) |
| |
Sets the border for the paragraph style.
- Parameters
-
thickness | The border thickness. |
red | The red component of the border color. |
green | The green component of the border color. |
blue | The blue component of the border color. |
void pdftron::Layout::Paragraph::SetDefaultTabStop |
( |
double |
val | ) |
|
Sets the default tab stop position for the paragraph style.
- Parameters
-
val | The default tab stop position to set. |
void pdftron::Layout::Paragraph::SetDisplayRtl |
( |
bool |
val | ) |
|
Sets the right-to-left (RTL) property for the paragraph style.
- Parameters
-
val | The value to set. True if RTL, false if not. |
void pdftron::Layout::Paragraph::SetEndIndent |
( |
double |
val | ) |
|
Sets the end indent for the paragraph style.
- Parameters
-
val | The end indent value to set. |
Set justification mode for paragraph style
- Parameters
-
val | The justification mode to set |
void pdftron::Layout::Paragraph::SetSpaceAfter |
( |
double |
val | ) |
|
Set the "space after" value for paragraph style
- Parameters
-
val | The "space after" value to set |
void pdftron::Layout::Paragraph::SetSpaceBefore |
( |
double |
val | ) |
|
Set the "space before" value for the paragraph style
- Parameters
-
val | The "space before" value to set |
void pdftron::Layout::Paragraph::SetSpacesPerTab |
( |
UInt32 |
val | ) |
|
Sets the number of spaces per tab for the paragraph style.
- Parameters
-
val | The number of spaces per tab to set. |
void pdftron::Layout::Paragraph::SetStartIndent |
( |
double |
val | ) |
|
Sets the start indent for the paragraph style.
- Parameters
-
val | The start indent value to set. |
void pdftron::Layout::Paragraph::SetTextIndent |
( |
double |
val | ) |
|
Sets the text indent for the paragraph style.
- Parameters
-
val | The text indent value to set. |
The documentation for this class was generated from the following file: