33#include <com/sun/star/ui/dialogs/DialogClosedEvent.hpp>
63namespace sc {
class SparklineShell; }
67namespace editeng {
class SvxBorderLine; }
120 std::unique_ptr<ScInputHandler, o3tl::default_delete<ScInputHandler>>
mpInputHandler;
124 css::uno::Reference< css::frame::XDispatchProviderInterceptor >
172 void Construct(
TriState nForceDesignMode );
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();
190 virtual void Activate(
bool bMDI)
override;
196 virtual void Move()
override;
204 virtual OUString
GetSelectionText(
bool bWholeWord =
false,
bool bOnlyASample =
false )
override;
205 virtual bool HasSelection(
bool bText =
true )
const override;
207 virtual void WriteUserData(OUString &,
bool bBrowse =
false)
override;
208 virtual void ReadUserData(
const OUString &,
bool bBrowse =
false)
override;
210 virtual void ReadUserDataSequence (
const css::uno::Sequence < css::beans::PropertyValue >& )
override;
223 static
void InitInterface_Impl();
232 weld::Window* GetDialogParent();
234 bool IsRefInputMode() const;
235 void ExecuteInputDirect();
239 void UpdateInputHandler(
bool bForce =
false,
bool bStopEditing =
true );
241 bool TabKeyInput(
const KeyEvent& rKEvt);
242 bool SfxKeyInput(
const KeyEvent& rKEvt);
247 void SetDefaultFrameLine(const ::editeng::SvxBorderLine* pLine );
255 void WindowChanged();
283 void UpdateDrawShell();
284 void SetDrawShell(
bool bActive );
285 void SetDrawTextShell(
bool bActive );
287 void SetPivotShell(
bool bActive );
288 void SetSparklineShell(
bool bActive);
289 void SetDialogDPObject( std::unique_ptr<ScDPObject> pObj );
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 );
302 void SetDrawShellOrSub();
305 void SetFormShellAtTop(
bool bSet );
311 void StopEditShell();
312 bool IsDrawTextShell()
const;
313 bool IsAuditShell()
const;
332 void ActivateObject(
SdrOle2Obj* pObj, sal_Int32 nVerb);
334 void DeactivateOle();
342 void UpdateOleZoom();
347 void InsertURL(
const OUString& rName,
const OUString& rURL,
const OUString& rTarget,
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 );
353 bool SelectObject( std::u16string_view rName );
359 static std::unique_ptr<SvxNumberInfoItem> MakeNumberInfoItem(
ScDocument& rDoc,
const ScViewData& rViewData );
363 void ExecuteCellFormatDlg(
SfxRequest& rReq,
const OUString &rTabPage);
365 bool GetFunction( OUString& rFuncStr,
FormulaError nErrCode );
367 void StartSimpleRefDialog(
const OUString& rTitle,
const OUString& rInitVal,
368 bool bCloseOnButtonUp,
bool bSingleCell,
bool bMultiSelection );
369 void StopSimpleRefDialog();
371 void SetCurRefDlgId( sal_uInt16 nNew );
373 void AddAccessibilityObject(
SfxListener& rObject );
374 void RemoveAccessibilityObject(
SfxListener& rObject );
375 void BroadcastAccessibility(
const SfxHint &rHint );
376 bool HasAccessibilityObjects()
const;
383 OUString GetFormula(
const ScAddress& rAddress);
385 OUString DoAutoSum(
bool& rRangeFinder,
bool& rSubTotal,
const OpCode eCode);
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);
412 void InitFormEditData();
413 void ClearFormEditData();
417 bool ShouldDisableEditHyperlink()
const;
420 void EnableEditHyperlink();
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);
Contains settings of the navigator listbox.
std::unique_ptr< ScDPObject > pDialogDPObject
std::unique_ptr< ScPageBreakShell > pPageBreakShell
bool GetForceFocusOnCurCell() const
bool bForceFocusOnCurCell
ScFormEditData * GetFormEditData()
std::unique_ptr< ScAuditingShell > pAuditingShell
DECL_DLLPRIVATE_LINK(FormControlActivated, LinkParamNone *, void)
std::unique_ptr<::editeng::SvxBorderLine > pCurFrameLine
DECL_DLLPRIVATE_LINK(SimpleRefChange, const OUString &, void)
virtual const FmFormShell * GetFormShell() const override
std::unique_ptr< ScInputHandler, o3tl::default_delete< ScInputHandler > > mpInputHandler
const ScDragData & GetDragData() const
virtual FmFormShell * GetFormShell() override
std::unique_ptr< svx::FontworkBar > pFontworkBarShell
std::unique_ptr< svx::ExtrusionBar > pExtrusionBarShell
std::unique_ptr< ScPivotShell > pPivotShell
std::unique_ptr< ScMediaShell > pMediaShell
DECL_DLLPRIVATE_LINK(SimpleRefDone, const OUString &, void)
std::unique_ptr< ScGraphicShell > pGraphicShell
std::map< OUString, ScRangeName > m_RangeMap
void SetForceFocusOnCurCell(bool bFlag)
DECL_DLLPRIVATE_LINK(SimpleRefClose, const OUString *, void)
std::unique_ptr< ScChartShell > pChartShell
void SetInFormatDialog(bool bFlag)
const ScDPObject * GetDialogDPObject() const
std::unique_ptr< ScCellShell > pCellShell
std::unique_ptr< ScDrawShell > pDrawShell
std::unique_ptr< ScDrawFormShell > pDrawFormShell
::editeng::SvxBorderLine * GetDefaultFrameLine() const
void SetDontSwitch(bool bFlag)
ObjectSelectionType eCurOST
std::unique_ptr< FmFormShell > pFormShell
css::uno::Reference< css::frame::XDispatchProviderInterceptor > xDisProvInterceptor
std::unique_ptr< SfxBroadcaster > pAccessibilityBroadcaster
ObjectSelectionType GetCurObjectSelectionType() const
std::unique_ptr< ScDrawTextObjectBar > pDrawTextShell
ScInputHandler * GetInputHandler()
std::unique_ptr< ScEditShell > pEditShell
DECL_DLLPRIVATE_LINK(DialogClosedHdl, css::ui::dialogs::DialogClosedEvent *, void)
std::unique_ptr< ScDragData > m_pDragData
std::unique_ptr< ScFormEditData > mpFormEditData
std::unique_ptr< ScOleObjectShell > pOleObjectShell
std::unique_ptr< ScNavigatorSettings > pNavSettings
std::unique_ptr< sc::SparklineShell > m_pSparklineShell
DECL_DLLPRIVATE_LINK(SimpleRefAborted, const OUString &, void)
virtual bool PrepareClose(bool bUI=true)
virtual void QueryObjAreaPixel(tools::Rectangle &rRect) const
virtual SfxPrinter * GetPrinter(bool bCreate=false)
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)
CAUTION! The following defines must be in the same namespace as the respective type.
#define SFX_DECL_INTERFACE(nId)
#define SCID_TABVIEW_SHELL
sal_Int32 SCCOLROW
a type capable of holding either SCCOL or SCROW