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
bigDecimalValue = new BigDecimal( 55 );
		styleHandle.setNumberProperty( Style.WIDOWS_PROP, bigDecimalValue );
		assertTrue( 55 == styleHandle.getNumberProperty( Style.WIDOWS_PROP )
				.intValue( ) );
		handle.setProperty( Style.FONT_FAMILY_PROP, "Song" ); 
		assertEquals( "Song", handle.getStringProperty( Style.FONT_FAMILY_PROP ) ); 
		
		handle.setProperty( ReportItem.HEIGHT_PROP, "2.34cm" ); 
		assertEquals(
				"2.34cm", handle.getStringProperty( ReportItem.HEIGHT_PROP ) ); 
		handle.setStringProperty( ReportItem.HEIGHT_PROP, ".25mm" ); 
		assertEquals(
				"0.25mm", handle.getStringProperty( ReportItem.HEIGHT_PROP ) ); 
		handle.setProperty( ReportItem.HEIGHT_PROP, new DimensionValue( 2.34,
				DesignChoiceConstants.UNITS_CM ) );
		dimensionHandle = handle.getHeight( );
		assertEquals( "2.34cm", dimensionHandle.getStringValue( ) ); 
		handle.clearProperty( ReportItem.HEIGHT_PROP );
		assertNull( handle.getProperty( ReportItem.HEIGHT_PROP ) );
		
		styleHandle.clearProperty( Style.FONT_FAMILY_PROP );
		assertEquals( DesignChoiceConstants.FONT_FAMILY_SERIF, styleHandle
				.getProperty( Style.FONT_FAMILY_PROP ) );
		
		TableHandle table = (TableHandle) designHandle.findElement( "My table" ); 
		
		table.setProperty( IReportItemModel.DATA_SET_PROP, "NoExistedDataSet" ); 
		assertEquals( "NoExistedDataSet", table 
				.getProperty( IReportItemModel.DATA_SET_PROP ) );