LibreOffice
LibreOffice 24.2 SDK API Reference
|
import"XScannerManager.idl";
Public Member Functions | |
sequence< com::sun::star::scanner::ScannerContext > | getAvailableScanners () |
returns all available scanner devices More... | |
boolean | configureScanner ([inout] com::sun::star::scanner::ScannerContext scannerContext) raises ( com::sun::star::scanner::ScannerException ) |
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 More... | |
void | startScan ([in] com::sun::star::scanner::ScannerContext scannerContext, [in] com::sun::star::lang::XEventListener listener) raises ( com::sun::star::scanner::ScannerException ) |
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 More... | |
com::sun::star::scanner::ScanError | getError ([in] com::sun::star::scanner::ScannerContext scannerContext) raises ( com::sun::star::scanner::ScannerException ) |
get the state of scanning after completion of scan More... | |
com::sun::star::awt::XBitmap | getBitmap ([in] com::sun::star::scanner::ScannerContext scannerContext) raises ( com::sun::star::scanner::ScannerException ) |
get the image after completion of scan More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
boolean configureScanner | ( | [inout] com::sun::star::scanner::ScannerContext | scannerContext | ) | |
raises | ( | com::sun::star::scanner::ScannerException | |||
) |
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
sequence<com::sun::star::scanner::ScannerContext> getAvailableScanners | ( | ) |
returns all available scanner devices
com::sun::star::awt::XBitmap getBitmap | ( | [in] com::sun::star::scanner::ScannerContext | scannerContext | ) | |
raises | ( | com::sun::star::scanner::ScannerException | |||
) |
get the image after completion of scan
com::sun::star::scanner::ScanError getError | ( | [in] com::sun::star::scanner::ScannerContext | scannerContext | ) | |
raises | ( | com::sun::star::scanner::ScannerException | |||
) |
get the state of scanning after completion of scan
void startScan | ( | [in] com::sun::star::scanner::ScannerContext | scannerContext, |
[in] com::sun::star::lang::XEventListener | listener | ||
) | |||
raises | ( | com::sun::star::scanner::ScannerException | |
) |
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