public class RtfFields extends Object
RtfText.field(RtfPara, RtfPara).| Modifier and Type | Method and Description |
|---|---|
static RtfText |
authorField()
Writes field for the author of this document.
|
static RtfText |
field(RtfPara fieldInstructions)
Inserts a field with the default string "Refresh >F9<".
|
static RtfText |
field(String fieldInstructions)
Inserts a field with the default string "Refresh >F9<".
|
static RtfText |
pageNumberField()
Writes field for current pages.
|
static RtfText |
sectionPagesField()
Writes field for total number of pages in a section.
|
static RtfText |
tableOfContentsField()
Writes field for table of contents.
|
static RtfText |
timeField(String format)
Writes out a time field in a given format.
|
public static RtfText field(RtfPara fieldInstructions)
fieldInstructions - Field instructions.RtfText which represents a field.public static RtfText field(String fieldInstructions)
fieldInstructions - Field instructions.RtfText which represents a field.public static RtfText timeField(String format)
format - Format of the time, e.g. "HH:MM"RtfText which represents a field with time.public static RtfText pageNumberField()
RtfText which represents a field with page number.public static RtfText sectionPagesField()
RtfText which represents a field with totel page numbers.public static RtfText authorField()
RtfText which represents a field with author.Copyright © 2010–2015 Tutego. All rights reserved.