IDEMPIERE-1958 Incorrect table start position in Table Element report layout code

This commit is contained in:
Elaine Tan 2014-05-19 17:58:47 +08:00
parent b8c2ed4b2b
commit 269a20ae82
1 changed files with 2 additions and 2 deletions

View File

@ -1230,8 +1230,8 @@ public class TableElement extends PrintElement
int startX = (int)pageStart.getX();
int startY = (int)pageStart.getY();
// Table Start
startX += pageXindex == 0 ? m_firstPage.x : m_nextPages.x;
startY += pageYindex == 0 ? m_firstPage.y : m_nextPages.y;
startX += pageIndex == 0 ? m_firstPage.x : m_nextPages.x;
startY += pageIndex == 0 ? m_firstPage.y : m_nextPages.y;
if (DEBUG_PRINT)
if (log.isLoggable(Level.FINEST)) log.finest("PageStart=" + pageStart + ", StartTable x=" + startX + ", y=" + startY);