fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / sd / source / ui / toolpanel / controls / TableDesignPanel.hxx
blob82e862d0a0a6f411bc267caacd4753b96d4d83c2
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 .
20 #ifndef SD_TOOLPANEL_CONTROLS_TABLE_DESIGN_PANEL_HXX
21 #define SD_TOOLPANEL_CONTROLS_TABLE_DESIGN_PANEL_HXX
23 #include "taskpane/SubToolPanel.hxx"
25 namespace sd { namespace toolpanel {
26 class TreeNode;
27 class ControlFactory;
28 class ToolPanelViewShell;
29 } }
31 namespace sd { namespace toolpanel { namespace controls {
33 class TableDesignPanel
34 : public SubToolPanel
36 public:
37 TableDesignPanel (
38 ::Window& i_rParentWindow,
39 ToolPanelViewShell& i_rPanelViewShell);
40 virtual ~TableDesignPanel (void);
42 static std::auto_ptr<ControlFactory> CreateControlFactory (ToolPanelViewShell& i_rToolPanelShell);
44 // TreeNode overridables
45 virtual TaskPaneShellManager* GetShellManager();
47 // ILayoutableWindow overridables
48 virtual Size GetPreferredSize (void);
49 virtual sal_Int32 GetPreferredWidth (sal_Int32 nHeigh);
50 virtual sal_Int32 GetPreferredHeight (sal_Int32 nWidth);
51 virtual ::Window* GetWindow (void);
52 virtual bool IsResizable (void);
53 virtual bool IsExpandable (void) const;
55 virtual ::com::sun::star::uno::Reference<
56 ::com::sun::star::accessibility::XAccessible > CreateAccessibleObject (
57 const ::com::sun::star::uno::Reference<
58 ::com::sun::star::accessibility::XAccessible>& rxParent);
60 using Window::GetWindow;
61 private:
62 Size maPreferredSize;
63 ::Window* mpWrappedControl;
64 ToolPanelViewShell* m_pPanelViewShell;
67 } } } // end of namespace ::sd::toolpanel::controls
69 #endif
71 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */