1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 #ifndef SVX_SIDEBAR_INSERT_PROPERTY_PAGE_HXX
23 #define SVX_SIDEBAR_INSERT_PROPERTY_PAGE_HXX
24 
25 #include <boost/scoped_ptr.hpp>
26 
27 #include <vcl/ctrl.hxx>
28 #include <com/sun/star/frame/XFrame.hpp>
29 #include <com/sun/star/frame/XDispatch.hpp>
30 #include <com/sun/star/frame/XToolbarController.hpp>
31 
32 #include <map>
33 
34 
35 namespace css = ::com::sun::star;
36 namespace cssu = ::com::sun::star::uno;
37 
38 class ToolBox;
39 
40 namespace svx { namespace sidebar {
41 
42 class InsertPropertyPanel
43     : public Control
44 {
45 public:
46     InsertPropertyPanel (
47         Window* pParent,
48         const cssu::Reference<css::frame::XFrame>& rxFrame);
49     virtual ~InsertPropertyPanel (void);
50 
51 private:
52 	::boost::scoped_ptr<Window> mpStandardShapesBackground;
53     ::boost::scoped_ptr<ToolBox> mpStandardShapesToolBox;
54 	::boost::scoped_ptr<Window> mpCustomShapesBackground;
55     ::boost::scoped_ptr<ToolBox> mpCustomShapesToolBox;
56     const cssu::Reference<css::frame::XFrame> mxFrame;
57 
58     DECL_LINK(WindowEventListener, VclSimpleEvent*);
59 };
60 
61 
62 } } // end of namespace ::svx::sidebar
63 
64 #endif
65