com.crystaldecisions.reports.sdk
Class SubreportController

java.lang.Object
  |
  +--com.crystaldecisions.reports.sdk.SubreportController

public class SubreportController
extends java.lang.Object

A subreport controller which provides access to the subreports in the document.


Method Summary
 ISubreportClientDocument getSubreport(java.lang.String subreportName)
          Retrieves a subreport for the given subreport name.
 IStrings getSubreportNames()
           Returns a list of the names of subreports that are contained in a report.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSubreport

public ISubreportClientDocument getSubreport(java.lang.String subreportName)
                                      throws ReportSDKException
Retrieves a subreport for the given subreport name.

Parameters:
subreportName - name of subreport
Returns:
an ISubreportClientDocument object representing this subreport
Throws:
ReportSDKException

getSubreportNames

public IStrings getSubreportNames()
                           throws ReportSDKException

Returns a list of the names of subreports that are contained in a report.

Returns:
An IStrings object containing a list of the names of subreports contained in a report.
Throws:
ReportSDKException