Bug 164070 Support widows/orphans properties on text item
Support widows/orphans properties on block text item(label, text, data etc), About the definition of widows/orphans, please refer to CSS spec.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/DesignElementHandleTest.java
SlotHandle sHandle = mHandle.getContent( );
		DesignElementHandle textHandle = designHandle.findElement( "text1" ); 
		assertTrue( textHandle.getElement( ).getContainer( ) == mHandle
				.getElement( ) );
		sHandle.move( textHandle, designHandle, ReportDesign.BODY_SLOT );
		assertTrue( textHandle.getElement( ).getContainer( ) == design );
		textHandle = designHandle.findElement( "text2" ); 
		DesignElementHandle tableHandle = designHandle.findElement( "table1" ); 
		SlotHandle detailSlotOfTable = tableHandle
				.getSlot( TableItem.DETAIL_SLOT );
		RowHandle rowHandle = (RowHandle) detailSlotOfTable.get( 0 );
		SlotHandle cellsHandle = rowHandle.getCells( );
		CellHandle cellHandle = (CellHandle) cellsHandle.get( 0 );
		assertTrue( textHandle.getElement( ).getContainer( ) == cellHandle
				.getElement( ) );
		cellHandle.getContent( ).move( textHandle, designHandle,
				ReportDesign.BODY_SLOT );
		assertTrue( textHandle.getElement( ).getContainer( ) == design );
	}
	/**
	 * Test the method.
	 * {@link org.eclipse.birt.report.model.api.DesignElementHandle#getContainerSlotHandle}
	 * 
	 * @throws Exception
	 *             if errors encountered.
	 */
	public void testGetContainerSlot( ) throws Exception
	{
		DesignElementHandle eHandle = designHandle.findElement( "label1" ); 
		SlotHandle slotHandle = eHandle.getContainerSlotHandle( );