TextPropertyPanel.hxx (65be1ea2) TextPropertyPanel.hxx (f79579d2)
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

--- 45 unchanged lines hidden (view full) ---

54 : public Control,
55 public ::sfx2::sidebar::IContextChangeReceiver,
56 public ::sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
57{
58public:
59 static TextPropertyPanel* Create (
60 Window* pParent,
61 const cssu::Reference<css::frame::XFrame>& rxFrame,
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

--- 45 unchanged lines hidden (view full) ---

54 : public Control,
55 public ::sfx2::sidebar::IContextChangeReceiver,
56 public ::sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
57{
58public:
59 static TextPropertyPanel* Create (
60 Window* pParent,
61 const cssu::Reference<css::frame::XFrame>& rxFrame,
62 SfxBindings* pBindings,
63 const cssu::Reference<css::ui::XSidebar>& rxSidebar);
62 SfxBindings* pBindings);
64
65 virtual void DataChanged (const DataChangedEvent& rEvent);
66 ::sfx2::sidebar::ControllerItem& GetSpaceController();
67 long GetSelFontSize();
68 void SetSpacing(long nKern);
69 void EndSpacingPopupMode (void);
70 void EndUnderlinePopupMode (void);
71 void SetFontColor (const String& rsColorName,const Color aColor);

--- 86 unchanged lines hidden (view full) ---

158 TextCharacterSpacingPopup maCharSpacePopup;
159 TextUnderlinePopup maUnderlinePopup;
160 ColorPopup maFontColorPopup;
161 ColorPopup maBrushColorPopup;
162
163 cssu::Reference<css::frame::XFrame> mxFrame;
164 ::sfx2::sidebar::EnumContext maContext;
165 SfxBindings* mpBindings;
63
64 virtual void DataChanged (const DataChangedEvent& rEvent);
65 ::sfx2::sidebar::ControllerItem& GetSpaceController();
66 long GetSelFontSize();
67 void SetSpacing(long nKern);
68 void EndSpacingPopupMode (void);
69 void EndUnderlinePopupMode (void);
70 void SetFontColor (const String& rsColorName,const Color aColor);

--- 86 unchanged lines hidden (view full) ---

157 TextCharacterSpacingPopup maCharSpacePopup;
158 TextUnderlinePopup maUnderlinePopup;
159 ColorPopup maFontColorPopup;
160 ColorPopup maBrushColorPopup;
161
162 cssu::Reference<css::frame::XFrame> mxFrame;
163 ::sfx2::sidebar::EnumContext maContext;
164 SfxBindings* mpBindings;
166 cssu::Reference<css::ui::XSidebar> mxSidebar;
167
168 TextPropertyPanel (
169 Window* pParent,
170 const cssu::Reference<css::frame::XFrame>& rxFrame,
165
166 TextPropertyPanel (
167 Window* pParent,
168 const cssu::Reference<css::frame::XFrame>& rxFrame,
171 SfxBindings* pBindings,
172 const cssu::Reference<css::ui::XSidebar>& rxSidebar);
169 SfxBindings* pBindings);
173 virtual ~TextPropertyPanel (void);
174
175
176 PopupControl* CreateCharacterSpacingControl (PopupContainer* pParent);
177 PopupControl* CreateFontColorPopupControl (PopupContainer* pParent);
178 PopupControl* CreateBrushColorPopupControl (PopupContainer* pParent);
179 PopupControl* CreateUnderlinePopupControl (PopupContainer* pParent);
180 DECL_LINK(SpacingClickHdl, ToolBox*);

--- 29 unchanged lines hidden ---
170 virtual ~TextPropertyPanel (void);
171
172
173 PopupControl* CreateCharacterSpacingControl (PopupContainer* pParent);
174 PopupControl* CreateFontColorPopupControl (PopupContainer* pParent);
175 PopupControl* CreateBrushColorPopupControl (PopupContainer* pParent);
176 PopupControl* CreateUnderlinePopupControl (PopupContainer* pParent);
177 DECL_LINK(SpacingClickHdl, ToolBox*);

--- 29 unchanged lines hidden ---