/* -*- 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 .
*/ #ifndef INCLUDED_SVX_SOURCE_INC_FMVWIMP_HXX #define INCLUDED_SVX_SOURCE_INC_FMVWIMP_HXX
class SdrObject; class FmFormObj; class FmFormModel; class FmFormView; class FmFormShell; namespace vcl { class Window; } class OutputDevice; class SdrUnoObj; struct ImplSVEvent; enumclass SdrInventor : sal_uInt32;
namespace com::sun::star { namespace awt { class XControl; class XWindow;
} namespace beans { class XPropertySet;
} namespace util { class XNumberFormats;
}
}
class FmXFormView;
namespace svx { class ODataAccessDescriptor; struct OXFormsDescriptor;
}
FmFormObj* m_pMarkedGrid;
FmFormView* m_pView;
ImplSVEvent * m_nActivationEvent;
ImplSVEvent * m_nErrorMessageEvent; // event for an asynchronous error message. See also m_aAsyncError
ImplSVEvent * m_nAutoFocusEvent; // event for asynchronously setting the focus to a control
ImplSVEvent * m_nControlWizardEvent; // event for asynchronously setting the focus to a control
css::sdb::SQLErrorEvent
m_aAsyncError; // error event which is to be displayed asyn. See m_nErrorMessageEvent.
std::vector< rtl::Reference< FormViewPageWindowAdapter > >
m_aPageWindowAdapters; // to be filled in alive mode only typedef ::std::set< css::uno::Reference< css::form::XForm > > SetOfForms;
std::map< css::uno::Reference< css::awt::XControlContainer >, SetOfForms >
m_aNeedTabOrderUpdate; // map control container to set of forms
// list of selected objects, used for restoration when switching from Alive to DesignMode
SdrMarkList m_aMark;
std::unique_ptr<ObjectRemoveListener>
m_pWatchStoredList;
/** suspends the calls to activateTabOrder, which normally happen whenever for any ControlContainer of the view, new controls are inserted. Cannot be nested, i.e. you need to call resumeTabOrderUpdate before calling suspendTabOrderUpdate, again.
*/ void suspendTabOrderUpdate();
/** resumes calls to activateTabOrder, and also does all pending calls which were collected since the last suspendTabOrderUpdate call.
*/ void resumeTabOrderUpdate();
// asynchronously displays an error message. See also OnDelayedErrorMessage. void displayAsyncErrorMessage( const css::sdb::SQLErrorEvent& _rEvent );
// cancels all pending async events void cancelEvents();
/// the auto focus to the first (in terms of the tab order) control void AutoFocus();
DECL_LINK( OnActivate, void*, void );
DECL_LINK( OnAutoFocus, void*, void );
DECL_LINK( OnDelayedErrorMessage, void*, void );
DECL_LINK( OnStartControlWizard, void*, void );
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.