Skip to content

Commit

Permalink
Adding a toString() method to an inner class of PdfPageLabels
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Lowagie authored and amedee committed Dec 8, 2015
1 parent 466b7eb commit 7f9115d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions itext/src/main/java/com/itextpdf/text/pdf/PdfPageLabels.java
Expand Up @@ -298,5 +298,10 @@ public PdfPageLabelFormat(int physicalPage, int numberStyle, String prefix, int
this.prefix = prefix;
this.logicalPage = logicalPage;
}

@Override
public String toString() {
return String.format("Physical page %s: style: %s; prefix '%s'; logical page: %s", physicalPage, numberStyle, prefix, logicalPage);
}
}
}

0 comments on commit 7f9115d

Please sign in to comment.