xref: /aoo4110/main/vcl/inc/salptype.hxx (revision b1cdbd2c)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef _SV_SALPTYPE_HXX
25 #define _SV_SALPTYPE_HXX
26 
27 #include <vcl/sv.h>
28 
29 // --------------------
30 // - SalJobSetupFlags -
31 // --------------------
32 
33 #define SAL_JOBSET_ORIENTATION                  ((sal_uLong)0x00000001)
34 #define SAL_JOBSET_PAPERBIN                     ((sal_uLong)0x00000002)
35 #define SAL_JOBSET_PAPERSIZE                    ((sal_uLong)0x00000004)
36 #define SAL_JOBSET_DUPLEXMODE                   ((sal_uLong)0x00000008)
37 #define SAL_JOBSET_ALL                          (SAL_JOBSET_ORIENTATION |\
38                                                  SAL_JOBSET_PAPERBIN    |\
39                                                  SAL_JOBSET_PAPERSIZE   |\
40                                                  SAL_JOBSET_DUPLEXMODE)
41 
42 // -------------------
43 // - SalPrinterError -
44 // -------------------
45 
46 #define SAL_PRINTER_ERROR_GENERALERROR			1
47 #define SAL_PRINTER_ERROR_ABORT 				2
48 
49 // -------------------
50 // - SalPrinterProcs -
51 // -------------------
52 
53 class SalPrinter;
54 typedef long (*SALPRNABORTPROC)( void* pInst, SalPrinter* pPrinter );
55 
56 #endif // _SV_SALPTYPE_HXX
57