IDEMPIERE-4877 - Fix Footer is overlay on content (#2053)
* IDEMPIERE-4877 - Fix Footer is overlay on content * IDEMPIERE-4877 - Fix Footer is overlay on content Part 2
This commit is contained in:
parent
de1a0d9d3b
commit
b8f1d6d2fb
|
@ -1617,10 +1617,11 @@ public class LayoutEngine implements Pageable, Printable, Doc
|
||||||
firstPage.width -= xOffset;
|
firstPage.width -= xOffset;
|
||||||
int yOffset = (int)m_position[AREA_CONTENT].y - m_content.y;
|
int yOffset = (int)m_position[AREA_CONTENT].y - m_content.y;
|
||||||
firstPage.y += yOffset;
|
firstPage.y += yOffset;
|
||||||
firstPage.height -= yOffset;
|
firstPage.height -= yOffset+m_content.y;
|
||||||
Rectangle nextPages = new Rectangle(m_content);
|
Rectangle nextPages = new Rectangle(m_content);
|
||||||
nextPages.x += xOffset;
|
nextPages.x += xOffset;
|
||||||
nextPages.width -= xOffset;
|
nextPages.width -= xOffset;
|
||||||
|
nextPages.height -= yOffset;
|
||||||
// Column count
|
// Column count
|
||||||
List<Integer> instanceAttributeList = new ArrayList<>();
|
List<Integer> instanceAttributeList = new ArrayList<>();
|
||||||
List<MPrintFormatItem> instanceAttributeItems = new ArrayList<>();
|
List<MPrintFormatItem> instanceAttributeItems = new ArrayList<>();
|
||||||
|
@ -2126,4 +2127,4 @@ public class LayoutEngine implements Pageable, Printable, Doc
|
||||||
}
|
}
|
||||||
return colSuppressRepeats.toArray(new Boolean[0]);
|
return colSuppressRepeats.toArray(new Boolean[0]);
|
||||||
}
|
}
|
||||||
} // LayoutEngine
|
} // LayoutEngine
|
Loading…
Reference in New Issue