Index
Object PCRE.PCREEngine
engineClosed-
engineOpened-
GV_DLL-
GV_ENGINE-
CanClose()
- Query the print engine to see if it is closeable.
clone()
- PCREEngine objects are not clonable, this method simply
throws an exception.
Close()
- Close the print engine.
getAPI()
- Get the PCREAPI object used by this engine.
getClient()
- Get the client instance for this engine.
GetErrorCode()
- Issue a PEGetErrorCode call.
GetErrorText()
- Issue a PEGetErrorStr call.
GetHandleString(int, short, StringBuffer)
- Issue a PEGetHandleString call.
getJobTable()
- Get the job-table used by this engine.
getStatus()
- Get the current engine status.
GetVersion(int)
- Get the version of this report engine.
LogOffServer(String, PCRELogOnInfo)
- Log off a database server.
LogOnServer(String, PCRELogOnInfo)
- Log on to a database server.
Open()
- Open a new print engine.
OpenJob(String)
- Open a report using this engine
OpenSubreport(PCREJob, String)
- Open a subreport within a job's current report.
PrintReport(String)
- Print a given report
SendDataToFile(byte[], String, boolean)
- Use Corba to send a character array to the server.
GV_DLL
int GV_DLL
GV_ENGINE
int GV_ENGINE
engineClosed
int engineClosed
engineOpened
int engineOpened
CanClose
boolean CanClose()
Query the print engine to see if it is closeable.
clone
Object clone()
PCREEngine objects are not clonable, this method simply
throws an exception.
Close
void Close()
Close the print engine.
getAPI
PCREAPI getAPI()
Get the PCREAPI object used by this engine.
- Returns:
- An PCREAPI object.
getClient
PCREClient getClient()
Get the client instance for this engine.
- Returns:
- The PCREClient for this engine.
GetErrorCode
short GetErrorCode()
Issue a PEGetErrorCode call.
- Returns:
- The error code, or 0 on error
GetErrorText
String GetErrorText()
Issue a PEGetErrorStr call.
- Returns:
- The error string, or an empty string on error ( not null )
GetHandleString
boolean GetHandleString(int textHandle,
short textLength,
StringBuffer string)
Issue a PEGetHandleString call.
- Parameters:
textHandle - The handle of the string to retrieve.
textLength - The length of the text.
string - A buffer to store the result into.
- Returns:
- True on success, False on error.
getJobTable
PCREJobTable getJobTable()
Get the job-table used by this engine.
- Returns:
- The table holding all currently open PCREAPI objects
getStatus
int getStatus()
Get the current engine status.
- Returns:
- The current status code
GetVersion
short GetVersion(int versionRequested)
Get the version of this report engine.
LogOffServer
boolean LogOffServer(String dllName,
PCRELogOnInfo logOnInfo)
Log off a database server.
- Parameters:
dllName - The DLL to use for the data source which you wish to log off.
logOnInfo - The login information to use for logging off the database.
LogOnServer
boolean LogOnServer(String dllName,
PCRELogOnInfo logOnInfo)
Log on to a database server.
- Parameters:
dllName - The DLL to use for the data source which you wish to log on to.
logOnInfo - The login information to use.
Open
boolean Open()
Open a new print engine.
OpenJob
PCREJob OpenJob(String reportFileName)
Open a report using this engine
- Parameters:
reportFileName - The path and filename of the report file to open.
OpenSubreport
PCREJob OpenSubreport(PCREJob parentJob,
String subreportName)
Open a subreport within a job's current report.
- Parameters:
parentJob - The job associated with the report containing the subreport.
subreportName - The name of the subreport within parentJob's report.
PrintReport
void PrintReport(String reportFile)
Print a given report
- Parameters:
reportFile - The path and filename of the report file which is to be printed.
SendDataToFile
boolean SendDataToFile(byte data[],
String filename,
boolean overwrite)
Use Corba to send a character array to the server.
Should probably be turned into a PCRE Service.
- Parameters:
data - char[]
filename - java.lang.String
overwrite - boolean
- Returns:
- boolean
Index