[
https://issues.apache.org/jira/browse/PDFBOX-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15293152#comment-15293152
]
ASF subversion and git services commented on PDFBOX-3355:
---------------------------------------------------------
Commit 1744694 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1744694 ]
PDFBOX-3355: makeLetterLabel should return lower case like makeRomanLabel to
fix buy reported by Carlos Cabral
> PDPageLabels.getLabelsByPageIndices() returns Uppercase letters for style a
> ---------------------------------------------------------------------------
>
> Key: PDFBOX-3355
> URL: https://issues.apache.org/jira/browse/PDFBOX-3355
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 2.0.1
> Environment: Windows Computer
> Reporter: Carlos Cabral
> Priority: Trivial
> Labels: easyfix
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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);
> }
> ##################################################
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]