|| IReportElementConstants.REPORT_ELEMENT_GRID.equalsIgnoreCase( template ) )
|| IReportElementConstants.REPORT_ELEMENT_GRID.equalsIgnoreCase( template ) || IReportElementConstants.AUTOTEXT_PAGEXOFY.equalsIgnoreCase( template ) )
	protected static String getCreationType( String template )	{		String type = ""; //$NON-NLS-1$		if ( IReportElementConstants.REPORT_ELEMENT_IMAGE.equalsIgnoreCase( template ) )		{			type = ReportDesignConstants.IMAGE_ITEM;		}		else if ( IReportElementConstants.REPORT_ELEMENT_TABLE.equalsIgnoreCase( template ) )		{			type = ReportDesignConstants.TABLE_ITEM;		}		else if ( IReportElementConstants.REPORT_ELEMENT_TEXTDATA.equalsIgnoreCase( template ) )		{			type = ReportDesignConstants.TEXT_DATA_ITEM;		}		else if ( IReportElementConstants.REPORT_ELEMENT_TEXT.equalsIgnoreCase( template )				|| IReportElementConstants.AUTOTEXT_PAGE.equalsIgnoreCase( template )				|| IReportElementConstants.AUTOTEXT_DATE.equalsIgnoreCase( template )				|| IReportElementConstants.AUTOTEXT_CREATEDON.equalsIgnoreCase( template )				|| IReportElementConstants.AUTOTEXT_CREATEDBY.equalsIgnoreCase( template )				|| IReportElementConstants.AUTOTEXT_FILENAME.equalsIgnoreCase( template )				|| IReportElementConstants.AUTOTEXT_LASTPRINTED.equalsIgnoreCase( template )				|| IReportElementConstants.AUTOTEXT_PAGEXOFY.equalsIgnoreCase( template ) )		{			type = ReportDesignConstants.TEXT_ITEM;		}		else if ( IReportElementConstants.AUTOTEXT_AUTHOR_PAGE_DATE.equalsIgnoreCase( template )				|| IReportElementConstants.AUTOTEXT_CONFIDENTIAL_PAGE.equalsIgnoreCase( template )				|| IReportElementConstants.REPORT_ELEMENT_GRID.equalsIgnoreCase( template ) )		{			type = ReportDesignConstants.GRID_ITEM;		}		else if ( IReportElementConstants.REPORT_ELEMENT_LABEL.equalsIgnoreCase( template ) )		{			type = ReportDesignConstants.LABEL_ITEM;		}		else if ( IReportElementConstants.REPORT_ELEMENT_DATA.equalsIgnoreCase( template ) )		{			type = ReportDesignConstants.DATA_ITEM;		}		else if ( IReportElementConstants.REPORT_ELEMENT_LIST.equalsIgnoreCase( template ) )		{			type = ReportDesignConstants.LIST_ITEM;		}		else		{			if ( template.startsWith( IReportElementConstants.REPORT_ELEMENT_EXTENDED ) )			{				type = ReportDesignConstants.EXTENDED_ITEM;			}		}		return type;	}