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
ReportDesignConstants.LIST_ITEM ) );
		
		
		form.addElement( factory.newTableItem( null ),
				FreeForm.REPORT_ITEMS_SLOT );
		assertFalse( cell.canContain( Cell.CONTENT_SLOT, form ) );
		assertTrue( cell.canContain( Cell.CONTENT_SLOT,
				ReportDesignConstants.FREE_FORM_ITEM ) );
		
		
		form = factory.newFreeForm( null );
		cell.addElement( form, Cell.CONTENT_SLOT );
		assertFalse( form.canContain( FreeForm.REPORT_ITEMS_SLOT, factory
				.newTableItem( null ) ) );
		assertFalse( form.canContain( FreeForm.REPORT_ITEMS_SLOT,
				ReportDesignConstants.TABLE_ITEM ) );
		
		row = (RowHandle) ( table.getFooter( ).get( 0 ) );
		cell = (CellHandle) ( row.getSlot( TableRow.CONTENT_SLOT ).get( 0 ) );
		assertTrue( cell.canContain( Cell.CONTENT_SLOT,
				ReportDesignConstants.TABLE_ITEM ) );
		
		
		form = factory.newFreeForm( null );
		form.addElement( factory.newTableItem( null ),
				FreeForm.REPORT_ITEMS_SLOT );
		assertTrue( cell.canContain( Cell.CONTENT_SLOT, form ) );
		assertTrue( cell.canContain( Cell.CONTENT_SLOT,
				ReportDesignConstants.FREE_FORM_ITEM ) );