public class RtfDocfmt extends Object
| Modifier and Type | Method and Description |
|---|---|
static RtfDocfmt |
bottomMargin(double margin,
RtfUnit unit)
Bottom margin.
|
static RtfDocfmt |
defaultTab(double width,
RtfUnit unit)
Default tab width.
|
static RtfDocfmt |
endnotesOnly()
Endnotes only.
|
static RtfDocfmt |
facingPages()
Facing pages (activates odd/even headers and gutters).
|
static RtfDocfmt |
footnoteNumberingArabic()
Footnote numbering - Arabic numbering (1, 2, 3, _).
|
static RtfDocfmt |
footnoteNumberingUpperAlphabetic()
Footnote numbering - Alphabetic uppercase (A, B, C, _).
|
static RtfDocfmt |
footnoteNumberingUpperRoman()
Footnote numbering - Roman lowercase (i, ii, iii, _).
|
static RtfDocfmt |
footnotesEndnotes()
Footnotes and endnotes both.
|
static RtfDocfmt |
footnotesOnly()
Footnotes only or nothing at all (default).
|
static RtfDocfmt |
hyphenationHotZone(double width,
RtfUnit unit)
Hyphenation hot zone.
|
static RtfDocfmt |
landscape()
Landscape format.
|
static RtfDocfmt |
leftMargin(double margin,
RtfUnit unit)
Left margin.
|
static RtfDocfmt |
pageLayoutView()
Sets the view mode of the document to page layout.
|
static RtfDocfmt |
paper(double width,
double height,
RtfUnit unit)
Paper width and height.
|
static RtfDocfmt |
paperHeight(double height,
RtfUnit unit)
Paper height.
|
static RtfDocfmt |
paperWidth(double width,
RtfUnit unit)
Paper width.
|
static RtfDocfmt |
revisionMarking()
Turns on revision marking.
|
static RtfDocfmt |
revisionProtected()
This document is protected for revisions.
|
static RtfDocfmt |
rightMargin(double margin,
RtfUnit unit)
Right margin.
|
static RtfDocfmt |
switchMargin()
Switches margin definitions on left and right pages.
|
static RtfDocfmt |
topMargin(double margin,
RtfUnit unit)
Top margin.
|
static RtfDocfmt |
widowOrphanControl()
Enable widow and orphan control.
|
public static RtfDocfmt defaultTab(double width, RtfUnit unit)
width - Width of the tab.unit - Unit of the tab.RtfDocfmt object.public static RtfDocfmt hyphenationHotZone(double width, RtfUnit unit)
width - Amount of space at the right margin in which words
are hyphenated.unit - Unit of the tab.RtfDocfmt object.public static RtfDocfmt pageLayoutView()
RtfDocfmt object.public static RtfDocfmt footnotesOnly()
RtfDocfmt object.public static RtfDocfmt endnotesOnly()
RtfDocfmt object.public static RtfDocfmt footnotesEndnotes()
RtfDocfmt object.public static RtfDocfmt footnoteNumberingArabic()
RtfDocfmt object.public static RtfDocfmt footnoteNumberingUpperAlphabetic()
RtfDocfmt object.public static RtfDocfmt footnoteNumberingUpperRoman()
RtfDocfmt object.public static RtfDocfmt paperWidth(double width, RtfUnit unit)
width - Width of the page.unit - Measurement unit.RtfDocfmt object.public static RtfDocfmt paperHeight(double height, RtfUnit unit)
height - Height of the page.unit - Measurement unit.RtfDocfmt object.public static RtfDocfmt paper(double width, double height, RtfUnit unit)
width - Height of the page.height - Height of the page.unit - Measurement unit.RtfDocfmt object.public static RtfDocfmt leftMargin(double margin, RtfUnit unit)
margin - Left margin.unit - Measurement unit.RtfDocfmt object.public static RtfDocfmt rightMargin(double margin, RtfUnit unit)
margin - Right margin.unit - Measurement unit.RtfDocfmt object.public static RtfDocfmt topMargin(double margin, RtfUnit unit)
margin - Top margin.unit - Measurement unit.RtfDocfmt object.public static RtfDocfmt bottomMargin(double margin, RtfUnit unit)
margin - Bottom margin.unit - Measurement unit.RtfDocfmt object.public static RtfDocfmt facingPages()
RtfDocfmt object.public static RtfDocfmt switchMargin()
RtfDocfmt object.public static RtfDocfmt landscape()
RtfDocfmt object.public static RtfDocfmt widowOrphanControl()
RtfDocfmt object.public static RtfDocfmt revisionProtected()
RtfDocfmt object.public static RtfDocfmt revisionMarking()
RtfDocfmt object.Copyright © 2010–2015 Tutego. All rights reserved.