List of usage examples for com.lowagie.text.pdf PdfPageLabels UPPERCASE_ROMAN_NUMERALS
int UPPERCASE_ROMAN_NUMERALS
To view the source code for com.lowagie.text.pdf PdfPageLabels UPPERCASE_ROMAN_NUMERALS.
Click Source Link
From source file:org.pdfsam.console.business.pdf.handlers.PageLabelsCmdExecutor.java
License:Open Source License
/** * mapping from the console style variable to the iText variable * /*from w w w .j a v a 2 s .co m*/ * @param style * @return iText style variable */ private int getPageLabelStyle(String style) { int retVal = PdfPageLabels.DECIMAL_ARABIC_NUMERALS; if (PageLabel.ARABIC.equals(style)) { retVal = PdfPageLabels.DECIMAL_ARABIC_NUMERALS; } else if (PageLabel.EMPTY.equals(style)) { retVal = PdfPageLabels.EMPTY; } else if (PageLabel.LLETTER.equals(style)) { retVal = PdfPageLabels.LOWERCASE_LETTERS; } else if (PageLabel.LROMAN.equals(style)) { retVal = PdfPageLabels.LOWERCASE_ROMAN_NUMERALS; } else if (PageLabel.ULETTER.equals(style)) { retVal = PdfPageLabels.UPPERCASE_LETTERS; } else if (PageLabel.UROMAN.equals(style)) { retVal = PdfPageLabels.UPPERCASE_ROMAN_NUMERALS; } return retVal; }