RSS-220: Fixed textblocks are not part of section

This commit is contained in:
deiflaender 2022-11-23 16:15:29 +01:00
parent 610b549908
commit 61a0c14781

View File

@ -84,7 +84,8 @@ public class BodyTextFrameService {
}
float approxLineCount = PositionUtils.getApproxLineCount(textBlock);
if (approxLineCount < 2.9f) {
System.out.println("PageNr: " + page.getPageNumber() + " Height " + page.getPageHeight() + " Width: " +page.getPageWidth() + " Rotation: " +page.getRotation());
if (approxLineCount < 2.9f && textBlock.getMaxY() >= page.getPageHeight() - (page.getPageHeight() / 10)) {
continue;
}