public final class PdfPageLabel extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getLabelPrefix() |
int |
getLogicalPageNumber() |
PdfLabelNumberingStyle |
getNumberingStyle() |
int |
hashCode() |
static PdfPageLabel |
newInstanceWithLabel(String label,
PdfLabelNumberingStyle numberingStyle,
int logicalPageNumber)
Creates a label with given label and given style for the given logical page number.
|
static PdfPageLabel |
newInstanceWithoutLabel(PdfLabelNumberingStyle numberingStyle,
int logicalPageNumber)
Creates an empty label with the given style for the given logical page number.
|
String |
toString() |
public String getLabelPrefix()
public PdfLabelNumberingStyle getNumberingStyle()
public int getLogicalPageNumber()
public static PdfPageLabel newInstanceWithoutLabel(PdfLabelNumberingStyle numberingStyle, int logicalPageNumber)
numberingStyle - logicalPageNumber - InvalidParameterException - if the input logical page number is not positive. if the input numbering style is null.public static PdfPageLabel newInstanceWithLabel(String label, PdfLabelNumberingStyle numberingStyle, int logicalPageNumber)
label - numberingStyle - logicalPageNumber - InvalidParameterException - if the input logical page number is not positive. if the input label or numbering style are null.Copyright © 2015. All Rights Reserved.