Revert "IDEMPIERE-4877 - Fix Footer is overlay on content (#2053)"

This reverts commit b8f1d6d2fb.
This commit is contained in:
Carlos Ruiz 2024-01-10 11:34:07 +01:00
parent da16af2a46
commit 578e942f20
1 changed files with 2 additions and 3 deletions

View File

@ -1617,11 +1617,10 @@ public class LayoutEngine implements Pageable, Printable, Doc
firstPage.width -= xOffset;
int yOffset = (int)m_position[AREA_CONTENT].y - m_content.y;
firstPage.y += yOffset;
firstPage.height -= yOffset+m_content.y;
firstPage.height -= yOffset;
Rectangle nextPages = new Rectangle(m_content);
nextPages.x += xOffset;
nextPages.width -= xOffset;
nextPages.height -= yOffset;
// Column count
List<Integer> instanceAttributeList = new ArrayList<>();
List<MPrintFormatItem> instanceAttributeItems = new ArrayList<>();
@ -2127,4 +2126,4 @@ public class LayoutEngine implements Pageable, Printable, Doc
}
return colSuppressRepeats.toArray(new Boolean[0]);
}
} // LayoutEngine
} // LayoutEngine