Interface IHTMLLinksProvider


public interface IHTMLLinksProvider
This interface is used for users to implement their own way of providing links between html/dhtml pages of a report.
  • Method Summary

    Modifier and Type
    Method
    Description
    getLinksForDHTML(int currentPage, int totalPage, String fileNamePrefix, boolean top)
    This method is called during DHTML export and provides a way for a user to specify custom HTML code to display the navigation links.
    getLinksForHTML(int currentPage, int totalPage, String fileNamePrefix, boolean top)
    This method is called during HTML export and provides a way for a user to specify custom HTML code to display the navigation links.
    getTOCLinkForDHTML(int cPage, int tPage, String body)
     
  • Method Details

    • getLinksForHTML

      HTMLBlock getLinksForHTML(int currentPage, int totalPage, String fileNamePrefix, boolean top)
      This method is called during HTML export and provides a way for a user to specify custom HTML code to display the navigation links.
      Parameters:
      currentPage - Current page number
      totalPage - Total page number
      fileNamePrefix - The prefix of all the generated files. This is also the name of the first file.
      top - Indicate if this section will appear on the top or bottom of the page. This argument is always true in EspressReport 2.0 since it only supports links on the top of the page.
    • getLinksForDHTML

      HTMLBlock getLinksForDHTML(int currentPage, int totalPage, String fileNamePrefix, boolean top)
      This method is called during DHTML export and provides a way for a user to specify custom HTML code to display the navigation links.
      Parameters:
      currentPage - Current page number
      totalPage - Total page number
      fileNamePrefix - The prefix of all the generated files. This is also the name of the first file.
      top - Indicate if this section will appear on the top or bottom of the page. This argument is always true in EspressReport 2.0 since it only supports links on the top of the page.
    • getTOCLinkForDHTML

      HTMLBlock getTOCLinkForDHTML(int cPage, int tPage, String body)