fill
Class: slreportgen.webview.WebViewDocument
Namespace: slreportgen.webview
Fill report holes
Syntax
fill(wvdoc)
Description
fill(
fills the holes in the report
generated by wvdoc
)wvdoc
. This method loops through the holes in the
report’s template. For each hole, it determines if this object has a method named
fill
Id(wvdoc)
,
where Id is the id of the hole. If the method exists,
this method invokes the method to fill the hole.
Input Arguments
Tips
The default template specified by
wvdoc
contains a hole namedslwebview
. Thus invoking this method will invokeslreportgen.webview.WebViewDocument.fillslwebview
to fill the hole with web views of the model(s) specified bywvdoc
’sExportOptions
property.This method allows you to fill holes in a custom template by deriving a class from
slreportgen.webview.WebViewDocument
and providing the derived class withfill
Id methods to fill the holes.