CellAppearancePropertyPanel.hxx (facb16e7) | CellAppearancePropertyPanel.hxx (4e8031e0) |
---|---|
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 --- 14 unchanged lines hidden (view full) --- 23#define SC_PROPERTYPANEL_APPEARANCE_HXX 24 25#include <sfx2/sidebar/SidebarPanelBase.hxx> 26#include <sfx2/sidebar/ControllerItem.hxx> 27#include <sfx2/sidebar/IContextChangeReceiver.hxx> 28#include <boost/scoped_ptr.hpp> 29#include <svx/sidebar/ColorPopup.hxx> 30 | 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 --- 14 unchanged lines hidden (view full) --- 23#define SC_PROPERTYPANEL_APPEARANCE_HXX 24 25#include <sfx2/sidebar/SidebarPanelBase.hxx> 26#include <sfx2/sidebar/ControllerItem.hxx> 27#include <sfx2/sidebar/IContextChangeReceiver.hxx> 28#include <boost/scoped_ptr.hpp> 29#include <svx/sidebar/ColorPopup.hxx> 30 |
31//#include <sfx2/sectionpage.hxx> 32//#include <svx/dialcontrol.hxx> 33//#include <svx/tbxcolorupdate.hxx> 34//#include <svx/tbxlineupdate.hxx> 35//#include <vcl/fixed.hxx> 36//#include <vcl/toolbox.hxx> 37//#include <vcl/button.hxx> 38//#include <vcl/field.hxx> 39//#include <svx/svxenum.hxx> 40//#include <svx/borderline.hxx> 41 | |
42class FixedText; 43namespace svx { class ToolboxButtonColorUpdater; } 44namespace sc { namespace sidebar { 45 class CellLineStylePopup; 46 class CellBorderStylePopup; 47 class CellLineStyleControl; 48 class CellBorderUpdater; 49}} --- 25 unchanged lines hidden (view full) --- 75 76 virtual void NotifyItemUpdate( 77 const sal_uInt16 nSId, 78 const SfxItemState eState, 79 const SfxPoolItem* pState); 80 81 SfxBindings* GetBindings(); 82 | 31class FixedText; 32namespace svx { class ToolboxButtonColorUpdater; } 33namespace sc { namespace sidebar { 34 class CellLineStylePopup; 35 class CellBorderStylePopup; 36 class CellLineStyleControl; 37 class CellBorderUpdater; 38}} --- 25 unchanged lines hidden (view full) --- 64 65 virtual void NotifyItemUpdate( 66 const sal_uInt16 nSId, 67 const SfxItemState eState, 68 const SfxPoolItem* pState); 69 70 SfxBindings* GetBindings(); 71 |
83 //virtual void Paint(const Rectangle &rRect); 84 //void SetColor(Color aColor, sal_uInt16 nType); 85 | |
86private: 87 //ui controls 88 ::boost::scoped_ptr< FixedText > mpFTFillColor; 89 ::boost::scoped_ptr< Window > mpTBFillColorBackground; 90 ::boost::scoped_ptr< ToolBox > mpTBFillColor; 91 ::boost::scoped_ptr< ::svx::ToolboxButtonColorUpdater > mpFillColorUpdater; 92 93 ::boost::scoped_ptr< FixedText > mpFTCellBorder; --- 123 unchanged lines hidden (view full) --- 217 Window* pParent, 218 const cssu::Reference<css::frame::XFrame>& rxFrame, 219 SfxBindings* pBindings); 220 virtual ~CellAppearancePropertyPanel(); 221 222 void Initialize(); 223 void SetStyleIcon(); 224 void UpdateControlState(); | 72private: 73 //ui controls 74 ::boost::scoped_ptr< FixedText > mpFTFillColor; 75 ::boost::scoped_ptr< Window > mpTBFillColorBackground; 76 ::boost::scoped_ptr< ToolBox > mpTBFillColor; 77 ::boost::scoped_ptr< ::svx::ToolboxButtonColorUpdater > mpFillColorUpdater; 78 79 ::boost::scoped_ptr< FixedText > mpFTCellBorder; --- 123 unchanged lines hidden (view full) --- 203 Window* pParent, 204 const cssu::Reference<css::frame::XFrame>& rxFrame, 205 SfxBindings* pBindings); 206 virtual ~CellAppearancePropertyPanel(); 207 208 void Initialize(); 209 void SetStyleIcon(); 210 void UpdateControlState(); |
225 226 227 //popup windows 228// SfxPopupPanelWin* mpFloatWinColor; 229// class ScCellBackColorPage; 230// ScCellBackColorPage* mpPageColor; 231 232// SfxPopupPanelWin* mpFloatWinLineColor; 233// class ScCellLineColorPage; 234// ScCellLineColorPage* mpPageLineColor; 235 236// SfxPopupPanelWin* mpFloatWinStyle; 237// class ScCellLineStylePage; 238// ScCellLineStylePage* mpPageStyle; 239 240// SfxPopupPanelWin* mpFloatWinBorder; 241// class ScCellLineBorderPage; 242// ScCellLineBorderPage* mpPageBorder; 243 244// void PaintRect(const ToolBox &rTB); 245 246// ScCellBackColorPage* GetColorPage(); 247// SfxPopupPanelWin* GetColorFloatWin(); 248// 249// ScCellLineColorPage* GetLineColorPage(); 250// SfxPopupPanelWin* GetLineColorFloatWin(); 251// 252// ScCellLineStylePage* GetStylePage(); 253// SfxPopupPanelWin* GetStyleFloatWin(); 254// 255// ScCellLineBorderPage* GetBorderPage(); 256// SfxPopupPanelWin* GetBorderFloatWin(); 257 258 | |
259}; 260 261} } // end of namespace ::sc::sidebar 262 263#endif 264// eof | 211}; 212 213} } // end of namespace ::sc::sidebar 214 215#endif 216// eof |