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/parser/LabelItemParserTest.java
assertEquals( "1mm", labelHandle.getStringProperty( Label.WIDTH_PROP ) );  
		assertEquals(
				"Today's Date", labelHandle.getStringProperty( Label.TEXT_PROP ) ); 
		OdaDataSet dataSet = (OdaDataSet) design.findDataSet( "firstDataSet" ); 
		assertNotNull( dataSet );
		assertEquals( dataSet.getName( ), labelHandle
				.getProperty( Label.DATA_SET_PROP ) );
		
		assertEquals( "red", labelHandle.getStringProperty( Style.COLOR_PROP ) ); 
		assertEquals(
				"labelFace", labelHandle.getStringProperty( Style.FONT_FAMILY_PROP ) ); 
		assertEquals( "4mm", labelHandle.getStringProperty( Style.FONT_SIZE_PROP ) ); 
		assertEquals(
				"bold", labelHandle.getStringProperty( Style.FONT_WEIGHT_PROP ) ); 
		
		assertEquals(
				"none", labelHandle.getStringProperty( Style.TEXT_UNDERLINE_PROP ) ); 
		
		assertEquals( null, labelHandle.getStringProperty( Style.WIDOWS_PROP ) ); 
		ActionHandle action = labelHandle.getActionHandle( );
		assertNotNull( action );
		assertEquals( DesignChoiceConstants.ACTION_LINK_TYPE_HYPERLINK, action
				.getLinkType( ) ); 
		assertEquals( "http://localhost:8080/", action.getURI() ); 
		
		labelHandle = (LabelHandle) designHandle.findElement( "bodyLabel" ); 
		assertEquals( "<hello></hello><test><test1></test1></test>", 
				labelHandle.getCustomXml( ) );
		assertEquals(
				"yellow", labelHandle.getStringProperty( Style.COLOR_PROP ) );