Bug 315181 [Automation][Regression]Grid border was messed in PDF
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/nLayout/area/impl/TableLayout.java
AbstractArea child = (AbstractArea) iter.next( );
						child.setAllocatedY( y );
						y += child.getAllocatedHeight( );
					}
				}
				else if ( IStyle.MIDDLE_VALUE.equals( verticalAlign ) )
				{
					iter = cell.getChildren( );
					int y = cell.getOffsetY( ) + offset / 2;
					while ( iter.hasNext( ) )
					{
						AbstractArea child = (AbstractArea) iter.next( );
						child.setAllocatedY( y );
						y += child.getAllocatedHeight( );
					}
				}
			}
		}
		CSSValue align = content.getComputedStyle( ).getProperty(
				IStyle.STYLE_TEXT_ALIGN );
		
		
		boolean isRightAligned = BidiAlignmentResolver.isRightAligned( content,
				align, false );
		
		if ( isRightAligned || IStyle.CENTER_VALUE.equals( align ) )
		{
			Iterator iter = cell.getChildren( );
			while ( iter.hasNext( ) )
			{