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
privateStyleHandle = (PrivateStyleHandle) handle.getPrivateStyle( );
		assertNotNull( privateStyleHandle );
		assertEquals( "bodyLabel3", privateStyleHandle.getName( ) ); 
		
		styleHandle = designHandle.findStyle( "Style1" ); 		
		handle.setStyleName( styleHandle.getName( ) );
		assertNotNull( handle.getStyle( ) );
		
		handle.setStyle( null );
		assertNull( handle.getStyle( ) );
		
		styleHandle = designHandle.findStyle( "My Style" ); 	
		handle.setStyle( styleHandle );
		assertNotNull( handle.getStyle( ) );
		assertEquals( "My Style", handle.getStyle( ).getName( ) ); 
		
		handle.setStyleElement( null );
		assertNull( handle.getStyle( ) );
		
		styleHandle = designHandle.findStyle( "Style1" ); 	
		handle.setStyle( styleHandle );
		assertNotNull( handle.getStyle( ) );
		assertEquals( "Style1", handle.getStyle( ).getName( ) ); 	
		
		handle.setStyleElement( null );
		assertNull( handle.getStyle( ) );
		
		try
		{
			handle.setStyleElement( new Style( "unknownStyle" ) );