LibreOffice Module svx (master)  1
tbxform.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  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
19 #ifndef INCLUDED_SVX_SOURCE_INC_TBXFORM_HXX
20 #define INCLUDED_SVX_SOURCE_INC_TBXFORM_HXX
21 
22 #include <sfx2/tbxctrl.hxx>
24 
25 class SvxFmAbsRecWin final : public RecordItemWindow
26 {
27 public:
28  SvxFmAbsRecWin(vcl::Window* _pParent, SfxToolBoxControl* _pController);
29 
30 private:
31  virtual void PositionFired(sal_Int64 nRecord) override;
32 
34 };
35 
37 {
38 public:
40 
41  SvxFmTbxCtlAbsRec(sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox& rTbx);
42  virtual ~SvxFmTbxCtlAbsRec() override;
43 
44  virtual VclPtr<InterimItemWindow> CreateItemWindow(vcl::Window* pParent) override;
45 
46  virtual void StateChanged(sal_uInt16 nSID, SfxItemState eState,
47  const SfxPoolItem* pState) override;
48 };
49 
51 {
52 public:
54 
55  SvxFmTbxCtlRecText(sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox& rTbx);
56  virtual ~SvxFmTbxCtlRecText() override;
57 
58  virtual VclPtr<InterimItemWindow> CreateItemWindow(vcl::Window* pParent) override;
59 };
60 
62 {
63 public:
65 
66  SvxFmTbxCtlRecFromText(sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox& rTbx);
67  virtual ~SvxFmTbxCtlRecFromText() override;
68 
69  virtual VclPtr<InterimItemWindow> CreateItemWindow(vcl::Window* pParent) override;
70 };
71 
72 class LabelItemWindow;
73 
75 {
77 
78 public:
80 
81  SvxFmTbxCtlRecTotal(sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox& rTbx);
82  virtual ~SvxFmTbxCtlRecTotal() override;
83 
84  virtual VclPtr<InterimItemWindow> CreateItemWindow(vcl::Window* pParent) override;
85  virtual void StateChanged(sal_uInt16 nSID, SfxItemState eState,
86  const SfxPoolItem* pState) override;
87 };
88 
90 {
91 public:
93  SvxFmTbxNextRec(sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox& rTbx);
94 };
95 
97 {
98 public:
100  SvxFmTbxPrevRec(sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox& rTbx);
101 };
102 
103 #endif
104 
105 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
VclPtr< LabelItemWindow > m_xFixedText
Definition: tbxform.hxx:76
virtual ~SvxFmTbxCtlRecFromText() override
Definition: tbxform.cxx:127
SvxFmAbsRecWin(vcl::Window *_pParent, SfxToolBoxControl *_pController)
Definition: tbxform.cxx:35
sal_Int16 nId
virtual ~SvxFmTbxCtlRecText() override
Definition: tbxform.cxx:105
virtual void StateChanged(sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override
Definition: tbxform.cxx:163
virtual ~SvxFmTbxCtlAbsRec() override
Definition: tbxform.cxx:63
virtual ~SvxFmTbxCtlRecTotal() override
Definition: tbxform.cxx:149
SvxFmTbxCtlRecTotal(sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox &rTbx)
Definition: tbxform.cxx:143
SfxToolBoxControl * m_pController
Definition: tbxform.hxx:33
virtual void PositionFired(sal_Int64 nRecord) override
Definition: tbxform.cxx:41
SvxFmTbxCtlRecFromText(sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox &rTbx)
Definition: tbxform.cxx:121
virtual void StateChanged(sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override
Definition: tbxform.cxx:67
SvxFmTbxNextRec(sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox &rTbx)
Definition: tbxform.cxx:183
virtual VclPtr< InterimItemWindow > CreateItemWindow(vcl::Window *pParent) override
Definition: tbxform.cxx:131
virtual VclPtr< InterimItemWindow > CreateItemWindow(vcl::Window *pParent) override
Definition: tbxform.cxx:92
virtual VclPtr< InterimItemWindow > CreateItemWindow(vcl::Window *pParent) override
Definition: tbxform.cxx:109
SvxFmTbxPrevRec(sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox &rTbx)
Definition: tbxform.cxx:198
virtual VclPtr< InterimItemWindow > CreateItemWindow(vcl::Window *pParent) override
Definition: tbxform.cxx:153
SfxItemState
SvxFmTbxCtlAbsRec(sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox &rTbx)
Definition: tbxform.cxx:57
SvxFmTbxCtlRecText(sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox &rTbx)
Definition: tbxform.cxx:99