:: com :: sun :: star :: form :: inspection ::
|
unpublished |
service XSDValidationPropertyHandler |
|
|
- Usage Restrictions
- not published
- Description
- implements a property handler for use with an ::com::sun::star::inspection::ObjectInspector
which provides properties related to binding form control models to XForm bindings and validating
the form control content.
By using an XMLFormsPropertyHandler, an ::com::sun::star::inspection::ObjectInspector
can be used to bind form components to ::com::sun::star::xforms::Binding instances.
Since those instances also support validating form control content (by supporting an
::com::sun::star::form::validation::XValidator interface), it seems reasonable to
edit those validate-related properties (like the XSD data type to validate against) in the
::com::sun::star::inspection::ObjectInspector, too. This is what an XSDValidationPropertyHandler
is good for.
The handler expects a value named "ContextDocument" in the context in which it is created.
That is, the ::com::sun::star::uno::XComponentContext used for creating the
CellBindingPropertyHandler is examined for a value with this name. If the object in this
value denotes a XML form document (indicated by supporting the ::com::sun::star::xforms::XFormsSupplier
interface), this document is used to do XML binding related work.
- See also
- ::com::sun::star::inspection::XPropertyHandler, ::com::sun::star::form::binding::BindableControlModel, ::com::sun::star::form::binding::ValueBinding, com::sun::star::forms::validation::ValidatableControlModel, ::com::sun::star::xforms::Binding, ::com::sun::star::xsd::XDataType, ::com::sun::star::uno::XComponentContext::getValueByName
|
Exported Interfaces - Summary |
::com::sun::star::inspection::XPropertyHandler |
- (referenced entity's summary:)
- is the basic interface for object inspection.
|
Top of Page
Copyright © 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.