10d4dbf8bSAndre Fischer /************************************************************** 20d4dbf8bSAndre Fischer * 30d4dbf8bSAndre Fischer * Licensed to the Apache Software Foundation (ASF) under one 40d4dbf8bSAndre Fischer * or more contributor license agreements. See the NOTICE file 50d4dbf8bSAndre Fischer * distributed with this work for additional information 60d4dbf8bSAndre Fischer * regarding copyright ownership. The ASF licenses this file 70d4dbf8bSAndre Fischer * to you under the Apache License, Version 2.0 (the 80d4dbf8bSAndre Fischer * "License"); you may not use this file except in compliance 90d4dbf8bSAndre Fischer * with the License. You may obtain a copy of the License at 100d4dbf8bSAndre Fischer * 110d4dbf8bSAndre Fischer * http://www.apache.org/licenses/LICENSE-2.0 120d4dbf8bSAndre Fischer * 130d4dbf8bSAndre Fischer * Unless required by applicable law or agreed to in writing, 140d4dbf8bSAndre Fischer * software distributed under the License is distributed on an 150d4dbf8bSAndre Fischer * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 160d4dbf8bSAndre Fischer * KIND, either express or implied. See the License for the 170d4dbf8bSAndre Fischer * specific language governing permissions and limitations 180d4dbf8bSAndre Fischer * under the License. 190d4dbf8bSAndre Fischer * 200d4dbf8bSAndre Fischer *************************************************************/ 210d4dbf8bSAndre Fischer 220d4dbf8bSAndre Fischer #ifndef SVX_SIDEBAR_INSERT_PROPERTY_PAGE_HXX 230d4dbf8bSAndre Fischer #define SVX_SIDEBAR_INSERT_PROPERTY_PAGE_HXX 240d4dbf8bSAndre Fischer 250d4dbf8bSAndre Fischer #include <boost/scoped_ptr.hpp> 260d4dbf8bSAndre Fischer 270d4dbf8bSAndre Fischer #include <vcl/ctrl.hxx> 280d4dbf8bSAndre Fischer #include <com/sun/star/frame/XFrame.hpp> 290d4dbf8bSAndre Fischer #include <com/sun/star/frame/XDispatch.hpp> 300d4dbf8bSAndre Fischer #include <com/sun/star/frame/XToolbarController.hpp> 310d4dbf8bSAndre Fischer 320d4dbf8bSAndre Fischer #include <map> 330d4dbf8bSAndre Fischer 340d4dbf8bSAndre Fischer 350d4dbf8bSAndre Fischer namespace css = ::com::sun::star; 360d4dbf8bSAndre Fischer namespace cssu = ::com::sun::star::uno; 370d4dbf8bSAndre Fischer 380d4dbf8bSAndre Fischer class ToolBox; 390d4dbf8bSAndre Fischer 400d4dbf8bSAndre Fischer namespace svx { namespace sidebar { 410d4dbf8bSAndre Fischer 42*d46a1e42SAndre Fischer /** This panel provides buttons for inserting shapes into a document. 43*d46a1e42SAndre Fischer */ 440d4dbf8bSAndre Fischer class InsertPropertyPanel 450d4dbf8bSAndre Fischer : public Control 460d4dbf8bSAndre Fischer { 470d4dbf8bSAndre Fischer public: 480d4dbf8bSAndre Fischer InsertPropertyPanel ( 490d4dbf8bSAndre Fischer Window* pParent, 500d4dbf8bSAndre Fischer const cssu::Reference<css::frame::XFrame>& rxFrame); 510d4dbf8bSAndre Fischer virtual ~InsertPropertyPanel (void); 520d4dbf8bSAndre Fischer 530d4dbf8bSAndre Fischer private: 54*d46a1e42SAndre Fischer ::boost::scoped_ptr<Window> mpStandardShapesBackground; 550d4dbf8bSAndre Fischer ::boost::scoped_ptr<ToolBox> mpStandardShapesToolBox; 56*d46a1e42SAndre Fischer ::boost::scoped_ptr<Window> mpCustomShapesBackground; 570d4dbf8bSAndre Fischer ::boost::scoped_ptr<ToolBox> mpCustomShapesToolBox; 580d4dbf8bSAndre Fischer const cssu::Reference<css::frame::XFrame> mxFrame; 59*d46a1e42SAndre Fischer 600d4dbf8bSAndre Fischer DECL_LINK(WindowEventListener, VclSimpleEvent*); 610d4dbf8bSAndre Fischer }; 620d4dbf8bSAndre Fischer 630d4dbf8bSAndre Fischer 640d4dbf8bSAndre Fischer } } // end of namespace ::svx::sidebar 650d4dbf8bSAndre Fischer 660d4dbf8bSAndre Fischer #endif 67