LibreOffice
LibreOffice 5.1 SDK API Reference
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
com
sun
star
scanner
XScannerManager.idl
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*
9
* This file incorporates work covered by the following license notice:
10
*
11
* Licensed to the Apache Software Foundation (ASF) under one or more
12
* contributor license agreements. See the NOTICE file distributed
13
* with this work for additional information regarding copyright
14
* ownership. The ASF licenses this file to you under the Apache
15
* License, Version 2.0 (the "License"); you may not use this file
16
* except in compliance with the License. You may obtain a copy of
17
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
*/
19
#ifndef __com_sun_star_scanner_XScannerManager_idl__
20
#define __com_sun_star_scanner_XScannerManager_idl__
21
22
#include <
com/sun/star/uno/XInterface.idl
>
23
#include <
com/sun/star/scanner/ScannerContext.idl
>
24
#include <
com/sun/star/scanner/ScannerException.idl
>
25
#include <
com/sun/star/lang/XEventListener.idl
>
26
#include <
com/sun/star/scanner/ScanError.idl
>
27
#include <
com/sun/star/awt/XBitmap.idl
>
28
29
30
31
module
com
{ module sun { module star { module scanner {
32
35
published
interface
XScannerManager
:
com::sun::star::uno::XInterface
36
{
37
// DOCUMENTATION CHANGED FOR XScannerManager::getAvailableScanners
40
sequence<com::sun::star::scanner::ScannerContext> getAvailableScanners();
41
46
boolean
configureScanner( [inout]
com::sun::star::scanner::ScannerContext
scannerContext )
47
raises(
com::sun::star::scanner::ScannerException
);
48
55
void
startScan( [in]
com::sun::star::scanner::ScannerContext
scannerContext,
56
[in]
com::sun::star::lang::XEventListener
listener )
57
raises(
com::sun::star::scanner::ScannerException
);
58
61
com::sun::star::scanner::ScanError
getError( [in]
com::sun::star::scanner::ScannerContext
scannerContext )
62
raises(
com::sun::star::scanner::ScannerException
);
63
66
com::sun::star::awt::XBitmap
getBitmap( [in]
com::sun::star::scanner::ScannerContext
scannerContext )
67
raises(
com::sun::star::scanner::ScannerException
);
68
69
};
70
71
72
}; }; }; };
73
74
#endif
75
76
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
ScannerException.idl
ScanError.idl
com::sun::star::lang::XEventListener
base interface for all event listeners interfaces.
Definition:
XEventListener.idl:32
com
Definition:
Ambiguous.idl:22
com::sun::star::awt::XBitmap
provides a bitmap in the Microsoft DIB format.
Definition:
XBitmap.idl:33
com::sun::star::scanner::ScannerContext
a scanner context is an identifier for a specific scanner device
Definition:
ScannerContext.idl:28
XBitmap.idl
com::sun::star::scanner::XScannerManager
Definition:
XScannerManager.idl:35
com::sun::star::scanner::ScannerException
A ScannerException gets thrown if an object of type XScannerManager could not complete a specific act...
Definition:
ScannerException.idl:32
ScannerContext.idl
XInterface.idl
XEventListener.idl
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition:
XInterface.idl:47
com::sun::star::scanner::ScanError
ScanError
enum ScanError describes error codes of scanner component
Definition:
ScanError.idl:28
Generated by
1.8.11