setLabelInstanceId( text );
	public void startText( ITextContent text )	{		IStyle mergedStyle = text.getStyle( );		if ( peek( mergedStyle ) )		{			return;		}		logger.log( Level.FINE, "[HTMLReportEmitter] Start text" ); //$NON-NLS-1$		StringBuffer styleBuffer = new StringBuffer( );		DimensionType x = text.getX( );		DimensionType y = text.getY( );		DimensionType width = text.getWidth( );		DimensionType height = text.getHeight( );		String textValue = text.getText( );		int display;		// If the item is multi-line, we should check if it can be inline-block		if ( textValue != null && textValue.indexOf( '\n' ) >= 0 )		{			display = checkElementType( x, y, width, height, mergedStyle,					styleBuffer );		}		else		{			display = checkElementType( x, y, mergedStyle, styleBuffer );		}		// action		String tagName;		if ( handleAction( text.getHyperlinkAction( ) ) )		{			tagName = HTMLTags.TAG_A;			setDisplayProperty( display, DISPLAY_BLOCK | DISPLAY_INLINE_BLOCK,					styleBuffer );			AttributeBuilder.checkHyperlinkTextDecoration( mergedStyle,					styleBuffer );		}		else		{			tagName = openTagByType( display, DISPLAY_FLAG_ALL );			setDisplayProperty( display, DISPLAY_INLINE_BLOCK, styleBuffer );		}		setStyleName( text.getStyleClass( ) );		// bookmark		setBookmark( tagName, text.getBookmark( ) );		// title		writer.attribute( HTMLTags.ATTR_TITLE, text.getHelpText( ) ); //$NON-NLS-1$		// check 'can-shrink' property		handleShrink( display, mergedStyle, height, width, styleBuffer );		handleStyle( text, styleBuffer, false );		writer.text( textValue );		writer.closeTag( tagName );	}