interface XScannerManager in module com::sun::star::scanner::

(Global Index)

Syntax

interface XScannerManager : com::sun::star::uno::XInterface ;

Description

Method Summary

getAvailableScanners returns all avilable scanner devices

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 successfull, an empty interface otherwise

getError get the state of scanning after completion of scan

getBitmap get the image after completion of scan

Known Services Which Export this Interface

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

Method Details



getAvailableScanners

Syntax

sequence< com::sun::star::scanner::ScannerContext > getAvailableScanners ();

Description

returns all avilable scanner devices


configureScanner

Syntax

boolean configureScanner (
com::sun::star::scanner::ScannerContext scanner_context )
raises ( com::sun::star::scanner::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

Syntax

void startScan (
com::sun::star::scanner::ScannerContext scanner_context,
com::sun::star::lang::XEventListener listener )
raises ( com::sun::star::scanner::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 successfull, an empty interface otherwise


getError

Syntax

com::sun::star::scanner::ScanError getError (
com::sun::star::scanner::ScannerContext scanner_context )
raises ( com::sun::star::scanner::ScannerException );

Description

get the state of scanning after completion of scan


getBitmap

Syntax

com::sun::star::awt::XBitmap getBitmap (
com::sun::star::scanner::ScannerContext scanner_context )
raises ( com::sun::star::scanner::ScannerException );

Description

get the image after completion of scan

Top of Page