LibreOffice Module sc (master) 1
tabvwsh.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19
20#pragma once
21
23#include <formula/opcode.hxx>
24#include <svx/fmshell.hxx>
25#include <sfx2/viewsh.hxx>
26#include <editeng/svxenum.hxx>
27#include <o3tl/deleter.hxx>
28#include <scdllapi.h>
29#include "dbfunc.hxx"
30#include "target.hxx"
31#include <shellids.hxx>
32#include <tabprotection.hxx>
33#include <com/sun/star/ui/dialogs/DialogClosedEvent.hpp>
34#include <dragdata.hxx>
35
36#include <memory>
37#include <map>
38
39class SdrOle2Obj;
40class SfxBindings;
41class SfxChildWindow;
43struct SfxChildWinInfo;
44
45class ScArea;
46class ScAuditingShell;
47class ScDrawShell;
49class ScEditShell;
50class ScInputHandler;
51class ScPivotShell;
52class ScDrawFormShell;
53class ScCellShell;
55class ScGraphicShell;
56class ScMediaShell;
57class ScChartShell;
59class ScDPObject;
61class ScRangeName;
63namespace sc { class SparklineShell; }
64
66
67namespace editeng { class SvxBorderLine; }
68
69namespace com::sun::star::frame { class XDispatchProviderInterceptor; }
70
71namespace svx {
72 class ExtrusionBar;
73 class FontworkBar;
74}
75
77{
91};
92
93class ScFormEditData;
95{
96private:
98 sal_uInt16 nDrawSfxId;
100 OUString sDrawCustom; // current custom shape type
101 std::unique_ptr<ScDrawShell> pDrawShell;
102 std::unique_ptr<ScDrawTextObjectBar> pDrawTextShell;
103 std::unique_ptr<ScEditShell> pEditShell;
104 std::unique_ptr<ScPivotShell> pPivotShell;
105 std::unique_ptr<sc::SparklineShell> m_pSparklineShell;
106 std::unique_ptr<ScAuditingShell> pAuditingShell;
107 std::unique_ptr<ScDrawFormShell> pDrawFormShell;
108 std::unique_ptr<ScCellShell> pCellShell;
109 std::unique_ptr<ScOleObjectShell> pOleObjectShell;
110 std::unique_ptr<ScChartShell> pChartShell;
111 std::unique_ptr<ScGraphicShell> pGraphicShell;
112 std::unique_ptr<ScMediaShell> pMediaShell;
113 std::unique_ptr<ScPageBreakShell> pPageBreakShell;
114 std::unique_ptr<svx::ExtrusionBar> pExtrusionBarShell;
115 std::unique_ptr<svx::FontworkBar> pFontworkBarShell;
116
117 std::unique_ptr<FmFormShell> pFormShell;
118
119 std::unique_ptr<ScFormEditData> mpFormEditData;
120 std::unique_ptr<ScInputHandler, o3tl::default_delete<ScInputHandler>> mpInputHandler; // for OLE input cell
121
122 std::unique_ptr<::editeng::SvxBorderLine> pCurFrameLine;
123
124 css::uno::Reference< css::frame::XDispatchProviderInterceptor >
126
128
130 std::unique_ptr<ScDPObject> pDialogDPObject;
131
132 std::unique_ptr<ScNavigatorSettings> pNavSettings;
133
134 // used in first Activate
136
145
146 bool bFormShellAtTop; // does the FormShell need to be on top?
147
148 bool bDontSwitch; // Don't turn off EditShell
149 bool bInFormatDialog; // for GetSelectionText
150
151 bool bReadOnly; // to detect status changes
152
154
155 bool bForceFocusOnCurCell; // #i123629#
156
159
160 sal_uInt16 nCurRefDlgId;
161
162 std::unique_ptr<SfxBroadcaster> pAccessibilityBroadcaster;
163
164 // ugly hack for Add button in ScNameDlg
165 std::map<OUString, ScRangeName> m_RangeMap;
167 OUString maName;
168 OUString maScope;
169
170 std::unique_ptr<ScDragData> m_pDragData;
171private:
172 void Construct( TriState nForceDesignMode );
173
174 SfxShell* GetMySubShell() const;
175
176 void DoReadUserData( std::u16string_view rData );
177 void DoReadUserDataSequence( const css::uno::Sequence< css::beans::PropertyValue >& rSettings );
178 bool IsSignatureLineSelected();
179 bool IsSignatureLineSigned();
180 bool IsQRCodeSelected();
181
182 DECL_DLLPRIVATE_LINK( SimpleRefClose, const OUString*, void );
183 DECL_DLLPRIVATE_LINK( SimpleRefDone, const OUString&, void );
184 DECL_DLLPRIVATE_LINK( SimpleRefAborted, const OUString&, void );
185 DECL_DLLPRIVATE_LINK( SimpleRefChange, const OUString&, void );
186 DECL_DLLPRIVATE_LINK( FormControlActivated, LinkParamNone*, void );
187 DECL_DLLPRIVATE_LINK( DialogClosedHdl, css::ui::dialogs::DialogClosedEvent*, void );
188
189protected:
190 virtual void Activate(bool bMDI) override;
191 virtual void Deactivate(bool bMDI) override;
192 virtual bool PrepareClose( bool bUI = true ) override;
193
194 virtual void ShowCursor(bool bOn) override;
195
196 virtual void Move() override; // notification
197
198 virtual void InnerResizePixel( const Point &rOfs, const Size &rSize, bool inplaceEditModeChange ) override; // new
199 virtual void OuterResizePixel( const Point &rOfs, const Size &rSize ) override;
200 virtual void SetZoomFactor( const Fraction &rZoomX, const Fraction &rZoomY ) override;
201
202 virtual void QueryObjAreaPixel( tools::Rectangle& rRect ) const override;
203
204 virtual OUString GetSelectionText( bool bWholeWord = false, bool bOnlyASample = false ) override;
205 virtual bool HasSelection( bool bText = true ) const override;
206
207 virtual void WriteUserData(OUString &, bool bBrowse = false) override;
208 virtual void ReadUserData(const OUString &, bool bBrowse = false) override;
209 virtual void WriteUserDataSequence (css::uno::Sequence < css::beans::PropertyValue >& ) override;
210 virtual void ReadUserDataSequence (const css::uno::Sequence < css::beans::PropertyValue >& ) override;
211
212 virtual void UIDeactivated( SfxInPlaceClient* pClient ) override;
213
214 virtual bool KeyInput( const KeyEvent &rKeyEvent ) override;
215 virtual SdrView* GetDrawView() const override;
216
217public:
219 SFX_DECL_VIEWFACTORY(ScTabViewShell);
220
221private:
223 static void InitInterface_Impl();
224
225public:
228 ScTabViewShell(SfxViewFrame& rViewFrame, SfxViewShell* pOldSh);
229
230 virtual ~ScTabViewShell() override;
231
232 weld::Window* GetDialogParent();
233
234 bool IsRefInputMode() const;
235 void ExecuteInputDirect();
236
237 const ScInputHandler* GetInputHandler() const { return mpInputHandler.get(); }
238 ScInputHandler* GetInputHandler() { return mpInputHandler.get(); }
239 void UpdateInputHandler( bool bForce = false, bool bStopEditing = true );
240 void UpdateInputHandlerCellAdjust( SvxCellHorJustify eJust );
241 bool TabKeyInput(const KeyEvent& rKEvt);
242 bool SfxKeyInput(const KeyEvent& rKEvt);
243
244 void SetActive();
245
246 ::editeng::SvxBorderLine* GetDefaultFrameLine() const { return pCurFrameLine.get(); }
247 void SetDefaultFrameLine(const ::editeng::SvxBorderLine* pLine );
248
249 void Execute( SfxRequest& rReq );
250 void GetState( SfxItemSet& rSet );
251
252 void ExecuteTable( SfxRequest& rReq );
253 void GetStateTable( SfxItemSet& rSet );
254
255 void WindowChanged();
256 void ExecDraw(SfxRequest&);
257 void ExecDrawIns(SfxRequest& rReq);
258 void GetDrawState(SfxItemSet &rSet);
259 void GetDrawInsState(SfxItemSet &rSet);
260 void ExecGallery(const SfxRequest& rReq);
261
262 void ExecChildWin(const SfxRequest& rReq);
263
264 void ExecImageMap( SfxRequest& rReq );
265 void GetImageMapState( SfxItemSet& rSet );
266
267 void ExecuteSave( SfxRequest& rReq );
268 void GetSaveState( SfxItemSet& rSet );
269 void ExecSearch( SfxRequest& rReq );
270
271 void ExecuteUndo(SfxRequest& rReq);
272 void GetUndoState(SfxItemSet &rSet);
273
274 void ExecuteObject(const SfxRequest& rReq);
275 void GetObjectState(SfxItemSet &rSet);
276
277 void ExecDrawOpt(const SfxRequest& rReq);
278 void GetDrawOptState(SfxItemSet &rSet);
279
280 void ExecStyle(SfxRequest& rReq);
281 void GetStyleState(SfxItemSet &rSet);
282
283 void UpdateDrawShell();
284 void SetDrawShell( bool bActive );
285 void SetDrawTextShell( bool bActive );
286
287 void SetPivotShell( bool bActive );
288 void SetSparklineShell(bool bActive);
289 void SetDialogDPObject( std::unique_ptr<ScDPObject> pObj );
290 const ScDPObject* GetDialogDPObject() const { return pDialogDPObject.get(); }
291
292 void SetDontSwitch(bool bFlag){bDontSwitch=bFlag;}
293
294 void SetAuditShell( bool bActive );
295 void SetDrawFormShell( bool bActive );
296 void SetEditShell(EditView* pView, bool bActive );
297 void SetOleObjectShell( bool bActive );
298 void SetChartShell( bool bActive );
299 void SetGraphicShell( bool bActive );
300 void SetMediaShell( bool bActive );
301
302 void SetDrawShellOrSub();
303 void SetCurSubShell( ObjectSelectionType eOST, bool bForce = false );
304
305 void SetFormShellAtTop( bool bSet );
306
308
309 virtual ErrCode DoVerb(sal_Int32 nVerb) override;
310
311 void StopEditShell();
312 bool IsDrawTextShell() const;
313 bool IsAuditShell() const;
314
315 void SetDrawTextUndo( SfxUndoManager* pUndoMgr );
316
317 void FillFieldData( ScHeaderFieldData& rData );
318
319 virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
320
321 ScNavigatorSettings* GetNavigatorSettings();
322
323 // Drucken:
324 virtual SfxPrinter* GetPrinter( bool bCreate = false ) override;
325 virtual sal_uInt16 SetPrinter( SfxPrinter* pNewPrinter,
326 SfxPrinterChangeFlags nDiffFlags = SFX_PRINTER_ALL ) override;
327
328 virtual bool HasPrintOptionsPage() const override;
329 virtual std::unique_ptr<SfxTabPage> CreatePrintOptionsPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet &rOptions) override;
330
331 void ConnectObject( const SdrOle2Obj* pObj );
332 void ActivateObject(SdrOle2Obj* pObj, sal_Int32 nVerb);
333
334 void DeactivateOle();
335
336 static ScTabViewShell* GetActiveViewShell();
337
338 std::shared_ptr<SfxModelessDialogController> CreateRefDialogController(SfxBindings* pB, SfxChildWindow* pCW,
339 const SfxChildWinInfo* pInfo,
340 weld::Window* pParent, sal_uInt16 nSlotId);
341
342 void UpdateOleZoom();
343
344 virtual const FmFormShell* GetFormShell() const override { return pFormShell.get(); }
345 virtual FmFormShell* GetFormShell() override { return pFormShell.get(); }
346
347 void InsertURL( const OUString& rName, const OUString& rURL, const OUString& rTarget,
348 sal_uInt16 nMode );
349 void InsertURLButton( const OUString& rName, const OUString& rURL, const OUString& rTarget,
350 const Point* pInsPos );
351 void InsertURLField( const OUString& rName, const OUString& rURL, const OUString& rTarget );
352
353 bool SelectObject( std::u16string_view rName );
354
355 void SetInFormatDialog(bool bFlag) {bInFormatDialog=bFlag;}
356
357 void ForceMove() { Move(); }
358
359 static std::unique_ptr<SvxNumberInfoItem> MakeNumberInfoItem( ScDocument& rDoc, const ScViewData& rViewData );
360
361 static void UpdateNumberFormatter( const SvxNumberInfoItem& rInfoItem );
362
363 void ExecuteCellFormatDlg( SfxRequest& rReq, const OUString &rTabPage);
364
365 bool GetFunction( OUString& rFuncStr, FormulaError nErrCode );
366
367 void StartSimpleRefDialog( const OUString& rTitle, const OUString& rInitVal,
368 bool bCloseOnButtonUp, bool bSingleCell, bool bMultiSelection );
369 void StopSimpleRefDialog();
370
371 void SetCurRefDlgId( sal_uInt16 nNew );
372
373 void AddAccessibilityObject( SfxListener& rObject );
374 void RemoveAccessibilityObject( SfxListener& rObject );
375 void BroadcastAccessibility( const SfxHint &rHint );
376 bool HasAccessibilityObjects() const;
377
378 bool ExecuteRetypePassDlg(ScPasswordHash eDesiredHash);
379
381
382 bool IsActive() const { return bIsActive; }
383 OUString GetFormula(const ScAddress& rAddress);
384 bool UseSubTotal(ScRangeList* pRangeList);
385 OUString DoAutoSum(bool& rRangeFinder, bool& rSubTotal, const OpCode eCode);
386
387 // ugly hack to call Define Names from Manage Names
388 void SwitchBetweenRefDialogs(SfxModelessDialogController* pDialog);
389 // #i123629#
390 bool GetForceFocusOnCurCell() const { return bForceFocusOnCurCell; }
391 void SetForceFocusOnCurCell(bool bFlag) { bForceFocusOnCurCell=bFlag; }
393 int getPart() const override;
395 void afterCallbackRegistered() override;
397 void NotifyCursor(SfxViewShell* pViewShell) const override;
399 ::Color GetColorConfigColor(svtools::ColorConfigEntry nColorType) const override;
401 OUString GetColorConfigName() const override;
403 static void notifyAllViewsHeaderInvalidation(const SfxViewShell* pForViewShell, HeaderType eHeaderType, SCTAB nCurrentTabIndex);
404 static bool isAnyEditViewInRange(const SfxViewShell* pForViewShell, bool bColumns, SCCOLROW nStart, SCCOLROW nEnd);
407 static void notifyAllViewsSheetGeomInvalidation(const SfxViewShell* pForViewShell, bool bColumns, bool bRows, bool bSizes,
408 bool bHidden, bool bFiltered, bool bGroups, SCTAB nCurrentTabIndex);
409 css::uno::Reference<css::drawing::XShapes> getSelectedXShapes();
410 static css::uno::Reference<css::datatransfer::XTransferable2> GetClipData(vcl::Window* pWin);
411
412 void InitFormEditData();
413 void ClearFormEditData();
414 ScFormEditData* GetFormEditData() { return mpFormEditData.get(); }
415
417 bool ShouldDisableEditHyperlink() const;
420 void EnableEditHyperlink();
421
422 virtual tools::Rectangle getLOKVisibleArea() const override;
423
424 const ScDragData& GetDragData() const { return *m_pDragData; }
425 void SetDragObject(ScTransferObj* pCellObj, ScDrawTransferObj* pDrawObj);
426 void ResetDragObject();
427 void SetDragLink(const OUString& rDoc, const OUString& rTab, const OUString& rArea);
428 void SetDragJump(ScDocument* pLocalDoc, const OUString& rTarget, const OUString& rText);
429};
430
431/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Contains settings of the navigator listbox.
Definition: navsett.hxx:30
std::unique_ptr< ScDPObject > pDialogDPObject
Definition: tabvwsh.hxx:130
SdrObjKind eFormObjKind
Definition: tabvwsh.hxx:99
std::unique_ptr< ScPageBreakShell > pPageBreakShell
Definition: tabvwsh.hxx:113
bool GetForceFocusOnCurCell() const
Definition: tabvwsh.hxx:390
bool bForceFocusOnCurCell
Definition: tabvwsh.hxx:155
ScFormEditData * GetFormEditData()
Definition: tabvwsh.hxx:414
std::unique_ptr< ScAuditingShell > pAuditingShell
Definition: tabvwsh.hxx:106
DECL_DLLPRIVATE_LINK(FormControlActivated, LinkParamNone *, void)
std::unique_ptr<::editeng::SvxBorderLine > pCurFrameLine
Definition: tabvwsh.hxx:122
DECL_DLLPRIVATE_LINK(SimpleRefChange, const OUString &, void)
virtual const FmFormShell * GetFormShell() const override
Definition: tabvwsh.hxx:344
bool bInPrepareClose
Definition: tabvwsh.hxx:157
std::unique_ptr< ScInputHandler, o3tl::default_delete< ScInputHandler > > mpInputHandler
Definition: tabvwsh.hxx:120
const ScDragData & GetDragData() const
Definition: tabvwsh.hxx:424
bool bActiveGraphicSh
Definition: tabvwsh.hxx:142
virtual FmFormShell * GetFormShell() override
Definition: tabvwsh.hxx:345
std::unique_ptr< svx::FontworkBar > pFontworkBarShell
Definition: tabvwsh.hxx:115
std::unique_ptr< svx::ExtrusionBar > pExtrusionBarShell
Definition: tabvwsh.hxx:114
void ForceMove()
Definition: tabvwsh.hxx:357
std::unique_ptr< ScPivotShell > pPivotShell
Definition: tabvwsh.hxx:104
std::unique_ptr< ScMediaShell > pMediaShell
Definition: tabvwsh.hxx:112
bool bActiveMediaSh
Definition: tabvwsh.hxx:143
DECL_DLLPRIVATE_LINK(SimpleRefDone, const OUString &, void)
std::unique_ptr< ScGraphicShell > pGraphicShell
Definition: tabvwsh.hxx:111
bool bActiveDrawSh
Definition: tabvwsh.hxx:137
std::map< OUString, ScRangeName > m_RangeMap
Definition: tabvwsh.hxx:165
void SetForceFocusOnCurCell(bool bFlag)
Definition: tabvwsh.hxx:391
DECL_DLLPRIVATE_LINK(SimpleRefClose, const OUString *, void)
OUString maScope
Definition: tabvwsh.hxx:168
OUString sDrawCustom
Definition: tabvwsh.hxx:100
std::unique_ptr< ScChartShell > pChartShell
Definition: tabvwsh.hxx:110
void SetInFormatDialog(bool bFlag)
Definition: tabvwsh.hxx:355
const ScDPObject * GetDialogDPObject() const
Definition: tabvwsh.hxx:290
std::unique_ptr< ScCellShell > pCellShell
Definition: tabvwsh.hxx:108
bool bActiveDrawTextSh
Definition: tabvwsh.hxx:138
bool bFormShellAtTop
Definition: tabvwsh.hxx:146
std::unique_ptr< ScDrawShell > pDrawShell
Definition: tabvwsh.hxx:101
std::unique_ptr< ScDrawFormShell > pDrawFormShell
Definition: tabvwsh.hxx:107
::editeng::SvxBorderLine * GetDefaultFrameLine() const
Definition: tabvwsh.hxx:246
void SetDontSwitch(bool bFlag)
Definition: tabvwsh.hxx:292
ObjectSelectionType eCurOST
Definition: tabvwsh.hxx:97
std::unique_ptr< FmFormShell > pFormShell
Definition: tabvwsh.hxx:117
css::uno::Reference< css::frame::XDispatchProviderInterceptor > xDisProvInterceptor
Definition: tabvwsh.hxx:125
std::unique_ptr< SfxBroadcaster > pAccessibilityBroadcaster
Definition: tabvwsh.hxx:162
bool bActiveOleObjectSh
Definition: tabvwsh.hxx:140
OUString maName
Definition: tabvwsh.hxx:167
bool bFirstActivate
Definition: tabvwsh.hxx:135
bool IsActive() const
Definition: tabvwsh.hxx:382
bool bActiveDrawFormSh
Definition: tabvwsh.hxx:139
bool bActiveChartSh
Definition: tabvwsh.hxx:141
bool bDontSwitch
Definition: tabvwsh.hxx:148
sal_uInt16 nCurRefDlgId
Definition: tabvwsh.hxx:160
ObjectSelectionType GetCurObjectSelectionType() const
Definition: tabvwsh.hxx:307
std::unique_ptr< ScDrawTextObjectBar > pDrawTextShell
Definition: tabvwsh.hxx:102
ScInputHandler * GetInputHandler()
Definition: tabvwsh.hxx:238
std::unique_ptr< ScEditShell > pEditShell
Definition: tabvwsh.hxx:103
DECL_DLLPRIVATE_LINK(DialogClosedHdl, css::ui::dialogs::DialogClosedEvent *, void)
ScTabViewTarget aTarget
Definition: tabvwsh.hxx:129
std::unique_ptr< ScDragData > m_pDragData
Definition: tabvwsh.hxx:170
bool bActiveEditSh
Definition: tabvwsh.hxx:144
std::unique_ptr< ScFormEditData > mpFormEditData
Definition: tabvwsh.hxx:119
std::unique_ptr< ScOleObjectShell > pOleObjectShell
Definition: tabvwsh.hxx:109
sal_uInt16 nDrawSfxId
Definition: tabvwsh.hxx:98
std::unique_ptr< ScNavigatorSettings > pNavSettings
Definition: tabvwsh.hxx:132
bool bInFormatDialog
Definition: tabvwsh.hxx:149
std::unique_ptr< sc::SparklineShell > m_pSparklineShell
Definition: tabvwsh.hxx:105
DECL_DLLPRIVATE_LINK(SimpleRefAborted, const OUString &, void)
void ShowCursor()
Definition: tabview3.cxx:246
virtual bool PrepareClose(bool bUI=true)
virtual void QueryObjAreaPixel(tools::Rectangle &rRect) const
virtual SfxPrinter * GetPrinter(bool bCreate=false)
virtual void Move()
virtual void Activate(bool IsMDIActivate) override
virtual void WriteUserData(OUString &, bool bBrowse=false)
virtual OUString GetSelectionText(bool bCompleteWords=false, bool bOnlyASample=false)
virtual void ShowCursor(bool bOn=true)
virtual void InnerResizePixel(const Point &rOfs, const Size &rSize, bool inplaceEditModeChange)
virtual void SetZoomFactor(const Fraction &rZoomX, const Fraction &rZoomY)
virtual OUString GetColorConfigName() const
virtual void Deactivate(bool IsMDIActivate) override
virtual void afterCallbackRegistered()
virtual void OuterResizePixel(const Point &rOfs, const Size &rSize)
virtual void ReadUserDataSequence(const css::uno::Sequence< css::beans::PropertyValue > &)
virtual bool HasPrintOptionsPage() const
virtual void WriteUserDataSequence(css::uno::Sequence< css::beans::PropertyValue > &)
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
virtual void ReadUserData(const OUString &, bool bBrowse=false)
virtual ErrCode DoVerb(sal_Int32 nVerb)
virtual bool HasSelection(bool bText=true) const
virtual sal_uInt16 SetPrinter(SfxPrinter *pNewPrinter, SfxPrinterChangeFlags nDiffFlags=SFX_PRINTER_ALL)
virtual SdrView * GetDrawView() const
virtual void NotifyCursor(SfxViewShell *) const
virtual bool KeyInput(const KeyEvent &rKeyEvent)
virtual ::Color GetColorConfigColor(svtools::ColorConfigEntry nColorType) const
virtual tools::Rectangle getLOKVisibleArea() const
virtual std::unique_ptr< SfxTabPage > CreatePrintOptionsPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rOptions)
virtual int getPart() const
virtual void UIDeactivated(SfxInPlaceClient *pClient)
FormulaError
TriState
CAUTION! The following defines must be in the same namespace as the respective type.
Definition: broadcast.cxx:15
const ::avmedia::MediaItem * Execute(const SdrMarkView *pSdrView, SfxRequest const &rReq)
void GetState(const SdrMarkView *pSdrView, SfxItemSet &rSet)
OpCode
#define SC_DLLPUBLIC
Definition: scdllapi.h:27
#define SFX_DECL_INTERFACE(nId)
#define SCID_TABVIEW_SHELL
Definition: shellids.hxx:25
SdrObjKind
SvxCellHorJustify
ScPasswordHash
HeaderType
Definition: tabview.hxx:58
ObjectSelectionType
Definition: tabvwsh.hxx:77
@ OST_Editing
Definition: tabvwsh.hxx:80
@ OST_Drawing
Definition: tabvwsh.hxx:82
@ OST_Pivot
Definition: tabvwsh.hxx:84
@ OST_Auditing
Definition: tabvwsh.hxx:85
@ OST_Chart
Definition: tabvwsh.hxx:87
@ OST_DrawText
Definition: tabvwsh.hxx:81
@ OST_Media
Definition: tabvwsh.hxx:89
@ OST_Graphic
Definition: tabvwsh.hxx:88
@ OST_Cell
Definition: tabvwsh.hxx:79
@ OST_NONE
Definition: tabvwsh.hxx:78
@ OST_OleObject
Definition: tabvwsh.hxx:86
@ OST_Sparkline
Definition: tabvwsh.hxx:90
@ OST_DrawForm
Definition: tabvwsh.hxx:83
sal_Int32 SCCOLROW
a type capable of holding either SCCOL or SCROW
Definition: types.hxx:23
sal_Int16 SCTAB
Definition: types.hxx:22
SfxPrinterChangeFlags