EspressReport 6.6

quadbase.reportdesigner.util
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
 HTMLBlock getLinksForDHTML(int currentPage, int totalPage, java.lang.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.
 HTMLBlock getLinksForHTML(int currentPage, int totalPage, java.lang.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.
 HTMLBlock getTOCLinkForDHTML(int cPage, int tPage, java.lang.String body)
           
 

Method Detail

getLinksForHTML

HTMLBlock getLinksForHTML(int currentPage,
                          int totalPage,
                          java.lang.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,
                           java.lang.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,
                             java.lang.String body)

EspressReport 6.6