tdf#154285 Check upper bound of arguments in SbRtl_Minute function
[LibreOffice.git] / offapi / com / sun / star / awt / DeviceInfo.idl
blob2f8d127e6952d5193ac049982f1bca731e316007
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 awt {
25 /** contains information about a device.
27 published struct DeviceInfo
30 /** contains the width of the device in pixels.
32 long Width;
35 /** contains the height of the device in pixels.
37 long Height;
40 /** contains the inset from the left.
42 long LeftInset;
45 /** contains the inset from the top.
47 long TopInset;
50 /** contains the inset from the right.
52 long RightInset;
55 /** contains the inset from the bottom.
57 long BottomInset;
60 /** contains the X-axis resolution of the device in pixel/meter.
62 double PixelPerMeterX;
65 /** contains the Y-axis resolution of the device in pixel/meter.
67 double PixelPerMeterY;
70 /** contains the color-depth of the device.
72 short BitsPerPixel;
75 /** specifies special operations which are possible on the device.
77 @see DeviceCapability
79 long Capabilities;
84 }; }; }; };
87 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */