Package | Description |
---|---|
org.eclipse.nebula.paperclips.core.page | |
org.eclipse.nebula.paperclips.core.text | |
org.eclipse.nebula.paperclips.core.text.internal |
Modifier and Type | Field and Description |
---|---|
static TextStyle |
PageNumberPrint.DEFAULT_TEXT_STYLE
The default text style.
|
(package private) TextStyle |
PageNumberIterator.textStyle |
(package private) TextStyle |
PageNumberPrint.textStyle |
Modifier and Type | Method and Description |
---|---|
TextStyle |
PageNumberPrint.getTextStyle()
Returns the text style that will be used to render the page number
|
Modifier and Type | Method and Description |
---|---|
void |
PageNumberPrint.setTextStyle(TextStyle textStyle)
Sets the text style that will be used to render the page number
|
Constructor and Description |
---|
PageNumberPrint(PageNumber pageNumber,
TextStyle textStyle)
Constructs a PageNumberPrint for the given page number and text style.
|
Modifier and Type | Field and Description |
---|---|
(package private) TextStyle |
TextIterator.style |
(package private) TextStyle |
TextPrint.style |
Modifier and Type | Method and Description |
---|---|
TextStyle |
TextStyle.align(int alignment)
Returns a copy of this TextStyle, with the alignment changed to the
argument.
|
TextStyle |
TextStyle.background(int rgb)
Returns a copy of this TextStyle, with the background changed to the
color described by the argument.
|
TextStyle |
TextStyle.background(int red,
int green,
int blue)
Returns a copy of this TextStyle, with the background changed to the
color described by the arguments.
|
TextStyle |
TextStyle.background(org.eclipse.swt.graphics.RGB background)
Returns a copy of this TextStyle, with the background changed to the
argument.
|
TextStyle |
TextStyle.font(org.eclipse.swt.graphics.FontData fontData)
Returns a copy of this TextStyle, with the font changed to the argument.
|
TextStyle |
TextStyle.font(java.lang.String name,
int height,
int style)
Returns a copy of this TextStyle, with the font changed to the font
described by the arguments.
|
TextStyle |
TextStyle.fontHeight(int height)
Returns a copy of this TextStyle, with the font height changed to the
argument.
|
TextStyle |
TextStyle.fontName(java.lang.String name)
Returns a copy of this TextStyle, with the font name changed to the
argument.
|
TextStyle |
TextStyle.fontStyle(int style)
Returns a copy of this TextStyle, with the font style changed to the
argument.
|
TextStyle |
TextStyle.foreground(int rgb)
Returns a copy of this TextStyle, with the foreground changed to the
color described by the argument.
|
TextStyle |
TextStyle.foreground(int red,
int green,
int blue)
Returns a copy of this TextStyle, with the foreground changed to the
color described by the arguments.
|
TextStyle |
TextStyle.foreground(org.eclipse.swt.graphics.RGB foreground)
Returns a copy of this TextStyle, with the foreground changed to the
argument.
|
TextStyle |
TextPrint.getStyle()
Returns the text style.
|
TextStyle |
TextStyle.strikeout()
Returns a copy of this TextStyle, with the strikeout flag set to true.
|
TextStyle |
TextStyle.strikeout(boolean strikeout)
Returns a copy of this TextStyle, with the strikeout flag set to the
argument.
|
TextStyle |
TextStyle.underline()
Returns a copy of this TextStyle, with the underline flag set to true.
|
TextStyle |
TextStyle.underline(boolean underline)
Returns a copy of this TextStyle, with the underline flag set to the
argument.
|
Modifier and Type | Method and Description |
---|---|
StyledTextPrint |
StyledTextPrint.append(java.lang.String text,
TextStyle style)
Appends the given text to the end of the document, using the given style.
|
void |
TextPrint.setStyle(TextStyle style)
Sets the text style to the argument.
|
StyledTextPrint |
StyledTextPrint.setStyle(TextStyle style)
Sets the text style that will be applied to text added through the
StyledTextPrint.append(String) |
Constructor and Description |
---|
TextPrint(java.lang.String text,
TextStyle style)
Constructs a TextPrint with the given text and style.
|
Constructor and Description |
---|
TextPiece(org.eclipse.swt.graphics.Device device,
TextStyle style,
java.lang.String[] text,
org.eclipse.swt.graphics.Point size,
int ascent) |