LibreOffice
LibreOffice 24.2 SDK API Reference
|
encapsulates operations on a database form which has a UI representation, and is interacting with the user. More...
import <FormOperations.idl;
Public Member Functions | |
createWithFormController ([in] XFormController Controller) raises ( ::com::sun::star::lang::IllegalArgumentException ) | |
creates a FormOperations instance which works on a com::sun::star::form::FormController instance. | |
createWithForm ([in] XForm Form) raises ( ::com::sun::star::lang::IllegalArgumentException ) | |
creates a FormOperations instance which works on a com::sun::star::form::component::DataForm instance. | |
![]() | |
FeatureState | getState ([in] short Feature) |
retrieves the current state of the given feature | |
boolean | isEnabled ([in] short Feature) |
determines whether a feature is currently enabled. | |
void | execute ([in] short Feature) raises ( ::com::sun::star::lang::IllegalArgumentException , ::com::sun::star::sdbc::SQLException , ::com::sun::star::lang::WrappedTargetException ) |
executes the operation associated with the given feature | |
void | executeWithArguments ([in] short Feature, [in] sequence< ::com::sun::star::beans::NamedValue > Arguments) raises ( ::com::sun::star::lang::IllegalArgumentException , ::com::sun::star::sdbc::SQLException , ::com::sun::star::lang::WrappedTargetException ) |
executes the operation associated with the given feature, with passing arguments for execution | |
boolean | commitCurrentRecord ([out] boolean RecordInserted) raises ( ::com::sun::star::sdbc::SQLException ) |
commits the current record of the form | |
boolean | commitCurrentControl () raises ( ::com::sun::star::sdbc::SQLException ) |
commits the current control of our controller | |
boolean | isInsertionRow () raises ( ::com::sun::star::lang::WrappedTargetException ) |
determines whether the form is currently positioned on the insertion row | |
boolean | isModifiedRow () raises ( ::com::sun::star::lang::WrappedTargetException ) |
determines whether the current row of the form is modified | |
![]() | |
void | dispose () |
The owner of an object calls this method to explicitly free all resources kept by this object and thus break cyclic references. | |
void | addEventListener ([in] XEventListener xListener) |
adds an event listener to the object. | |
void | removeEventListener ([in] XEventListener aListener) |
removes an event listener from the listener list. | |
![]() | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. | |
void | acquire () |
increases the reference counter by one. | |
void | release () |
decreases the reference counter by one. | |
Additional Inherited Members | |
![]() | |
::com::sun::star::sdbc::XRowSet | Cursor |
provides access to the cursor of the form the instance is operating on. | |
::com::sun::star::sdbc::XResultSetUpdate | UpdateCursor |
provides access to the update cursor of the form the instance is operating on. | |
::com::sun::star::form::runtime::XFormController | Controller |
provides access to the form controller which the instance is operating on. | |
XFeatureInvalidation | FeatureInvalidation |
denotes the instance which should be notified about features whose state might have changed. | |
encapsulates operations on a database form which has a UI representation, and is interacting with the user.
createWithForm | ( | [in] XForm | Form | ) | ||
raises | ( | ::com::sun::star::lang::IllegalArgumentException ) |
creates a FormOperations
instance which works on a com::sun::star::form::component::DataForm instance.
IllegalArgumentException | if the given form is NULL , or does not support the com::sun::star::form::component::DataForm service. |
createWithFormController | ( | [in] XFormController | Controller | ) | ||
raises | ( | ::com::sun::star::lang::IllegalArgumentException ) |
creates a FormOperations
instance which works on a com::sun::star::form::FormController instance.
IllegalArgumentException | if the given form controller is NULL , or does not have a model denoting a valid com::sun::star::form::component::DataForm instance. |