Bump for 3.6-28
[LibreOffice.git] / offapi / com / sun / star / awt / XPrinterPropertySet.idl
blob141621d6a1431b2c79bf56c1908ffdb8273e3d00
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
28 #ifndef __com_sun_star_awt_XPrinterPropertySet_idl__
29 #define __com_sun_star_awt_XPrinterPropertySet_idl__
31 #include <com/sun/star/beans/XPropertySet.idl>
33 #include <com/sun/star/beans/PropertyVetoException.idl>
35 #include <com/sun/star/lang/IllegalArgumentException.idl>
38 //=============================================================================
40 module com { module sun { module star { module awt {
42 //=============================================================================
44 /** represents an extended property set for printer properties.
46 <p>All properties are vetoable properties. If you change the properties
47 between <member scope="com::sun::star::awt">XPrinter::startPage</member>
48 and <member scope="com::sun::star::awt">XPrinter::endPage</member>, a
49 <type scope="com::sun::star::beans">PropertyVetoException</type>
50 is thrown.</p>
52 @see XPrinter
53 @see XInfoPrinter
55 published interface XPrinterPropertySet: com::sun::star::beans::XPropertySet
57 //-------------------------------------------------------------------------
59 /** sets the orientation.
61 void setHorizontal( [in] boolean bHorizontal )
62 raises( com::sun::star::beans::PropertyVetoException,
63 com::sun::star::lang::IllegalArgumentException );
65 //-------------------------------------------------------------------------
67 /** returns descriptions of all available printer forms.
69 sequence<string> getFormDescriptions();
71 //-------------------------------------------------------------------------
73 /** sets the form that should be used.
75 <p>Indirectly a printer is selected.</p>
77 void selectForm( [in] string aFormDescription )
78 raises( com::sun::star::beans::PropertyVetoException,
79 com::sun::star::lang::IllegalArgumentException );
81 //-------------------------------------------------------------------------
83 /** returns a binary encoded version of the printer setup.
85 sequence<byte> getBinarySetup();
87 //-------------------------------------------------------------------------
89 /** sets the data specific to the printer driver.
91 <p>Get this data from the info printer and set the data to the
92 printer.</p>
94 void setBinarySetup( [in] sequence<byte> data )
95 raises( com::sun::star::beans::PropertyVetoException,
96 com::sun::star::lang::IllegalArgumentException );
100 //=============================================================================
102 }; }; }; };
104 #endif
106 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */