|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.pdf.PdfPageLabels
public class PdfPageLabels
The document’s labeling ranges.
| Field Summary | |
|---|---|
static java.lang.String |
Decimal_Arabic_Numerals_Style
Decimal arabic numerals style to be used for the numeric portion of each page label. |
static java.lang.String |
Lowercase_Letters_Style
Lowercase letters style to be used for the numeric portion of each page label. |
static java.lang.String |
Lowercase_Roman_Numerals_Style
Lowercase roman numerals style to be used for the numeric portion of each page label. |
static java.lang.String |
Uppercase_Letters_Style
Uppercase letters style to be used for the numeric portion of each page label. |
static java.lang.String |
Uppercase_Roman_Numerals_Style
Uppercase roman numerals style to be used for the numeric portion of each page label. |
| Constructor Summary | |
|---|---|
PdfPageLabels()
Construct a new instance. |
|
| Method Summary | |
|---|---|
void |
addRange(int firstPageIndex,
java.lang.String numberStyle,
java.lang.String prefix)
Add labeling range which is a series of consecutive pages using the same numbering system. |
void |
addRange(int firstPageIndex,
java.lang.String numberStyle,
java.lang.String prefix,
int numberOfFirstPage)
Add labeling range which is a series of consecutive pages using the same numbering system. |
java.lang.String |
getPageLabel(int index)
Get page label. |
| Field Detail |
|---|
public static final java.lang.String Decimal_Arabic_Numerals_Style
public static final java.lang.String Uppercase_Roman_Numerals_Style
public static final java.lang.String Lowercase_Roman_Numerals_Style
public static final java.lang.String Uppercase_Letters_Style
public static final java.lang.String Lowercase_Letters_Style
| Constructor Detail |
|---|
public PdfPageLabels()
| Method Detail |
|---|
public void addRange(int firstPageIndex,
java.lang.String numberStyle,
java.lang.String prefix)
firstPageIndex - The index of the first page in the labeling range.numberStyle - The numbering style to be used for the numeric portion of each page label.
As follow:Decimal_Arabic_Numerals/Uppercase_Roman_Numerals/Lowercase_Roman_Numerals/Uppercase_Letters/Lowercase_Lettersprefix - The label prefix for page labels in the labeling range.
public void addRange(int firstPageIndex,
java.lang.String numberStyle,
java.lang.String prefix,
int numberOfFirstPage)
firstPageIndex - The index of the first page in the labeling range.numberStyle - The numbering style to be used for the numeric portion of each page label.
As follow:Decimal_Arabic_Numerals/Uppercase_Roman_Numerals/Lowercase_Roman_Numerals/Uppercase_Letters/Lowercase_Lettersprefix - The label prefix for page labels in the labeling range.numberOfFirstPage - The value of the numeric portion for the first page label in the range.
Subsequent pages are numbered sequentially from this value, which must be greater than or equal to 1. Default value: 1.public java.lang.String getPageLabel(int index)
index - The page index.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||