Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
1.8.12, 1.8.13, 2.0.1, 2.0.2, 3.0.0 PDFBox
-
Windows Computer
Description
For the style 'a' the Method getLabelsByPageIndices returns uppercase due to the method LabelGenerator.makeLetterLabel always returns uppercase. Then the method LabelGenerator.getNumber shoule be changed from:
} else if (PDPageLabelRange.STYLE_LETTERS_LOWER.equals(style)) { return makeLetterLabel(pageIndex); } else if (PDPageLabelRange.STYLE_LETTERS_UPPER.equals(style)) { return makeLetterLabel(pageIndex).toUpperCase(); }
to:
} else if (PDPageLabelRange.STYLE_LETTERS_LOWER.equals(style)) { return makeLetterLabel(pageIndex).toLowerCase(); } else if (PDPageLabelRange.STYLE_LETTERS_UPPER.equals(style)) { return makeLetterLabel(pageIndex); }