LibreOffice: com/sun/star/awt/XVclWindowPeer.idl Source File

LibreOffice LibreOffice 6.3 SDK API Reference

XVclWindowPeer.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_awt_XVclWindowPeer_idl__
20 #define __com_sun_star_awt_XVclWindowPeer_idl__
21
22 #include <com/sun/star/awt/XWindowPeer.idl>
23
24 #include <com/sun/star/util/Color.idl>
25 #include <com/sun/star/awt/FontDescriptor.idl>
26
27
28
29 module com { module sun { module star { module awt {
30
31
36 published interface XVclWindowPeer: com::sun::star::awt::XWindowPeer
37 {
38
41 boolean isChild( [in] com::sun::star::awt::XWindowPeer Peer );
42
43
46 void setDesignMode( [in] boolean bOn );
47
48
52 boolean isDesignMode();
53
54
57 void enableClipSiblings( [in] boolean bClip );
58
59
62 void setForeground( [in] com::sun::star::util::Color Color );
63
64
67 void setControlFont( [in] com::sun::star::awt::FontDescriptor aFont );
68
69
73 void getStyles( [in] short nType,
74 [out] com::sun::star::awt::FontDescriptor Font,
75 [out] com::sun::star::util::Color ForegroundColor,
76 [out] com::sun::star::util::Color BackgroundColor );
77
78
81 void setProperty( [in] string PropertyName,
82 [in] any Value );
83
84
87 any getProperty( [in] string PropertyName );
88
89 };
90
91
92 }; }; }; };
93
94 #endif
95
96 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
FontDescriptor.idl
com::sun::star::rendering::Color
sequence< ColorComponent > Color
Shorthand for the device-dependent color components, and easier to read.
Definition: Color.idl:28
XWindowPeer.idl
com
Definition: Ambiguous.idl:22
com::sun::star::awt::XWindowPeer
gives access to the actual window implementation on the device.
Definition: XWindowPeer.idl:36
com::sun::star::awt::XVclWindowPeer
gives access to the VCL window implementation.
Definition: XVclWindowPeer.idl:36
com::sun::star::awt::FontDescriptor
describes the characteristics of a font.
Definition: FontDescriptor.idl:33
com::sun::star::util::Color
long Color
describes an RGB color value with an optional alpha channel.
Definition: Color.idl:36
Color.idl