:: com :: sun :: star :: scanner ::

interface XScannerManager

Methods' Summary
getAvailableScanners  
configureScanner produce some kind of User Interface to let the user have a preview, configure the scan area, etc., it returns FALSE if user cancelled this process  
startScan start the scanning process listener will be called when scan is complete the EventObject of the disposing call will contain the ScannerManager if the scan was successful, an empty interface otherwise  
getError get the state of scanning after completion of scan  
getBitmap get the image after completion of scan  
Methods' Details
getAvailableScanners
sequence< ScannerContext >
getAvailableScanners();

configureScanner
boolean
configureScanner( [inout] ScannerContext  scannerContext )
raises( ScannerException );

Description
produce some kind of User Interface to let the user have a preview, configure the scan area, etc., it returns FALSE if user cancelled this process
startScan
void
startScan( [in] ScannerContext  scannerContext,
[in] ::com::sun::star::lang::XEventListener  listener )
raises( ScannerException );

Description
start the scanning process listener will be called when scan is complete the EventObject of the disposing call will contain the ScannerManager if the scan was successful, an empty interface otherwise
getError
ScanError
getError( [in] ScannerContext  scannerContext )
raises( ScannerException );

Description
get the state of scanning after completion of scan
getBitmap
::com::sun::star::awt::XBitmap
getBitmap( [in] ScannerContext  scannerContext )
raises( ScannerException );

Description
get the image after completion of scan
Top of Page