type = checkElementType( x, y, mergedStyle, styleBuffer );
	public void start( IReportItemContent item )	{		ITableContent tableObj = (ITableContent) item;		assert tableObj != null;		reportEmitter.push( tableObj );		if ( reportEmitter.isHidden( ) )		{			return;		}		logger.log( Level.FINE, "[HTMLTableEmitter] Start table" ); //$NON-NLS-1$		int type;		DimensionType x = tableObj.getX( );		DimensionType y = tableObj.getY( );		StringBuffer styleBuffer = new StringBuffer( );		IStyle mergedStyle = tableObj.getMergedStyle( );		addDefaultTableStyles( mergedStyle, styleBuffer );		type = checkElementType( x, y, mergedStyle, styleBuffer );		writer.openTag( HTMLTags.TAG_TABLE );		// style string		setStyleName( tableObj.getStyle( ) );		if ( type == ELEMENT_INLINE )		{			styleBuffer.append( "display: inline;" ); //$NON-NLS-1$		}		handleShrink( ELEMENT_BLOCK, mergedStyle, tableObj.getHeight( ),				tableObj.getWidth( ), styleBuffer );		handleStyle( tableObj, styleBuffer );		// bookmark		setBookmark( null, tableObj.getBookmarkValue( ) );		// table caption		String caption = tableObj.getCaption( );		if ( caption != null && caption.length( ) > 0 )		{			writer.openTag( HTMLTags.TAG_CAPTION );			writer.text( caption );			writer.closeTag( HTMLTags.TAG_CAPTION );		}		currentData = new PersistData( );		statusStack.push( currentData );	}