From 578e942f20ee2710b3e2b2c73b3f65c3e1fa43e0 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 10 Jan 2024 11:34:07 +0100 Subject: [PATCH] Revert "IDEMPIERE-4877 - Fix Footer is overlay on content (#2053)" This reverts commit b8f1d6d2fb7402bc258707cf20a3e5665ad12018. --- .../src/org/compiere/print/layout/LayoutEngine.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/org.adempiere.base/src/org/compiere/print/layout/LayoutEngine.java b/org.adempiere.base/src/org/compiere/print/layout/LayoutEngine.java index 0210166c23..914f19b6ec 100644 --- a/org.adempiere.base/src/org/compiere/print/layout/LayoutEngine.java +++ b/org.adempiere.base/src/org/compiere/print/layout/LayoutEngine.java @@ -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 instanceAttributeList = new ArrayList<>(); List instanceAttributeItems = new ArrayList<>(); @@ -2127,4 +2126,4 @@ public class LayoutEngine implements Pageable, Printable, Doc } return colSuppressRepeats.toArray(new Boolean[0]); } -} // LayoutEngine \ No newline at end of file +} // LayoutEngine