tdf#130857 qt weld: Support mail merge "Server Auth" dialog
[LibreOffice.git] / offapi / com / sun / star / form / XForms.idl
blob4bb091f728b6c647acb3cf2302bbcb7867dd59cc
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 form {
24 /**
25 @since LibreOffice 4.1
27 published interface XForms
29 /** allows to register listeners to be notified of changes in the container.
31 interface com::sun::star::container::XContainer;
33 /** allows to add/remove elements by name.
35 interface com::sun::star::container::XNameContainer; // ->XNameReplace->XNameAccess->XElementAccess->XInterface
37 /** gives access to the elements by index.
39 interface com::sun::star::container::XIndexContainer; // ->XIndexReplace->XIndexAccess->XElementAccess->XInterface
41 /** creates an enumeration of the elements.
43 interface com::sun::star::container::XEnumerationAccess; // ->XElementAccess->XInterface
45 /** This interface has to be implemented to supply the scripting environment
46 for the contained components.
48 <p>The interface allows managing of scripts associated with dependent components, accessed by index.
49 However, as a client of the FormComponents service, there's no need to bother with
50 the container aspect of the com::sun::star::script::XEventAttacherManager
51 directly. A FormComponents container will automatically synchronize the elements
52 you put into it with the scripting information obtained at the
53 com::sun::star::script::XEventAttacherManager interface.</p>
55 <p>For instance, at any time you can obtain the events associated with
56 the <code>n</code><sup>th</sup>
57 element in the form components by calling
58 com::sun::star::script::XEventAttacherManager::getScriptEvents()
59 with parameter <code>n</code>. In particular, this invariant is always met, even after you
60 inserted/removed elements into/from the container.</p>
62 interface com::sun::star::script::XEventAttacherManager; // ->XInterface
64 interface com::sun::star::container::XChild;
66 interface com::sun::star::util::XCloneable;
68 interface com::sun::star::lang::XComponent;
72 }; }; }; };
74 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */