We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1ff4f1 commit 0f27453Copy full SHA for 0f27453
document-readers/pdf-reader/src/main/java/org/springframework/ai/reader/pdf/config/ParagraphManager.java
@@ -140,7 +140,7 @@ private int getPageNumber(PDOutlineItem current) throws IOException {
140
return -1;
141
}
142
PDPage currentPage = current.findDestinationPage(this.document);
143
- if(currentPage != null){
+ if (currentPage != null) {
144
PDPageTree pages = this.document.getDocumentCatalog().getPages();
145
for (int i = 0; i < pages.getCount(); i++) {
146
var page = pages.get(i);
0 commit comments