fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / writerfilter / source / dmapper / FFDataHandler.hxx
blobaeff21f62073f75dea1bab9c228a5a4fd1e9203c
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef INCLUDED_FFDataHandler_HXX
20 #define INCLUDED_FFDataHandler_HXX
21 #include <resourcemodel/LoggedResources.hxx>
22 #include <rtl/ustring.hxx>
23 namespace writerfilter {
24 namespace dmapper {
25 class FFDataHandler : public LoggedProperties
27 public:
28 // typedefs
29 typedef ::boost::shared_ptr<FFDataHandler> Pointer_t;
30 typedef ::std::vector<OUString> DropDownEntries_t;
32 // constructor
33 FFDataHandler();
34 // destructor
35 virtual ~FFDataHandler();
37 // member: name
38 const OUString & getName() const;
40 // member: helpText
41 const OUString & getHelpText() const;
43 // member: statusText
44 const OUString & getStatusText() const;
46 // member: checkboxHeight
47 sal_uInt32 getCheckboxHeight() const;
49 // member: checkboxAutoHeight
50 bool getCheckboxAutoHeight() const;
52 // member: checkboxChecked or checkboxDefault (if the previous is not set)
53 bool getCheckboxChecked() const;
55 // member: dropDownResult
56 const OUString & getDropDownResult() const;
58 // member: dropDownEntries
59 const DropDownEntries_t & getDropDownEntries() const;
61 // member: textDefault
62 const OUString & getTextDefault() const;
64 // sprm
65 void resolveSprm(Sprm & r_sprm);
67 private:
68 OUString m_sName;
69 OUString m_sHelpText;
70 OUString m_sStatusText;
71 sal_uInt32 m_nCheckboxHeight;
72 bool m_bCheckboxAutoHeight;
73 int m_nCheckboxChecked;
74 int m_nCheckboxDefault;
75 OUString m_sDropDownResult;
76 DropDownEntries_t m_DropDownEntries;
77 OUString m_sTextDefault;
79 // sprm
80 void lcl_sprm(Sprm & r_sprm);
82 // attribute
83 void lcl_attribute(Id name, Value & val);
88 #endif //INCLUDED_FFDataHandler_HXX
90 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */