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
labelHandle = (LabelHandle) designHandle.findElement( "detailLabel" ); 
		assertEquals( "Address", labelHandle.getText( ) ); 
		
		labelHandle = (LabelHandle) designHandle.findElement( "footerLabel" ); 
		assertEquals( "Address4", labelHandle.getText( ) ); 
		
		labelHandle = (LabelHandle) designHandle
				.findElement( "scratchpadLabel" ); 
		assertEquals( "scratch", labelHandle.getText( ) ); 
	}
	/**
	 * This test sets properties, writes the design file and compares it with
	 * golden file.
	 * 
	 * @throws Exception
	 *             if opening or saving design file failed.
	 */
	public void testWriter( ) throws Exception
	{
		LabelHandle labelHandle = getLabel( );
		
		labelHandle.setProperty( Label.X_PROP, "7mm" ); 
		labelHandle.setProperty( Label.HEIGHT_PROP, "0.5mm" ); 
		labelHandle.setProperty( Label.STYLE_PROP, null );
		OdaDataSet dataSet = (OdaDataSet) design.findDataSet( "secondDataSet" ); 
		assertNotNull( dataSet );
		
		labelHandle.setProperty( Label.DATA_SET_PROP, null );
		labelHandle.setProperty( Label.NAME_PROP, "labelTestWriter" );