LibreOffice LibreOffice 25.8 SDK API Reference

XPrinter.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
20
21
22 module com { module sun { module star { module awt {
23
24
34published interface XPrinter: com::sun::star::awt::XPrinterPropertySet
35{
36
42 boolean start( [in] string nJobName,
43 [in] short nCopies,
44 [in] boolean nCollate )
45 raises( com::sun::star::awt::PrinterException,
46 com::sun::star::lang::IllegalArgumentException );
47
48
54 void end()
55 raises( com::sun::star::awt::PrinterException );
56
57
71 void terminate();
72
73
76 com::sun::star::awt::XDevice startPage()
77 raises( com::sun::star::awt::PrinterException );
78
79
82 void endPage()
83 raises( com::sun::star::awt::PrinterException );
84
85};
86
87
88}; }; }; };
89
90/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::awt::PrinterException
fired if a resource cannot be locked.
Definition: PrinterException.idl:31
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:27
com::sun::star::awt::XDevice
provides information about a graphical output device and offers a factory for the graphics which prov...
Definition: XDevice.idl:34
com::sun::star::awt::XPrinterPropertySet
represents an extended property set for printer properties.
Definition: XPrinterPropertySet.idl:37
com::sun::star::awt::XPrinter
represents a virtual printer.
Definition: XPrinter.idl:35
com::sun::star::awt::XPrinter::start
boolean start([in] string nJobName, [in] short nCopies, [in] boolean nCollate)
puts the job into the printer spooler.
com::sun::star::awt::XPrinter::end
void end()
notifies the printer spooler that the job is done and printing starts.
com
Definition: Ambiguous.idl:20