tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / offapi / com / sun / star / view / PrintOptions.idl
blob3941b6e5dd62b52674a4b4efe4680c800b84b3e8
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
22 module com { module sun { module star { module view {
25 /** describes the options for print jobs.
27 <p>These options are only valid for a single print job. They do not
28 change layout or formatting of the document.
30 published service PrintOptions
32 /** specifies the number of copies to print.
34 [property] short CopyCount;
36 /** if set, specifies the name of a file to print to.
38 [property] string FileName;
40 /** advises the printer to collate the pages of the copies.
42 [property] boolean Collate;
44 /** advises the printer to sort the pages of the copies.
46 @deprecated
47 Use Collate instead.
49 [property] boolean Sort;
51 /** specifies which pages to print.
53 <p>This range is given as at the user interface. For example: "1-4;10"
54 to print the pages 1 to 4 and 10. </p>
56 [property] string Pages;
58 /** if set to TRUE, the corresponding XPrintable.print() request will
59 be executed synchronous.
61 <p>Default is the asynchronous print mode.</p>
63 @attention Using of this property with TRUE as value is highly recommended.
64 Otherwise following actions (as e.g. closing the corresponding model) can fail.
66 [optional, property] boolean Wait;
68 /** determines the duplex mode for the print job.
70 @see DuplexMode for more information about supported values
72 [optional, property] short DuplexMode;
74 /** if set, specifies name of the printer to use.
76 [optional, property] string PrinterName;
78 /** advises the printer to create a single print job for each copy.
80 [optional, property] boolean SinglePrintJobs;
82 /** The job name which is sent to the printer (can be seen in the Printer job queue).
84 * If omitted, the document title will be used as default.
86 * @since LibreOffice 7.5
88 [optional, property] boolean JobName;
92 }; }; }; };
94 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */