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
String fontNames = (String) handle.getProperty( Style.FONT_FAMILY_PROP );
		assertEquals( "Time New Roman, Arial", fontNames ); 
		fontNames = handle.getStringProperty( Style.FONT_FAMILY_PROP );
		assertEquals( "Time New Roman, Arial", fontNames ); 
		PropertyHandle propertyHandle = handle
				.getPropertyHandle( Style.FONT_FAMILY_PROP );
		assertEquals( "Time New Roman, Arial", propertyHandle.getStringValue( ) ); 
		
		String height = handle.getProperty( ReportItem.HEIGHT_PROP ).toString( );
		assertEquals( "0.25mm", height ); 
		height = handle.getStringProperty( ReportItem.HEIGHT_PROP ).toString( );
		assertEquals( "0.25mm", height ); 
		
		handle.setProperty( ReportItem.HEIGHT_PROP, "1.715in" ); 
		assertTrue( 1.715 == handle.getPropertyHandle( ReportItem.HEIGHT_PROP )
				.getFloatValue( ) );
		styleHandle.setIntProperty( Style.WIDOWS_PROP, 5 );
		assertTrue( 5 == styleHandle.getIntProperty( Style.WIDOWS_PROP ) );
		try
		{
			styleHandle.setIntProperty( Label.CUSTOM_XML_PROP, 15 );
			fail( );
		}
		catch ( PropertyValueException e )
		{
			assertEquals(
					PropertyValueException.DESIGN_EXCEPTION_INVALID_VALUE, e
							.getErrorCode( ) );
		}