LibreOffice
LibreOffice 7.2 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 
23 
26 
27 
28 
29  module com { module sun { module star { module awt {
30 
31 
37 {
38 
42 
43 
46  void setDesignMode( [in] boolean bOn );
47 
48 
52  boolean isDesignMode();
53 
54 
57  void enableClipSiblings( [in] boolean bClip );
58 
59 
63 
64 
68 
69 
73  void getStyles( [in] short nType,
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: */
gives access to the VCL window implementation.
Definition: XVclWindowPeer.idl:37
void enableClipSiblings([in] boolean bClip)
enables clipping of sibling windows.
void setControlFont([in] com::sun::star::awt::FontDescriptor aFont)
sets the control font.
void setDesignMode([in] boolean bOn)
sets the design mode for use in a design editor.
any getProperty([in] string PropertyName)
returns the value of the property with the specified name.
boolean isDesignMode()
returns TRUE if the window peer is in design mode, FALSE otherwise.
void setForeground([in] com::sun::star::util::Color Color)
sets the foreground color.
void setProperty([in] string PropertyName, [in] any Value)
sets the value of the property with the specified name.
void getStyles([in] short nType, [out] com::sun::star::awt::FontDescriptor Font, [out] com::sun::star::util::Color ForegroundColor, [out] com::sun::star::util::Color BackgroundColor)
returns the font, foreground and background color for the specified type.
boolean isChild([in] com::sun::star::awt::XWindowPeer Peer)
returns TRUE if the window peer is a child, FALSE otherwise.
gives access to the actual window implementation on the device.
Definition: XWindowPeer.idl:37
sequence< ColorComponent > Color
Shorthand for the device-dependent color components, and easier to read.
Definition: Color.idl:28
long Color
describes an RGB color value with an optional alpha channel.
Definition: Color.idl:36
Definition: Ambiguous.idl:22
describes the characteristics of a font.
Definition: FontDescriptor.idl:34