String bookmark, Locale locale ) throws ReportServiceException, RemoteException
String bookmark, Locale locale, boolean isRtl ) throws ReportServiceException, RemoteException
	protected void doRenderPage( String docName, long pageNumber,			boolean svgFlag, boolean isMasterContent, boolean useBookmark,			String bookmark, Locale locale ) throws ReportServiceException,			RemoteException	{		ArrayList activeIds = new ArrayList( );		InputOptions options = new InputOptions( );		options.setOption( InputOptions.OPT_REQUEST, context.getRequest( ) );		options.setOption( InputOptions.OPT_LOCALE, locale );		options.setOption( InputOptions.OPT_IS_MASTER_PAGE_CONTENT,				new Boolean( isMasterContent ) );		options.setOption( InputOptions.OPT_SVG_FLAG, new Boolean( svgFlag ) );		ByteArrayOutputStream page = getReportService( ).getPage( docName,				pageNumber + "", options, activeIds );		// Update instruction for document.		UpdateContent content = new UpdateContent( );		content.setContent( page.toString( ) );		content.setTarget( operation.getTarget( ).getId( ) );		content.setInitializationId( parseReportId( activeIds ) );		if ( useBookmark )		{			content.setBookmark( bookmark );		}		Update updateDocument = new Update( );		updateDocument.setUpdateContent( content );		// Update instruction for nav bar.		UpdateData updateData = new UpdateData( );		updateData.setTarget( "navigationBar" ); //$NON-NLS-1$		Page pageObj = new Page( );		pageObj.setPageNumber( String.valueOf( pageNumber ) ); //$NON-NLS-1$		pageObj.setTotalPage( String.valueOf( getReportService( ).getPageCount(				docName, options ) ) );		Data data = new Data( );		data.setPage( pageObj );		updateData.setData( data );		Update updateNavbar = new Update( );		updateNavbar.setUpdateData( updateData );		response.setUpdate( new Update[] { updateDocument, updateNavbar } );	}