LibreOffice
LibreOffice 24.8 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 
96 
101 
102 
103  // instances
104 
111 
115 
119 
120 
121  // bindings
122 
130 
138 
145 
149 
150 
151  // submissions
152 
160 
168 
174  XSubmission getSubmission( [in] string id );
175 
179 };
180 
181 
182 }; }; }; };
183 
184 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This is a checked exception that wraps an exception thrown by the original target.
Definition: WrappedTargetException.idl:34
thrown to indicate a general veto.
Definition: VetoException.idl:29
provides information about and access to the properties from an implementation.
Definition: XPropertySet.idl:46
This is the generic interface for supporting the insertion and removal of elements.
Definition: XSet.idl:28
An interaction request handler.
Definition: XInteractionHandler.idl:27
specifies a repository of XSD data types
Definition: XDataTypeRepository.idl:29
represent an XForms model
Definition: XModel.idl:29
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:25
Definition: XDocument.idl:23
Definition: Ambiguous.idl:20