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
fail( );
		}
		catch ( StyleException e )
		{
			assertEquals( StyleException.DESIGN_EXCEPTION_NOT_FOUND, e
					.getErrorCode( ) );
		}
		handle.setName( "newLabel" ); 
		assertEquals( "newLabel", handle.getName( ) ); 
		
		IChoice[] choices = styleHandle.getChoices( Style.FONT_FAMILY_PROP );
		assertNotNull( choices );
		assertEquals( 5, choices.length );
		
		choices = styleHandle.getChoices( Style.MASTER_PAGE_PROP );
		assertNull( choices );
		
		Iterator iterator = styleHandle.clientsIterator( );
		int count = 0;
		for ( ; iterator.hasNext( ); iterator.next( ) )
			count++;
		assertEquals( 2, count );
		Iterator iteratorDerived = styleHandle.derivedIterator( );
		count = 0;
		for ( ; iteratorDerived.hasNext( ); iteratorDerived.next( ) )
			count++;
		assertEquals( 0, count );
	}
	/**
	 * Tests the extends of an element. Following methods have been tested: