(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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.
Exported Interfaces - Details
::com::sun::star::inspection::XPropertyHandler
(referenced entity's summary:)
is the basic interface for object inspection.

 
Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.