| Modifier and Type | Method and Description |
|---|---|
static RtfText |
RtfFields.authorField()
Writes field for the author of this document.
|
static RtfText |
RtfText.bold(Object text)
Bold a given text.
|
static RtfText |
RtfText.bullet()
Bullet character.
|
static RtfText |
RtfText.color(int colorindex,
Object text)
Colors text.
|
static RtfText |
RtfText.color(int colorindex,
String text)
Colors text.
|
static RtfText |
RtfText.columnBreak()
Required column break.
|
static RtfText |
RtfText.currentDate()
Current date.
|
static RtfText |
RtfText.currentDateAbbreviated()
Current date in abbreviated format.
|
static RtfText |
RtfText.currentDateLong()
Current date in long format.
|
static RtfText |
RtfText.currentPageNumber()
Current page number.
|
static RtfText |
RtfText.currentSectionNumber()
Current section number.
|
static RtfText |
RtfText.currentTime()
Current time.
|
static RtfText |
RtfText.dottedUnderline(String text)
Underlines dotted.
|
static RtfText |
RtfText.doubleQuote(Object text)
Sets a text in double quotation marks.
|
static RtfText |
RtfText.doubleUnderline(Object text)
Underlines double.
|
static RtfText |
RtfFields.field(RtfPara fieldInstructions)
Inserts a field with the default string "Refresh >F9<".
|
static RtfText |
RtfText.field(RtfPara fieldInstructions,
RtfPara recentResult)
Inserts a RTF field.
|
static RtfText |
RtfText.field(RtfPara fieldInstructions,
RtfPara recentResult,
RtfText.FieldModifier fieldModifier)
Inserts a RTF field.
|
static RtfText |
RtfFields.field(String fieldInstructions)
Inserts a field with the default string "Refresh >F9<".
|
static RtfText |
RtfText.font(int fontnum,
Object text)
Sets text with a given font style.
|
static RtfText |
RtfText.fontSize(int fontSize,
Object text)
Sets the font size in half-points.
|
static RtfText |
RtfText.footnote(Object para)
Place a footnote with automatic footnote reference.
|
static RtfText |
RtfText.footnote(RtfPara... paras)
Place a footnote with automatic footnote reference.
|
static RtfText |
RtfText.hyperlink(String url,
RtfPara text)
Adds an hyperlink (aka anchor).
|
static RtfText |
RtfText.italic(Object text)
Italic given text.
|
static RtfText |
RtfText.leftDoubleQuotationMark()
Left double quotation mark.
|
static RtfText |
RtfText.leftQuotationMark()
Left single quotation mark.
|
static RtfText |
RtfText.lineBreak()
Required line break (no paragraph break).
|
static RtfText |
RtfText.longHyphen()
Em-dash (long hyphen).
|
static RtfText |
RtfText.nonBreakingSpace()
Non-breaking space.
|
static RtfText |
RtfText.pageBreak()
Required page break.
|
static RtfText |
RtfFields.pageNumberField()
Writes field for current pages.
|
static RtfText |
RtfText.qoute(Object text)
Sets a text in single quotation marks.
|
static RtfText |
RtfText.revised(Object text)
Set text for revision.
|
static RtfText |
RtfText.rightDoubleQuotationMark()
Right double quotation mark.
|
static RtfText |
RtfText.rightQuotationMark()
Right single quotation mark.
|
static RtfText |
RtfFields.sectionPagesField()
Writes field for total number of pages in a section.
|
static RtfText |
RtfText.shadow(Object text)
Shadows text.
|
static RtfText |
RtfText.shortHyphen()
En-dash (short hyphen).
|
static RtfText |
RtfText.smallCapitals(Object text)
Shows text in small capitals.
|
static RtfText |
RtfText.softColumnBreak()
Non-required column break.
|
static RtfText |
RtfText.softLineBreak()
Non-required line break.
|
static RtfText |
RtfText.softPageBreak()
Non-required page break.
|
static RtfText |
RtfText.strikethru(Object text)
Strikes through text.
|
static RtfText |
RtfText.subscript(Object text)
Subscripts text.
|
static RtfText |
RtfText.superscript(Object text)
Superscripts text.
|
static RtfText |
RtfText.tab()
Tab character.
|
static RtfText |
RtfFields.tableOfContentsField()
Writes field for table of contents.
|
static RtfText |
RtfText.text(Object... texts)
Converts every object in the sequence with
toString to a
String object and wraps it into a RtfText if its not already a
RtfText object. |
static RtfText |
RtfText.text(String text)
Wraps a String in a
RtfText object. |
static RtfText |
RtfText.textJoinWithSpace(boolean joinWithSpace,
Object... texts)
Converts every object in the sequence with
toString to a
String object and wraps it into a RtfText if its not already a
RtfText object and join every text with a space between if wanted. |
static RtfText |
RtfFields.timeField(String format)
Writes out a time field in a given format.
|
RtfText |
RtfPicture.type(RtfPicture.PictureType pictureType)
Sets the type and finish setting a picture.
|
static RtfText |
RtfText.underline(Object text)
Underline text.
|
static RtfText |
RtfText.wordUnderline(Object text)
Underlines word.
|
| Modifier and Type | Method and Description |
|---|---|
static RtfTextPara |
RtfPara.p(RtfText... texts)
A paragraph with a collection of text.
|
static RtfTextPara |
RtfPara.pard(RtfText... texts)
A paragraph with a collection of text.
|
static RtfRow |
RtfPara.row(RtfText... cells)
Writes a row with a sequence of text cells.
|
static RtfPara |
RtfPara.ul(RtfText text)
Text is in a unordered list with a preceding bullet.
|
Copyright © 2010–2015 Tutego. All rights reserved.