LibreOffice Module vcl (master)  1
formattedfielduiobject.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  */
9 
10 #ifndef INCLUDED_VCL_UITEST_FORMATTEDFIELDUIOBJECT_HXX
11 #define INCLUDED_VCL_UITEST_FORMATTEDFIELDUIOBJECT_HXX
12 
13 #include <vcl/uitest/uiobject.hxx>
14 
15 class FormattedField;
16 
18 {
20 
21 public:
23  virtual ~FormattedFieldUIObject() override;
24 
25  virtual void execute(const OUString& rAction, const StringMap& rParameters) override;
26 
27  virtual StringMap get_state() override;
28 
29  static std::unique_ptr<UIObject> create(vcl::Window* pWindow);
30 
31 private:
32  virtual OUString get_name() const override;
33 };
34 
35 #endif
36 
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual OUString get_name() const override
VclPtr< FormattedField > mxFormattedField
FormattedFieldUIObject(const VclPtr< FormattedField > &xEdit)
virtual ~FormattedFieldUIObject() override
virtual void execute(const OUString &rAction, const StringMap &rParameters) override
Executes an action on the wrapped UI object, possibly with some additional parameters.
static std::unique_ptr< UIObject > create(vcl::Window *pWindow)
std::map< OUString, OUString > StringMap
virtual StringMap get_state() override
Returns the state of the wrapped UI object as a string key value map.