LibreOffice
LibreOffice 7.1 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#ifndef __com_sun_star_view_PrintOptions_idl__
20#define __com_sun_star_view_PrintOptions_idl__
21
22
23
24module com { module sun { module star { module view {
25
26
32published service PrintOptions
33{
36 [property] short CopyCount;
37
40 [property] string FileName;
41
44 [property] boolean Collate;
45
51 [property] boolean Sort;
52
58 [property] string Pages;
59
68 [optional, property] boolean Wait;
69
74 [optional, property] short DuplexMode;
75
78 [optional, property] string PrinterName;
79
82 [optional, property] boolean SinglePrintJobs;
83};
84
85
86}; }; }; };
87
88#endif
89
90/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Definition: Accessible.idl:22
describes the options for print jobs.
Definition: PrintOptions.idl:33
string PrinterName
if set, specifies name of the printer to use.
Definition: PrintOptions.idl:78
string Pages
specifies which pages to print.
Definition: PrintOptions.idl:58
short CopyCount
specifies the number of copies to print.
Definition: PrintOptions.idl:36
boolean SinglePrintJobs
advises the printer to create a single print job for each copy.
Definition: PrintOptions.idl:82
short DuplexMode
determines the duplex mode for the print job.
Definition: PrintOptions.idl:74
boolean Collate
advises the printer to collate the pages of the copies.
Definition: PrintOptions.idl:44
boolean Sort
advises the printer to sort the pages of the copies.
Definition: PrintOptions.idl:51
string FileName
if set, specifies the name of a file to print to.
Definition: PrintOptions.idl:40
boolean Wait
if set to TRUE, the corresponding XPrintable.print() request will be executed synchronous.
Definition: PrintOptions.idl:68