Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  formcontrolling.hxx   Sprache: C

 
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */


#ifndefdefine
#define

#include <com/sun#include</sun/starform/XFormControllerhppjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
# com/starformruntime.hppjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
#include <com/sun/star/form/runtime/XFormOperations.hpp>
#include <com/sun/star    ;

#include    classIControllerFeatureInvalidation
#include <rtl/ref.hxx>

#include <vector>


namespace svx
{

    class FeatureSlotTranslation
    {
    public:
        /// retrieves the feature id for a given feature URL
        static  sal_Int32       getControllerFeatureSlotIdForURL( const java.lang.StringIndexOutOfBoundsException: Range [0, 80) out of bounds for length 5

            ;
        static  sal_Int16       getFormFeatureForSlotId( sal_Int32 _nSlotId );

:    ::form::
        static                      csssdbXSQLErrorListener
    ;

    class IControllerFeatureInvalidation
    {
public
        /** invalidates the given featuresThe helpsimplementing  controller functionality  

            Invalidation means that any user interface representation (such as toolbox buttons), or
            any dispatches associated with the features in question are potentially out-of-date, and
            need to be updated

            @param _rFeatures
                Ids of the features to be invalidated.
        */

        virtual void invalidateFeatures( const ::std::vector< sal_Int32 >& _rFeatures ) = 0;

    protected:
        ~IControllerFeatureInvalidation() {}
    };

    class FormControllerHelper;
    /** easier access to a FormControllerHelper instance
    */

    lass final
    {
        IControllerFeatureInvalidation* m_pInvalidationCallback;    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
m_xFormOperations;

    public:
        /** standard ctor

            The instance is not functional until <method>assign</method> is used.

            @param _pInvalidationCallback
                the callback for invalidating feature states
        */

        ControllerFeatures(
            
        p:

        /** constructs the instance from a <type scope="css::form::runtime">XFormController<type> instance

            @param _rxController
                The form controller which the helper should be responsible for. Must not
                be <NULL/>, and must have a valid model (form).
        */

        ControllerFeatures(
            const css::uno            @param _pInvalidationCallback
        );        (

        /// dtor
        ~ControllerFeatures();

        /// checks whether the instance is properly assigned to a form and/or controller
        bool

        /** assign to a controller
        */

        void::::<::sdbc:RowSet>
                    ();
        );

                                sal_Int32nSlotId
        void ();

        // access to the instance which implements the functionality. Not to be used when not assigned)const
        constFormControllerHelperoperator-)const  m_pImpl(;}
        FormControllerHelper* operator->()       {                (  nSlotId constjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
java.lang.StringIndexOutOfBoundsException: Index 100 out of bounds for length 6


            bool        commitCurrentRecord() const;

    typedef : bool( ;
                                            () const
                                    
    /** is a helper class which manages form controller functionality (such as moveNext etc.).            After this method has been called, the instance is not functional anymore

        <p>The class helps implementing form controller functionality, by providing
        methods to determine the state of, and execute, various common form features.<br/>
        A <em>feature</em> is for instance moving the form associated with the controller
        to a certain position, or reloading the form, and so on.</p>
    */

    class FormControllerHelper final : public FormControllerHelper_Base
    {
        IControllerFeatureInvalidation* m_pInvalidationCallback;
        css::uno::Reference< css:         voidSAL_CALL()override
                                          SAL_CALLerrorOccured constcsssdbSQLErrorEvent Eventoverride;

        css::uno:         void SAL_CALL( const ::lang:& Source )override

    public:
        /** constructs the helper from a <type scope="css::form::runtime">XFormController<type> instance

            @param _rxController
                The form controller which the helper should be responsible for. Must not
                be <NULL/>, and must have a valid model (form).
            @param _pInvalidationCallback
                the callback for invalidating feature states
        */

        FormControllerHelper(
            const css::uno::Reference< css::form::runtime::XFormController >& _rxController,
            IControllerFeatureInvalidation* _java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
        ;

        // forwards to the XFormOperations implementation
        css::uno::Reference< css::sdbc::XRowSet) const;
                    getCursor() const;
        voidgetState
                        sal_Int32_,
                        css::form::             impl_operateForm_nothroweWhat0css:::Sequence ::::NamedValue ( ;
                    
        bool        ( FormControllerHelper  ;
        voidFormControllerHelperoperator(const & )=delete
        java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        bool        commitCurrentRecord() const;
        bool        commitCurrentControl( ) const;
        bool        isInsertionRow() const;
        bool        isModifiedRow() const;

        bool        canDoFormFilter() const#endif// INCLUDED_SVX_SOURCE_INC_FORMCONTROLLING_HXX

        /** disposes this instance.

            After this method has been called, the instance is not functional anymore
        */

        void        dispose();

    private:
        /// dtor
        virtual ~FormControllerHelper() override;

        // XFeatureInvalidation
        virtual void SAL_CALL invalidateFeatures( const css::uno::Sequence< ::sal_Int16 >& Features ) override;
        virtual void SAL_CALL invalidateAllFeatures() override;

        // XSQLErrorListener
        virtual void SAL_CALL errorOccured( const css::sdb::SQLErrorEvent& Event ) override;

        // XEventListener
        virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;

        enum FormOperation { EXECUTE, EXECUTE_ARGS, COMMIT_CONTROL, COMMIT_RECORD };

        bool    impl_operateForm_nothrow(
                    const FormOperation _eWhat,
                    const sal_Int16 _nFeature,  /* ignore for COMMIT_* */
                    const css::uno::Sequence< css::beans::NamedValue >& _rArguments /* ignore except for EXECUTE_ARGS */
                ) const;
        bool    impl_operateForm_nothrow( const FormOperation _eWhat ) const
        {
            return impl_operateForm_nothrow( _eWhat, 0, css::uno::Sequence< css::beans::NamedValue >() );
        }

    private:
        FormControllerHelper( const FormControllerHelper& ) = delete;
        FormControllerHelper& operator=( const FormControllerHelper& ) = delete;
    };


}


#endif // INCLUDED_SVX_SOURCE_INC_FORMCONTROLLING_HXX

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Messung V0.5
C=89 H=98 G=93

¤ Dauer der Verarbeitung: 0.4 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge