assertEquals( null, labelHandle.getStringProperty( Style.WIDOWS_PROP ) );
assertEquals( null, labelHandle.getStringProperty( Style.HIGHLIGHT_RULES_PROP ) );
	public void testParser( ) throws Exception	{		LabelHandle labelHandle = getLabel( );		assertEquals( "6mm", labelHandle.getStringProperty( Label.X_PROP ) );  //$NON-NLS-1$		assertEquals( "0.5mm", labelHandle.getStringProperty( Label.Y_PROP ) );  //$NON-NLS-1$		assertEquals( "0.25mm", labelHandle.getStringProperty( Label.HEIGHT_PROP ) );  //$NON-NLS-1$		assertEquals( "1mm", labelHandle.getStringProperty( Label.WIDTH_PROP ) );  //$NON-NLS-1$		assertEquals(				"Today's Date", labelHandle.getStringProperty( Label.TEXT_PROP ) ); //$NON-NLS-1$		OdaDataSet dataSet = (OdaDataSet) design.findDataSet( "firstDataSet" ); //$NON-NLS-1$		assertNotNull( dataSet );		assertEquals( dataSet.getName( ), labelHandle				.getProperty( Label.DATA_SET_PROP ) );		// test the sytle property in label		assertEquals( "red", labelHandle.getStringProperty( Style.COLOR_PROP ) ); //$NON-NLS-1$		assertEquals(				"labelFace", labelHandle.getStringProperty( Style.FONT_FAMILY_PROP ) ); //$NON-NLS-1$		assertEquals( "4mm", labelHandle.getStringProperty( Style.FONT_SIZE_PROP ) ); //$NON-NLS-1$		assertEquals(				"bold", labelHandle.getStringProperty( Style.FONT_WEIGHT_PROP ) ); //$NON-NLS-1$		// test the style property whcih was not defined on the label itself		assertEquals(				"none", labelHandle.getStringProperty( Style.TEXT_UNDERLINE_PROP ) ); //$NON-NLS-1$		// test the style property which does not belong to label		assertEquals( null, labelHandle.getStringProperty( Style.WIDOWS_PROP ) ); 		ActionHandle action = labelHandle.getActionHandle( );		assertNotNull( action );		assertEquals( DesignChoiceConstants.ACTION_LINK_TYPE_HYPERLINK, action				.getLinkType( ) ); 		assertEquals( "http://localhost:8080/", action.getURI() ); //$NON-NLS-1$		// reads in a lable that exists in the body.		labelHandle = (LabelHandle) designHandle.findElement( "bodyLabel" ); //$NON-NLS-1$		assertEquals( "<hello></hello><test><test1></test1></test>", //$NON-NLS-1$				labelHandle.getCustomXml( ) );		assertEquals(				"yellow", labelHandle.getStringProperty( Style.COLOR_PROP ) ); //$NON-NLS-1$ 		assertEquals( "Body's slot", labelHandle.getText( ) ); //$NON-NLS-1$		assertEquals( "label help text", labelHandle.getHelpText( ) ); //$NON-NLS-1$		assertEquals( "help key", labelHandle.getHelpTextKey( ) ); //$NON-NLS-1$		assertEquals( "text key", labelHandle.getTextKey( ) ); //$NON-NLS-1$		// make sure that this label exists in the body slot.		assertEquals( ReportDesign.BODY_SLOT, labelHandle.getContainer( )				.findContentSlot( labelHandle ) );		// reads in a label that exists in the component.		labelHandle = (LabelHandle) designHandle.findElement( "child1" ); //$NON-NLS-1$		assertEquals( "Today's Date", labelHandle.getText( ) ); //$NON-NLS-1$		assertEquals( "label help text", labelHandle.getHelpText( ) ); //$NON-NLS-1$		assertEquals( "help key", labelHandle.getHelpTextKey( ) ); //$NON-NLS-1$		// reads in a label that exists in the freeform.		labelHandle = (LabelHandle) designHandle.findElement( "label3" ); //$NON-NLS-1$		assertEquals( "Customer Name", labelHandle.getText( ) ); //$NON-NLS-1$		// reads in a label that exists in the list header.		labelHandle = (LabelHandle) designHandle				.findElement( "listHeaderLabel" ); //$NON-NLS-1$		assertEquals( "list header", labelHandle.getText( ) ); //$NON-NLS-1$		// reads in a label that exists in the list detail.		labelHandle = (LabelHandle) designHandle				.findElement( "listDetailLabel" ); //$NON-NLS-1$		assertEquals( "list detail", labelHandle.getText( ) ); //$NON-NLS-1$		// reads in a label that exists in the list footer.		labelHandle = (LabelHandle) designHandle				.findElement( "listFooterLabel" ); //$NON-NLS-1$		assertEquals( "list footer", labelHandle.getText( ) ); //$NON-NLS-1$		// reads in a label that exists in the table header.		labelHandle = (LabelHandle) designHandle.findElement( "headerLabel" ); //$NON-NLS-1$		assertEquals( "Customer Name", labelHandle.getText( ) ); //$NON-NLS-1$		// reads in a label that exists in the table detail.		labelHandle = (LabelHandle) designHandle.findElement( "detailLabel" ); //$NON-NLS-1$		assertEquals( "Address", labelHandle.getText( ) ); //$NON-NLS-1$		// reads in a label that exists in the table footer.		labelHandle = (LabelHandle) designHandle.findElement( "footerLabel" ); //$NON-NLS-1$		assertEquals( "Address4", labelHandle.getText( ) ); //$NON-NLS-1$		// reads in a label that exists in the scratchpad.		labelHandle = (LabelHandle) designHandle				.findElement( "scratchpadLabel" ); //$NON-NLS-1$		assertEquals( "scratch", labelHandle.getText( ) ); //$NON-NLS-1$	}