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
{
			assertEquals( masterPageHandle.getElement( ), e.getElement( ) );
			assertEquals( e.getSlot( ), FreeForm.REPORT_ITEMS_SLOT );
			assertEquals( e.getErrorCode( ),
					ContentException.DESIGN_EXCEPTION_SLOT_IS_FULL );
		}
		
		LabelHandle label1 = factory.newLabel( null );
		try
		{
			designHandle.getStyles( ).add( label1 );
			fail( );
		}
		catch ( ContentException e )
		{
			assertEquals( e.getElement( ), design );
			assertEquals( e.getSlot( ), IReportDesignModel.STYLE_SLOT );
			assertEquals( e.getErrorCode( ),
					ContentException.DESIGN_EXCEPTION_WRONG_TYPE );
		}
		try
		{
			SlotHandle sh = new SlotHandle( designHandle, 50 );
			sh.add( label1 );
			fail( );
		}
		catch ( ContentException e )
		{
			assertEquals( e.getElement( ), design );
			assertEquals( e.getSlot( ), 50 );