LibreOffice
LibreOffice 24.2 SDK API Reference
PrintOptions.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 view {
23 
24 
30 published service PrintOptions
31 {
34  [property] short CopyCount;
35 
38  [property] string FileName;
39 
42  [property] boolean Collate;
43 
49  [property] boolean Sort;
50 
56  [property] string Pages;
57 
66  [optional, property] boolean Wait;
67 
72  [optional, property] short DuplexMode;
73 
76  [optional, property] string PrinterName;
77 
80  [optional, property] boolean SinglePrintJobs;
81 
88  [optional, property] boolean JobName;
89 };
90 
91 
92 }; }; }; };
93 
94 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Definition: Ambiguous.idl:20
describes the options for print jobs.
Definition: PrintOptions.idl:30
short CopyCount
specifies the number of copies to print.
Definition: PrintOptions.idl:34
string PrinterName
if set, specifies name of the printer to use.
Definition: PrintOptions.idl:76
boolean JobName
The job name which is sent to the printer (can be seen in the Printer job queue). ...
Definition: PrintOptions.idl:88
string FileName
if set, specifies the name of a file to print to.
Definition: PrintOptions.idl:38
string Pages
specifies which pages to print.
Definition: PrintOptions.idl:56
boolean Collate
advises the printer to collate the pages of the copies.
Definition: PrintOptions.idl:42
boolean Wait
if set to TRUE, the corresponding XPrintable.print() request will be executed synchronous.
Definition: PrintOptions.idl:66
short DuplexMode
determines the duplex mode for the print job.
Definition: PrintOptions.idl:72
boolean SinglePrintJobs
advises the printer to create a single print job for each copy.
Definition: PrintOptions.idl:80
boolean Sort
advises the printer to sort the pages of the copies.
Definition: PrintOptions.idl:49