LibreOffice: com/sun/star/awt/XPrinterPropertySet.idl Source File

LibreOffice LibreOffice 25.2 SDK API Reference |

Loading...
Searching...
No Matches
XPrinterPropertySet.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
36published interface XPrinterPropertySet: com::sun::star::beans::XPropertySet
37{
38
41 void setHorizontal( [in] boolean bHorizontal )
42 raises( com::sun::star::beans::PropertyVetoException,
43 com::sun::star::lang::IllegalArgumentException );
44
45
48 sequence<string> getFormDescriptions();
49
50
55 void selectForm( [in] string aFormDescription )
56 raises( com::sun::star::beans::PropertyVetoException,
57 com::sun::star::lang::IllegalArgumentException );
58
59
62 sequence<byte> getBinarySetup();
63
64
70 void setBinarySetup( [in] sequence<byte> data )
71 raises( com::sun::star::beans::PropertyVetoException,
72 com::sun::star::lang::IllegalArgumentException );
73
74};
75
76
77}; }; }; };
78
79/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::beans::PropertyVetoException
This exception is thrown when a proposed change to a property represents an unacceptable value.
Definition PropertyVetoException.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::XPrinterPropertySet
represents an extended property set for printer properties.
Definition XPrinterPropertySet.idl:37
com::sun::star::awt::XPrinterPropertySet::setHorizontal
void setHorizontal([in] boolean bHorizontal)
sets the orientation.
com::sun::star::awt::XPrinterPropertySet::getFormDescriptions
sequence< string > getFormDescriptions()
returns descriptions of all available printer forms.
com::sun::star::awt::XPrinterPropertySet::setBinarySetup
void setBinarySetup([in] sequence< byte > data)
sets the data specific to the printer driver.
com::sun::star::awt::XPrinterPropertySet::selectForm
void selectForm([in] string aFormDescription)
sets the form that should be used.
com::sun::star::awt::XPrinterPropertySet::getBinarySetup
sequence< byte > getBinarySetup()
returns a binary encoded version of the printer setup.
com::sun::star::beans::XPropertySet
provides information about and access to the properties from an implementation.
Definition XPropertySet.idl:46
com
Definition Ambiguous.idl:20