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
* <li>
	 * {@link org.eclipse.birt.report.model.api.DesignElementHandle#addElement(DesignElementHandle, int, int)}
	 * </li>
	 * </ul>
	 * Add a new Label to the end of the contents slot of a GraphicMasterPage.
	 * The label should be added and it should in the end position.
	 * 
	 * @throws NameException
	 * @throws ContentException
	 */
	public void testAddElement( ) throws ContentException, NameException
	{
		
		GraphicMasterPageHandle pageHandle = (GraphicMasterPageHandle) designHandle
				.findMasterPage( "My Page" ); 
		assertEquals( 4, pageHandle.getSlot( GraphicMasterPage.CONTENT_SLOT )
				.getCount( ) );
		LabelHandle newLabel = new ElementFactory( design )
				.newLabel( "American Navy 1921" ); 
		pageHandle.addElement( newLabel, GraphicMasterPage.CONTENT_SLOT );
		assertEquals( 5, pageHandle.getSlot( GraphicMasterPage.CONTENT_SLOT )
				.getCount( ) );
		assertEquals( 4, pageHandle.getSlot( GraphicMasterPage.CONTENT_SLOT )
				.findPosn( newLabel ) );
		
		ImageHandle newImage = new ElementFactory( design )
				.newImage( "Rock in deep blue sea" ); 
		
		pageHandle.addElement( newImage, GraphicMasterPage.CONTENT_SLOT, 3 );
		assertEquals( 6, pageHandle.getSlot( GraphicMasterPage.CONTENT_SLOT )