tdf#130857 qt weld: Implement QtInstanceWidget::get_text_height
[LibreOffice.git] / offapi / com / sun / star / frame / XController2.idl
blob9f3f836f71d1a10b60dd97149240459012cd5318
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 .
21 module com { module sun { module star { module frame {
24 /** extends the XController interface
26 @since OOo 3.0
28 interface XController2 : XController
30 /** denotes the "root window" of the controller.
32 <p>If the controller is plugged into a frame, this window acts as the
33 frame's <code>ComponentWindow</code>.</p>
35 @see XFrame
37 [readonly, attribute] ::com::sun::star::awt::XWindow ComponentWindow;
39 /** specifies the view name of the controller.
41 <p>A view name is a logical name, which can be used to create views of the same
42 type. The name is meaningful only in conjunction with XModel2::createViewController()
43 - if it's passed there, a view/controller pair of the same type will be created.</p>
45 [readonly, attribute] string ViewControllerName;
47 /** denotes the arguments used to create the instance.
49 <p>Usually, controllers are created via XModel2::createViewController(), where the
50 caller can pass not only a controller name, but also arguments parameterizing the to-be-created instance.
51 Those arguments used at creation time can subsequently be retrieved using the <code>CreationArguments</code>
52 member.</p>
54 [readonly, attribute] sequence< ::com::sun::star::beans::PropertyValue >
55 CreationArguments;
57 /** get the sidebar if exists
58 @since LibreOffice 5.1
60 ::com::sun::star::ui::XSidebarProvider getSidebar();
64 }; }; }; };
67 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */