This topic describes how to use the GroupDocs.Viewer Java API to convert PDF files to HTML, PNG, and JPEG formats....replaced with the current page number in the file name. const viewOptions...replaced with the current page number and resource name, respectively...