class FeatureSlotTranslation
{ public: /// retrieves the feature id for a given feature URL static sal_Int32 getControllerFeatureSlotIdForURL( const OUString& _rMainURL );
/// retrieves the css.form.runtime.FormFeature ID for a given slot ID static sal_Int16 getFormFeatureForSlotId( sal_Int32 _nSlotId );
/// retrieves the slot id for a given css.form.runtime.FormFeature ID static sal_Int32 getSlotIdForFormFeature( sal_Int16 _nFormFeature );
};
class IControllerFeatureInvalidation
{ public: /** invalidates the given features
class FormControllerHelper; /** easier access to a FormControllerHelper instance
*/ class ControllerFeatures final
{
IControllerFeatureInvalidation* m_pInvalidationCallback; // necessary as long as m_pImpl is not yet constructed
rtl::Reference<FormControllerHelper> m_pImpl;
/// checks whether the instance is properly assigned to a form and/or controller bool isAssigned( ) const { return m_pImpl != nullptr; }
/** assign to a controller
*/ void assign( const css::uno::Reference< css::form::runtime::XFormController >& _rxController
);
/// clears the instance so that it cannot be used afterwards void dispose();
// access to the instance which implements the functionality. Not to be used when not assigned const FormControllerHelper* operator->() const { return m_pImpl.get(); }
FormControllerHelper* operator->() { return m_pImpl.get(); }
};
//= FormControllerHelper
typedef ::cppu::WeakImplHelper < css::form::runtime::XFeatureInvalidation
, css::sdb::XSQLErrorListener
> FormControllerHelper_Base; /** is a helper class which manages form controller functionality (such as moveNext etc.).
<p>Theclasshelpsimplementingformcontrollerfunctionality,byproviding methodstodeterminethestateof,andexecute,variouscommonformfeatures.<br/> A<em>feature</em>isforinstancemovingtheformassociatedwiththecontroller toacertainposition,orreloadingtheform,andsoon.</p>
*/ class FormControllerHelper final : public FormControllerHelper_Base
{
IControllerFeatureInvalidation* m_pInvalidationCallback;
css::uno::Reference< css::form::runtime::XFormOperations >
m_xFormOperations;
css::uno::Any m_aOperationError;
public: /** constructs the helper from a <type scope="css::form::runtime">XFormController<type> instance
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.