package org.eclipse.birt.report.service.api;

import java.util.HashMap;
import java.util.Map;

public class InputOptions
{
	public static final String OPT_LOCALE = "locale"; //$NON-NLS-1$

	public static final String OPT_FORMAT = "format"; //$NON-NLS-1$

	public static final String OPT_BASE_URL = "baseURL"; //$NON-NLS-1$

	public static final String OPT_REQUEST = "request"; //$NON-NLS-1$
	
	public static final String OPT_IS_MASTER_PAGE_CONTENT = "isMasterPageContent"; //$NON-NLS-1$
	
	public static final String OPT_SVG_FLAG = "svgFlag"; //$NON-NLS-1$
	
	public static final String OPT_RENDER_FORMAT = "format"; //$NON-NLS-1$
	
	public static final String OPT_IS_DESIGNER = "isDesigner"; //$NON-NLS-1$

	public static final String OPT_SRC_DOCUMENT = "sourceDocument"; //$NON-NLS-1$

	public static final String OPT_REPORT_DESIGN = "reportDesign"; //$NON-NLS-1$

	public static final String OPT_VERTICAL_BAR = "verticalBar"; //$NON-NLS-1$

    public static final String OUTPUT_FILE_TYPE = "outputFileType"; //$NON-NLS-1$
    
    public static final String OPT_RTL = "rtl"; //$NON-NLS-1$

	// add options here that matches the common engine run or render options

	private Map options;

	public InputOptions( )
	{
		this.options = new HashMap( );
	}

	public void setOption( String optName, Object optValue )
	{
		options.put( optName, optValue );
	}

	public Object getOption( String optName )
	{
		return options.get( optName );
	}

	public Map getOptions( )
	{
		return options;
	}

}

@@ -896,35 +896,132 @@
 OPT_
-VERTICAL_BAR = %22verticalBar
+ENABLE_METADATA = %22enableMetaData%22; //$NON-NLS-1$%0A%09%0A%09public static final String OPT_DISPLAY_FILTER_ICON = %22DisplayFilterIcon
 %22; /
@@ -1032,16 +1032,18 @@
 N-NLS-1$
+%09 
 %0A%0A    pu

Update input option.