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
factoryHandle = styleHandle
				.getFactoryPropertyHandle( Label.BOOKMARK_PROP );
		assertNull( factoryHandle );
		
		double floatValue = ( (DimensionValue) handle
				.getProperty( ReportItem.WIDTH_PROP ) ).getMeasure( );
		assertTrue( 2 == floatValue );
		floatValue = ( (DimensionValue) handle
				.getProperty( ReportItem.HEIGHT_PROP ) ).getMeasure( );
		assertTrue( .25 == floatValue );
		
		FontHandle fontHandle = handle.getPrivateStyle( ).getFontFamilyHandle( );
		assertNotNull( fontHandle );
		assertEquals( "Time New Roman, Arial", fontHandle.getValue( ) ); 
		fontHandle = styleHandle.getFontFamilyHandle( );
		assertNotNull( fontHandle );
		assertEquals( "Time New Roman, Arial", fontHandle.getValue( ) ); 
		
		int intValue = styleHandle.getIntProperty( Style.WIDOWS_PROP );
		assertTrue( 2 == intValue );
		intValue = handle.getIntProperty( Style.WIDOWS_PROP );
		assertTrue( 0 == intValue );
		
		BigDecimal bigDecimalValue = styleHandle
				.getNumberProperty( Style.WIDOWS_PROP );
		assertTrue( 2 == bigDecimalValue.intValue( ) );
		
		bigDecimalValue = handle
				.getNumberProperty( SimpleDataSet.DATA_SOURCE_PROP );
		assertNull( bigDecimalValue );