BT [2167530] Report form layout error when null suppressed

https://sourceforge.net/tracker2/?func=detail&aid=2167530&group_id=176962&atid=879332
This commit is contained in:
phib 2008-10-15 05:45:42 +00:00
parent d0381a18c2
commit 26bd5c160c
1 changed files with 8 additions and 0 deletions

View File

@ -1077,6 +1077,14 @@ public class LayoutEngine implements Pageable, Printable, Doc
somethingPrinted = false;
m_lastWidth[m_area] = 0f;
m_lastHeight[m_area] = 0f;
// Carlos Ruiz - globalqss - 20060826
// Fix problem when the element is not printed but X Space was previously added
if (item.isRelativePosition())
{
addX(-item.getXSpace());
addY(-item.getYSpace());
}
// end globalqss
}
// Does it fit?