| Methods' Details | 
getID
 
- Description
 
- get the XForms model ID 
 
 
 | 
 
 
 | 
setID
| void | 
 
| setID( | 
[in] string | 
 id ); | 
 
 
 
- Description
 
- set the XForms model ID 
 
 
 | 
 
 
 | 
initialize
 
- Description
 
- initialize the model 
 
 
 | 
 
 
 | 
rebuild
 
- Description
 
- rebuild the model 
 
 
 | 
 
 
 | 
recalculate
 
- Description
 
- re-evaluate all calculate attributes 
 
 
 | 
 
 
 | 
revalidate
 
- Description
 
- re-evaluate all validity attributes 
 
 
 | 
 
 
 | 
refresh
 
- Description
 
- refresh the model 
 
 
 | 
 
 
 | 
submit
 
- Description
 
- submit form through given submission id
 
 
This is a convenience method. Calling it is equivalent to calling
 getSubmission( id ).submit(). 
  
- Parameter id
 
- the ID of the submission to execute
 
 
- Throws
 
- com::sun::star::util::VetoException
 when the current model state does not allow a submission. Usually, this indicates that
 consistency criteria for the model data is not fulfilled.
 
 
- Throws
 
- com::sun::star::lang::WrappedTargetException
 when another error occured during the submission. The
 ::com::sun::star::lang::WrappedTargetException::TargetException describes
 this error then.
 
 
 
 | 
 
 
 | 
submitWithInteraction
 
- Description
 
- submit form through given submission id
 
 
This is a convenience method. Calling it is equivalent to calling
 getSubmission( id, handler ).submit(). 
  
- Parameter id
 
- the ID of the submission to execute
 
 
- Parameter aHandler
 
- This handler allows additional user interaction, which may be necessary before
 the submission can be performed.
 
 
- Throws
 
- com::sun::star::util::VetoException
 when the current model state does not allow a submission. Usually, this indicates that
 consistency criteria for the model data is not fulfilled.
 
 
- Throws
 
- com::sun::star::lang::WrappedTargetException
 when another error occured during the submission. The
 ::com::sun::star::lang::WrappedTargetException::TargetException describes
 this error then.
 
 
 
 | 
 
 
 | 
getDataTypeRepository
 
- Description
 
- provides management access to the XSD data types associated with the model
 
 
 
 | 
 
 
 | 
getInstances
 
- Description
 
- gets container containing all instances; 
 
 
The elements of the set are arrays of ::com::sun::star::beans::PropertyValues,
 containing the ID, the URL, and the instance itself. 
  
 
 | 
 
 
 | 
getInstanceDocument
| ::com::sun::star::xml::dom::XDocument | 
 
| getInstanceDocument( | 
[in] string | 
 id ); | 
 
 
 
- Description
 
- retrieves the instance with the given id
 
 
 
 | 
 
 
 | 
getDefaultInstance
 
- Description
 
- get the default instance for this model
 
 
 
 | 
 
 
 | 
createBinding
 
- Description
 
- create a binding element for this model
 
 
The returned binding still needs to be inserted into the bindings container. 
  
- See also
 
- getBindings
 
 
 | 
 
 
 | 
cloneBinding
 
- Description
 
- clone an arbitrary binding element for this model; still needs
 
 
The returned binding still needs to be inserted into the bindings container. 
  
- See also
 
- getBindings
 
 
 | 
 
 
 | 
getBinding
 
- Description
 
- get a binding with a certain ID
 
 
This is a convenience method: the same result can also be obtained through
 getBindings 
  
 
 | 
 
 
 | 
getBindings
 
- Description
 
- get a container containing all bindings; also supports XNameAccess
 
 
 
 | 
 
 
 | 
createSubmission
 
- Description
 
- create a submission element for this model
 
 
 
The returned submission element still needs to be inserted into the submission container. 
  
- See also
 
- getSubmissions
 
 
 | 
 
 
 | 
cloneSubmission
 
- Description
 
- clone an arbitrary submission element for this model
 
 
The returned submission element still needs to be inserted into the submission container. 
  
- See also
 
- getSubmissions
 
 
 | 
 
 
 | 
getSubmission
 
- Description
 
- get a submission with a certain ID.
 
 
This is a convenience method: the same result can also be obtained through
 getSubmissions. 
  
 
 | 
 
 
 | 
getSubmissions
 
- Description
 
- get container containing all submissions; also supports XNameAccess
 
 
 
 | 
 
 
 | 
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.