Bug 132914 "Invalid page number" error message is hard coded.
"Invalid page number" error message is hard coded in DocumentProcessor.java. This must be externalized into *.properties file. If there are other hard coded error messages, please also externalize.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/BirtViewerReportService.java
{
		IReportDocument doc = ReportEngineService.getInstance( )
				.openReportDocument( getReportDesignName( options ), docName );
		long count = doc.getPageCount( );
		doc.close( );
		return count;
	}
	public Collection getParameterDefinitions(
			IViewerReportDesignHandle design, InputOptions runOptions,
			boolean includeGroups ) throws ReportServiceException
	{
		IGetParameterDefinitionTask task = getParameterDefinitionTask( design );
		return convertEngineParameters( task.getParameterDefns( true ), task,
				includeGroups );
	}
	public Map getParameterValues( String docName, InputOptions options )
			throws ReportServiceException
	{
		IReportDocument doc = ReportEngineService.getInstance( )
				.openReportDocument( getReportDesignName( options ), docName );
		Map paramValues = doc.getParameterValues( );
		doc.close( );
		return paramValues;
	}
	public Collection getSelectionListForCascadingGroup(
			IViewerReportDesignHandle design, String groupName,
			Object[] groupKeys, InputOptions options )
			throws ReportServiceException
	{
		IGetParameterDefinitionTask task = getParameterDefinitionTask( design );