LibreOffice
LibreOffice 7.4 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 #ifndef __com_sun_star_xforms_XModel_idl__
20 #define __com_sun_star_xforms_XModel_idl__
21 
23 
31 
32 
33 module com { module sun { module star { module xforms {
34 
35 interface XSubmission;
36 
37 
40 interface XModel
41 {
43  string getID();
44 
46  void setID( [in] string id );
47 
48 
50  void initialize();
51 
53  void rebuild();
54 
56  void recalculate();
57 
59  void revalidate();
60 
62  void refresh();
63 
64 
82  void submit( [in] string id )
84 
108 
113 
114 
115  // instances
116 
123 
127 
131 
132 
133  // bindings
134 
142 
150 
157 
161 
162 
163  // submissions
164 
172 
180 
186  XSubmission getSubmission( [in] string id );
187 
191 };
192 
193 
194 }; }; }; };
195 
196 #endif
197 
198 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This is a checked exception that wraps an exception thrown by the original target.
Definition: WrappedTargetException.idl:38
thrown to indicate a general veto.
Definition: VetoException.idl:34
provides information about and access to the properties from an implementation.
Definition: XPropertySet.idl:64
This is the generic interface for supporting the insertion and removal of elements.
Definition: XSet.idl:38
An interaction request handler.
Definition: XInteractionHandler.idl:33
specifies a repository of XSD data types
Definition: XDataTypeRepository.idl:39
represent an XForms model
Definition: XModel.idl:41
com::sun::star::beans::XPropertySet cloneBinding([in] com::sun::star::beans::XPropertySet binding)
clone an arbitrary binding element for this model; still needs
com::sun::star::container::XSet getInstances()
gets container containing all instances;
void initialize()
initialize the model
com::sun::star::xml::dom::XDocument getDefaultInstance()
get the default instance for this model
XDataTypeRepository getDataTypeRepository()
provides management access to the XSD data types associated with the model
void recalculate()
re-evaluate all calculate attributes
void submitWithInteraction([in] string id, [in] com::sun::star::task::XInteractionHandler aHandler)
submit form through given submission id
void submit([in] string id)
submit form through given submission id
void rebuild()
rebuild the model
void revalidate()
re-evaluate all validity attributes
void refresh()
refresh the model
string getID()
get the XForms model ID
com::sun::star::beans::XPropertySet createBinding()
create a binding element for this model
com::sun::star::xml::dom::XDocument getInstanceDocument([in] string id)
retrieves the instance with the given id
XSubmission cloneSubmission([in] com::sun::star::beans::XPropertySet submission)
clone an arbitrary submission element for this model
XSubmission getSubmission([in] string id)
get a submission with a certain ID.
com::sun::star::container::XSet getSubmissions()
get container containing all submissions; also supports XNameAccess
com::sun::star::container::XSet getBindings()
get a container containing all bindings; also supports XNameAccess
com::sun::star::beans::XPropertySet getBinding([in] string id)
get a binding with a certain ID
void setID([in] string id)
set the XForms model ID
XSubmission createSubmission()
create a submission element for this model
specifies a submission object, associated with an XModel
Definition: XSubmission.idl:33
Definition: XDocument.idl:36
Definition: Ambiguous.idl:22