LibreOffice
LibreOffice 24.2 SDK API Reference
XModel.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 
20 
21 module com { module sun { module star { module xforms {
22 
23 interface XSubmission;
24 
25 
28 interface XModel
29 {
31  string getID();
32 
34  void setID( [in] string id );
35 
36 
38  void initialize();
39 
41  void rebuild();
42 
44  void recalculate();
45 
47  void revalidate();
48 
50  void refresh();
51 
52 
70  void submit( [in] string id )
72 
94  void submitWithInteraction( [in] string id, [in] com::sun::star::task::XInteractionHandler aHandler )
96 
100  getDataTypeRepository( );
101 
102 
103  // instances
104 
110  com::sun::star::container::XSet getInstances();
111 
114  com::sun::star::xml::dom::XDocument getInstanceDocument( [in] string id );
115 
118  com::sun::star::xml::dom::XDocument getDefaultInstance();
119 
120 
121  // bindings
122 
129  com::sun::star::beans::XPropertySet createBinding();
130 
138 
144  com::sun::star::beans::XPropertySet getBinding( [in] string id );
145 
148  com::sun::star::container::XSet getBindings();
149 
150 
151  // submissions
152 
159  XSubmission createSubmission();
160 
167  XSubmission cloneSubmission( [in] com::sun::star::beans::XPropertySet submission );
168 
174  XSubmission getSubmission( [in] string id );
175 
178  com::sun::star::container::XSet getSubmissions();
179 };
180 
181 
182 }; }; }; };
183 
184 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
represent an XForms model
Definition: XModel.idl:28
specifies a repository of XSD data types
Definition: XDataTypeRepository.idl:28
specifies a submission object, associated with an XModel
Definition: XSubmission.idl:24
This is the generic interface for supporting the insertion and removal of elements.
Definition: XSet.idl:27
Definition: Ambiguous.idl:20
An interaction request handler.
Definition: XInteractionHandler.idl:26
thrown to indicate a general veto.
Definition: VetoException.idl:28
This is a checked exception that wraps an exception thrown by the original target.
Definition: WrappedTargetException.idl:33
provides information about and access to the properties from an implementation.
Definition: XPropertySet.idl:45
Definition: XDocument.idl:22