22#include <formdata.hxx>
25#include <svx/dialogs.hrc>
46#include <drformsh.hxx>
55#include <inputwin.hxx>
70#include <drawview.hxx>
82#include <com/sun/star/document/XDocumentProperties.hpp>
85#include <LibreOfficeKit/LibreOfficeKitEnums.h>
96 SidebarController* pSidebar = SidebarController::GetSidebarControllerForView(pViewShell);
140 while ( pSh!=
nullptr && pOldHdl!=
nullptr)
210 IAnyRefDialog* pRefDlg =
dynamic_cast<IAnyRefDialog*
>(pController.get());
212 pRefDlg->ViewShellChanged();
221 if (!inChartOrMathContext(
this))
237 if(pChanges!=
nullptr)
327 if ( pDocSh->
GetCreateMode() == SfxObjectCreateMode::EMBEDDED )
343 Size aNewSize( rSize );
381 if (!inplaceEditModeChange)
409 if ( aNewX < aFrac20 )
411 if ( aNewX > aFrac400 )
414 if ( aNewY < aFrac20 )
416 if ( aNewY > aFrac400 )
451 aLogicRect.
SetSize( aLogicSize );
506 bool bFocus = pOldWin && pOldWin->
HasFocus();
515 if (pNewWin && pNewWin != pOldWin)
541 bool bFocus = pOldWin && pOldWin->
HasFocus();
550 if (pNewWin && pNewWin != pOldWin)
810 if ( !(eOST!=
eCurOST || bForce) )
813 bool bCellBrush =
false;
814 bool bDrawBrush =
false;
987 OSL_FAIL(
"wrong shell requested");
1016 SetFormShellAtTop(
true );
1026 sal_uInt16
nPos = 0;
1072 OSL_FAIL(
"SetDrawTextUndo without DrawTextShell");
1101 if ( ScTpPrintOptionsCreate )
1102 return ScTpPrintOptionsCreate(pPage, pController, &rOptions);
1122 SetTabNo( GetViewData().GetRefTabNo() );
1163 const OUString& rTitle,
const OUString& rInitVal,
1164 bool bCloseOnButtonUp,
bool bSingleCell,
bool bMultiSelection )
1177 sal_uInt16
nId = ScSimpleRefDlgWrapper::GetChildWindowId();
1179 SC_MOD()->SetRefDialog(
nId,
true, &rViewFrm );
1190 pWnd->
SetFlags( bCloseOnButtonUp, bSingleCell, bMultiSelection );
1193 xWin->set_title(rTitle);
1200 sal_uInt16
nId = ScSimpleRefDlgWrapper::GetChildWindowId();
1219 bool bShift = aCode.
IsShift();
1220 bool bControl = aCode.
IsMod1();
1221 bool bAlt = aCode.
IsMod2();
1222 sal_uInt16 nCode = aCode.
GetCode();
1232 bool bHideCursor = ( ( nCode ==
KEY_RETURN && bInPlace ) || nCode ==
KEY_TAB ) && bOnRefSheet;
1248 bool bIsType =
false;
1250 sal_uInt16 nGroup = aCode.
GetGroup();
1253 if ( !bControl && !bAlt )
1260 bIsType = bControl && !bAlt;
1261 if ( !bIsType && nModi == 0 )
1270 bIsType = !bControl && !bAlt;
1273 bIsType = (nModi == 0);
1278 else if (nCode ==
KEY_RIGHT && !bControl && !bShift && !bAlt)
1290 if ( !bUsed && !bIsType && nCode !=
KEY_RETURN )
1298 if ( eFunc == KeyFuncType::CUT )
1317 if( !bUsed && !bDraw && nCode !=
KEY_RETURN && !bParent )
1321 if (!bInPlace && !bUsed && !bDraw)
1327 bool bNormal = !bControl && !bAlt;
1328 if ( !bAnyEdit && bNormal )
1339 bool bEditReturn = bControl && !bShift;
1340 if ( !bUsed && !bEditReturn )
1346 if ( bShift && bControl )
1356 SfxCallMode::SLOT | SfxCallMode::RECORD );
1359 SfxCallMode::SLOT | SfxCallMode::RECORD );
1379 if ( !bUsed && bAlt && !bControl )
1381 sal_uInt16 nSlotId = 0;
1401 nSlotId = bShift ? SID_CURSORPAGELEFT_SEL : SID_CURSORPAGELEFT_;
1404 nSlotId = bShift ? SID_CURSORPAGERIGHT_SEL : SID_CURSORPAGERIGHT_;
1417 bool bRangeFinder =
false;
1418 bool bSubTotal =
false;
1437 if ( !bUsed && bAlt && bControl && bShift)
1439 sal_uInt16 nSlotId = 0;
1443 nSlotId = SID_CURSORUP;
1446 nSlotId = SID_CURSORDOWN;
1449 nSlotId = SID_CURSORLEFT;
1452 nSlotId = SID_CURSORRIGHT;
1455 nSlotId = SID_CURSORPAGEUP;
1458 nSlotId = SID_CURSORPAGEDOWN;
1461 nSlotId = SID_CURSORHOME;
1464 nSlotId = SID_CURSOREND;
1510 pCurFrameLine.reset( new ::editeng::SvxBorderLine(&aColBlack, 20, SvxBorderLineStyle::SOLID) );
1516 bool bFirstView = !pFirst
1519 if ( pDocSh->
GetCreateMode() == SfxObjectCreateMode::EMBEDDED )
1541 else if ( bFirstView )
1595 if ( pDocSh->
GetCreateMode() != SfxObjectCreateMode::EMBEDDED )
1601 for (
SCTAB i=1;
i<nInitTabCount;
i++)
1611 if ( pDocSh->
GetCreateMode() != SfxObjectCreateMode::INTERNAL &&
1620 for (
SCTAB i=0;
i<nTabCount && !bLink;
i++)
1635 if(
SC_MOD()->GetCurRefDlgId()==0)
1638 SfxCallMode::ASYNCHRON | SfxCallMode::RECORD );
1651 bool bReImport =
false;
1656 bReImport = std::any_of(rDBs.
begin(), rDBs.
end(),
1657 [](
const std::unique_ptr<ScDBData>& rxDB) { return rxDB->IsStripData() && rxDB->HasImportParam() && !rxDB->HasImportSelection(); });
1663 if(
SC_MOD()->GetCurRefDlgId()==0)
1666 SfxCallMode::ASYNCHRON | SfxCallMode::RECORD );
1693 ScDBFunc( &rViewFrame.GetWindow(), static_cast<
ScDocShell&>(*rViewFrame.GetObjectShell()), this ),
1697 bActiveDrawSh(false),
1698 bActiveDrawTextSh(false),
1699 bActiveDrawFormSh(false),
1700 bActiveOleObjectSh(false),
1701 bActiveChartSh(false),
1702 bActiveGraphicSh(false),
1703 bActiveMediaSh(false),
1704 bFormShellAtTop(false),
1706 bInFormatDialog(false),
1708 bForceFocusOnCurCell(false),
1709 bInPrepareClose(false),
1724 if (
auto pPreviewShell =
dynamic_cast<ScPreviewShell*
>( pOldSh) )
1726 nForceDesignMode = pPreviewShell->GetSourceDesignMode();
1742 bool bInstalledScTabViewObjAsTempController =
false;
1743 uno::Reference<frame::XController> xCurrentController(
GetViewData().GetDocShell()->GetModel()->getCurrentController());
1744 if (!xCurrentController)
1748 bInstalledScTabViewObjAsTempController =
true;
1750 xCurrentController.clear();
1760 SetZoom( aFract, aFract,
true );
1772 if (bInstalledScTabViewObjAsTempController)
1791 }
while (pViewShell2 && pViewShell2->
GetDocId() != pViewShell->
GetDocId());
1795 if (pViewShell2 && pViewShell2 ==
this)
1798 assert(pTabViewShell);
1825 EndListening(*pDocSh);
1829 SC_MOD()->ViewShellGone(
this);
css::chart::ChartAxisLabelPosition ePos
SfxApplication * SfxGetpApp()
static void NotifyContextChange(const css::uno::Reference< css::frame::XController > &rxController, const vcl::EnumContext::Context eContext)
Base class for all functions.
sal_uInt16 GetSlotID() const
OUString GetMainURL(DecodeMechanism eMechanism, rtl_TextEncoding eCharset=RTL_TEXTENCODING_UTF8) const
OUString GetLastName(DecodeMechanism eMechanism=DecodeMechanism::ToIUri, rtl_TextEncoding eCharset=RTL_TEXTENCODING_UTF8) const
const vcl::KeyCode & GetKeyCode() const
tools::Long AdjustY(tools::Long nVertMove)
tools::Long AdjustX(tools::Long nHorzMove)
virtual CreateTabPage GetTabPageCreatorFunc(sal_uInt16 nId)=0
static SC_DLLPUBLIC ScAbstractDialogFactory * Create()
SvxZoomType GetZoomType() const
sal_uInt16 GetZoom() const
void SetModifiedLink(const Link< ScChangeTrack &, void > &r)
Stores global named database ranges.
SCTAB GetInitTabCount() const
bool IsUpdateEnabled() const
void SetUpdateEnabled(bool bValue)
void SetDocumentModified()
sal_uInt16 SetPrinter(VclPtr< SfxPrinter > const &pNewPrinter, SfxPrinterChangeFlags nDiffFlags=SFX_PRINTER_ALL)
const ScDocument & GetDocument() const
ScDrawLayer * MakeDrawLayer()
void UpdateOle(const ScViewData &rViewData, bool bSnapSize=false)
SfxPrinter * GetPrinter(bool bCreateIfNotExist=true)
void SnapVisArea(tools::Rectangle &rRect) const
ScModelObj * GetModel() const
virtual SfxUndoManager * GetUndoManager() override
void SetInplace(bool bInplace)
SCTAB GetVisibleTab() const
SC_DLLPUBLIC void SetLayoutRTL(SCTAB nTab, bool bRTL, ScObjectHandling eObjectHandling=ScObjectHandling::RecalcPosMode)
SC_DLLPUBLIC void SetVisibleTab(SCTAB nTab)
SC_DLLPUBLIC bool IsNegativePage(SCTAB nTab) const
SC_DLLPUBLIC ScExternalRefManager * GetExternalRefManager() const
bool HasLinkFormulaNeedingCheck() const
ScExtDocOptions * GetExtDocOptions()
SC_DLLPUBLIC ScDrawLayer * GetDrawLayer()
SC_DLLPUBLIC void SetDocVisible(bool bSet)
SC_DLLPUBLIC ScDBCollection * GetDBCollection() const
SC_DLLPUBLIC void MakeTable(SCTAB nTab, bool _bNeedsNameCheck=true)
sc::DocumentLinkManager & GetDocLinkManager()
bool IsLinked(SCTAB nTab) const
ScChangeTrack * GetChangeTrack() const
SC_DLLPUBLIC bool HasTable(SCTAB nTab) const
bool IsUndoEnabled() const
SC_DLLPUBLIC bool GetName(SCTAB nTab, OUString &rName) const
bool HasAreaLinks() const
SC_DLLPUBLIC const ScDocOptions & GetDocOptions() const
SC_DLLPUBLIC tools::Rectangle GetMMRect(SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab, bool bHiddenAsZero=true) const
SC_DLLPUBLIC SCTAB GetTableCount() const
void SetEmbedded(const ScRange &rRange)
SdrEndTextEditKind ScEndTextEdit()
Extended options held by an ScDocument containing additional settings for filters.
void SetChanged(bool bChanged)
If set to true, the data will be copied to the view data after import.
bool hasExternalData() const
static bool IsSystemRTL()
void SetSelectedTabs(const MarkedTabsType &rTabs)
ScInputHandler * GetInputHdl(ScTabViewShell *pViewSh=nullptr, bool bUseRef=true)
Input-Handler.
bool InputKeyEvent(const KeyEvent &rKEvt, bool bStartEdit=false)
sal_uInt16 GetCurRefDlgId() const
void SetInputMode(ScInputMode eMode, const OUString *pInitText=nullptr)
SC_DLLPUBLIC const ScInputOptions & GetInputOptions()
void ViewShellChanged(bool bStopEditing)
SC_DLLPUBLIC void InputEnterHandler(ScEnterMode nBlockMode=ScEnterMode::NORMAL, bool bBeforeSavingInLOK=false)
Contains settings of the navigator listbox.
void SetFlags(bool bCloseOnButtonUp, bool bSingleCell, bool bMultiSelection)
void SetCloseHdl(const Link< const OUString *, void > &rLink)
void SetRefString(const OUString &rStr)
void SetUnoLinks(const Link< const OUString &, void > &rDone, const Link< const OUString &, void > &rAbort, const Link< const OUString &, void > &rChange)
static void SetAutoReOpen(bool bFlag)
void RangeSelChanged(const OUString &rText)
void RangeSelAborted(const OUString &rText)
void RangeSelDone(const OUString &rText)
virtual SfxPrinter * GetPrinter(bool bCreate=false) override
ScTabViewShell(SfxViewFrame &rViewFrame, SfxViewShell *pOldSh)
-> Clone Method for Factory Created from a general shell and inherit as much as possible
virtual std::unique_ptr< SfxTabPage > CreatePrintOptionsPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rOptions) override
std::unique_ptr< ScDPObject > pDialogDPObject
void SetDrawTextShell(bool bActive)
std::unique_ptr< ScPageBreakShell > pPageBreakShell
std::unique_ptr< ScAuditingShell > pAuditingShell
void SetGraphicShell(bool bActive)
void SetChartShell(bool bActive)
void SetAuditShell(bool bActive)
std::unique_ptr<::editeng::SvxBorderLine > pCurFrameLine
std::unique_ptr< ScInputHandler, o3tl::default_delete< ScInputHandler > > mpInputHandler
void DoReadUserData(std::u16string_view rData)
virtual void QueryObjAreaPixel(tools::Rectangle &rRect) const override
virtual void InnerResizePixel(const Point &rOfs, const Size &rSize, bool inplaceEditModeChange) override
void SetEditShell(EditView *pView, bool bActive)
void StopSimpleRefDialog()
bool IsAuditShell() const
std::unique_ptr< svx::FontworkBar > pFontworkBarShell
virtual tools::Rectangle getLOKVisibleArea() const override
void SetDrawTextUndo(SfxUndoManager *pUndoMgr)
std::unique_ptr< svx::ExtrusionBar > pExtrusionBarShell
std::unique_ptr< ScPivotShell > pPivotShell
std::unique_ptr< ScMediaShell > pMediaShell
void SetSparklineShell(bool bActive)
std::unique_ptr< ScGraphicShell > pGraphicShell
virtual void WriteUserDataSequence(css::uno::Sequence< css::beans::PropertyValue > &) override
void SetDrawFormShell(bool bActive)
void UpdateInputHandler(bool bForce=false, bool bStopEditing=true)
void SetPivotShell(bool bActive)
void SetCurSubShell(ObjectSelectionType eOST, bool bForce=false)
bool TabKeyInput(const KeyEvent &rKEvt)
void SetDialogDPObject(std::unique_ptr< ScDPObject > pObj)
virtual bool HasPrintOptionsPage() const override
virtual sal_uInt16 SetPrinter(SfxPrinter *pNewPrinter, SfxPrinterChangeFlags nDiffFlags=SFX_PRINTER_ALL) override
std::unique_ptr< ScChartShell > pChartShell
virtual void ReadUserDataSequence(const css::uno::Sequence< css::beans::PropertyValue > &) override
ScNavigatorSettings * GetNavigatorSettings()
virtual void Activate(bool bMDI) override
std::unique_ptr< ScCellShell > pCellShell
void SetOleObjectShell(bool bActive)
std::unique_ptr< ScDrawShell > pDrawShell
void SetMediaShell(bool bActive)
void SetDragObject(ScTransferObj *pCellObj, ScDrawTransferObj *pDrawObj)
std::unique_ptr< ScDrawFormShell > pDrawFormShell
bool IsDrawTextShell() const
ObjectSelectionType eCurOST
virtual bool KeyInput(const KeyEvent &rKeyEvent) override
virtual void SetZoomFactor(const Fraction &rZoomX, const Fraction &rZoomY) override
SfxShell * GetMySubShell() const
std::unique_ptr< FmFormShell > pFormShell
css::uno::Reference< css::frame::XDispatchProviderInterceptor > xDisProvInterceptor
virtual void WriteUserData(OUString &, bool bBrowse=false) override
virtual bool PrepareClose(bool bUI=true) override
virtual ~ScTabViewShell() override
void SetFormShellAtTop(bool bSet)
std::unique_ptr< SfxBroadcaster > pAccessibilityBroadcaster
void DoReadUserDataSequence(const css::uno::Sequence< css::beans::PropertyValue > &rSettings)
static ScTabViewShell * GetActiveViewShell()
virtual void ReadUserData(const OUString &, bool bBrowse=false) override
virtual void OuterResizePixel(const Point &rOfs, const Size &rSize) override
void FillFieldData(ScHeaderFieldData &rData)
virtual void Move() override
const ScInputHandler * GetInputHandler() const
void SetDragJump(ScDocument *pLocalDoc, const OUString &rTarget, const OUString &rText)
ObjectSelectionType GetCurObjectSelectionType() const
void Construct(TriState nForceDesignMode)
std::unique_ptr< ScDrawTextObjectBar > pDrawTextShell
void StartSimpleRefDialog(const OUString &rTitle, const OUString &rInitVal, bool bCloseOnButtonUp, bool bSingleCell, bool bMultiSelection)
std::unique_ptr< ScEditShell > pEditShell
bool SfxKeyInput(const KeyEvent &rKEvt)
std::unique_ptr< ScDragData > m_pDragData
virtual void Deactivate(bool bMDI) override
void SetDrawShell(bool bActive)
std::unique_ptr< ScFormEditData > mpFormEditData
std::unique_ptr< ScOleObjectShell > pOleObjectShell
void SetDragLink(const OUString &rDoc, const OUString &rTab, const OUString &rArea)
std::unique_ptr< ScNavigatorSettings > pNavSettings
std::unique_ptr< sc::SparklineShell > m_pSparklineShell
void LockModifiers(sal_uInt16 nModifiers)
sal_uInt16 GetLockedModifiers() const
bool IsDrawTextEdit() const
FuPoor * GetDrawFuncPtr()
void UpdateAutoFillMark(bool bFromPaste=false)
void ResetBrushDocument()
void ErrorMessage(TranslateId pGlobStrId)
ScDocument * GetBrushDocument() const
SfxItemSet * GetDrawBrushSet() const
void MakeDrawView(TriState nForceDesignMode)
void EnableAutoSpell(bool bEnable)
void ViewOptionsHasChanged(bool bHScrollChanged, bool bGraphicsChanged)
void UpdateDrawTextOutliner()
void ActivateView(bool bActivate, bool bFirst)
void UpdateHeaderWidth(const ScVSplitPos *pWhich=nullptr, const SCROW *pPosY=nullptr)
vcl::Window * GetFrameWin() const
SC_DLLPUBLIC void MoveCursorAbs(SCCOL nCurX, SCROW nCurY, ScFollowMode eMode, bool bShift, bool bControl, bool bKeepOld=false, bool bKeepSel=false)
ScViewData & GetViewData()
void SetZoom(const Fraction &rNewX, const Fraction &rNewY, bool bAll)
ScGridWindow * GetActiveWin()
void DoResize(const Point &rOffset, const Size &rSize, bool bInner=false)
ScDrawView * GetScDrawView()
bool IsDrawSelMode() const
void KillEditView(bool bNoPaint)
SC_DLLPUBLIC void SetTabNo(SCTAB nTab, bool bNew=false, bool bExtendSelection=false, bool bSameTabButMoved=false)
void GetBorderSize(SvBorder &rBorder, const Size &rSize)
void SetZoomType(SvxZoomType eNew, bool bAll)
SfxDispatcher & GetDispatcher()
ScMarkData & GetMarkData()
ScDocument & GetDocument() const
SCROW GetPosY(ScVSplitPos eWhich, SCTAB nForTab=-1) const
void SetScreenPos(const Point &rVisAreaStart)
ScDocShell * GetDocShell() const
void WriteUserDataSequence(css::uno::Sequence< css::beans::PropertyValue > &rSettings) const
ScMarkType GetSimpleArea(SCCOL &rStartCol, SCROW &rStartRow, SCTAB &rStartTab, SCCOL &rEndCol, SCROW &rEndRow, SCTAB &rEndTab) const
void UpdateScreenZoom(const Fraction &rNewX, const Fraction &rNewY)
ScSplitPos GetActivePart() const
void ReadUserData(std::u16string_view rData)
void WriteUserData(OUString &rData)
void ReadUserDataSequence(const css::uno::Sequence< css::beans::PropertyValue > &rSettings)
SCTAB GetRefTabNo() const
bool IsPagebreakMode() const
const tools::Rectangle & getLOKVisibleArea() const
The visible area in the client (set by setClientVisibleArea).
SCCOL GetPosX(ScHSplitPos eWhich, SCTAB nForTab=-1) const
void ReadExtOptions(const ScExtDocOptions &rOpt)
void ModifyCellSize(ScDirection eDir, bool bOptimal)
bool AreObjectsMarked() const
virtual void SAL_CALL setCurrentController(const css::uno::Reference< css::frame::XController > &xController) override
vcl::Window * GetWindow() const
std::shared_ptr< SfxDialogController > & GetController()
const SfxPoolItem * Execute(sal_uInt16 nSlot, SfxCallMode nCall=SfxCallMode::SLOT, const SfxPoolItem **pArgs=nullptr, sal_uInt16 nModi=0, const SfxPoolItem **pInternalArgs=nullptr)
css::uno::Reference< css::frame::XController > GetController() const
bool IsObjectInPlaceActive() const
static void notifyOtherViews(const SfxViewShell *pThisView, int nType, std::string_view rKey, const OString &rPayload)
const INetURLObject & GetURLObject() const
css::uno::Reference< css::document::XDocumentProperties > getDocProperties() const
SfxMedium * GetMedium() const
OUString GetTitle(sal_uInt16 nMaxLen=0) const
virtual tools::Rectangle GetVisArea(sal_uInt16 nAspect) const
SfxObjectCreateMode GetCreateMode() const
void SetUndoManager(SfxUndoManager *pNewUndoMgr)
SfxItemPool & GetPool() const
void SetRepeatTarget(SfxRepeatTarget *pTarget)
SfxViewFrame * GetFrame() const
void SetPool(SfxItemPool *pNewPool)
void SetName(const OUString &rName)
void SetMaxUndoActionCount(size_t nMaxUndoActionCount)
vcl::Window & GetWindow() const
bool HasChildWindow(sal_uInt16)
static SAL_WARN_UNUSED_RESULT SfxViewFrame * GetNext(const SfxViewFrame &rPrev, const SfxObjectShell *pDoc=nullptr, bool bOnlyVisible=true)
SfxDispatcher * GetDispatcher()
SfxChildWindow * GetChildWindow(sal_uInt16)
static SAL_WARN_UNUSED_RESULT SfxViewFrame * GetFirst(const SfxObjectShell *pDoc=nullptr, bool bOnlyVisible=true)
SfxFrame & GetFrame() const
virtual bool PrepareClose(bool bUI=true)
virtual void Activate(bool IsMDIActivate) override
css::uno::Reference< css::frame::XController > GetController() const
void SetBorderPixel(const SvBorder &rBorder)
ViewShellDocId GetDocId() const override
virtual void SetZoomFactor(const Fraction &rZoomX, const Fraction &rZoomY)
SfxViewFrame & GetViewFrame() const
SfxShell * GetSubShell(sal_uInt16)
static SAL_WARN_UNUSED_RESULT SfxViewShell * GetNext(const SfxViewShell &rPrev, bool bOnlyVisible=true, const std::function< bool(const SfxViewShell *)> &isViewShell=nullptr)
virtual void Deactivate(bool IsMDIActivate) override
static SAL_WARN_UNUSED_RESULT SfxViewShell * GetFirst(bool bOnlyVisible=true, const std::function< bool(const SfxViewShell *)> &isViewShell=nullptr)
virtual SfxObjectShell * GetObjectShell() override
static SAL_WARN_UNUSED_RESULT SfxViewShell * Current()
virtual bool KeyInput(const KeyEvent &rKeyEvent)
void SetWindow(vcl::Window *pViewPort)
vcl::Window * GetWindow() const
void AddSubShell(SfxShell &rShell)
void RemoveSubShell(SfxShell *pShell=nullptr)
constexpr tools::Long Height() const
tools::Long AdjustHeight(tools::Long n)
tools::Long AdjustWidth(tools::Long n)
constexpr tools::Long Width() const
bool hasDdeOrOleOrWebServiceLinks() const
Shell to handle the sparkline context.
sal_uInt16 GetGroup() const
sal_uInt16 GetCode() const
sal_uInt16 GetModifier() const
KeyFuncType GetFunction() const
Point OutputToScreenPixel(const Point &rPos) const
Point LogicToPixel(const Point &rLogicPt) const
Point PixelToLogic(const Point &rDevicePt) const
Size GetOutputSizePixel() const
virtual void SetPosSizePixel(const Point &rNewPos, const Size &rNewSize)
constexpr ::Color COL_BLACK(0x00, 0x00, 0x00)
SfxViewShell * pScActiveViewShell
@ StartListening
If set, cloned formula cells will start to listen to the document.
constexpr sal_uInt16 KEY_RETURN
constexpr sal_uInt16 KEYGROUP_ALPHA
constexpr sal_uInt16 KEY_ESCAPE
constexpr sal_uInt16 KEY_MOD1
constexpr sal_uInt16 KEY_HOME
constexpr sal_uInt16 KEY_LEFT
constexpr sal_uInt16 KEY_PAGEDOWN
constexpr sal_uInt16 KEY_EQUAL
constexpr sal_uInt16 KEY_TAB
constexpr sal_uInt16 KEY_UP
constexpr sal_uInt16 KEYGROUP_MISC
constexpr sal_uInt16 KEY_RIGHT
constexpr sal_uInt16 KEY_DOWN
constexpr sal_uInt16 KEY_SPACE
constexpr sal_uInt16 KEY_PAGEUP
constexpr sal_uInt16 KEYGROUP_NUM
constexpr sal_uInt16 KEY_END
#define LINK(Instance, Class, Member)
bool checkForSelectedCustomShapes(SdrView const *pSdrView, bool bOnlyExtruded)
bool checkForSelectedFontWork(SdrView const *pSdrView)
Reference< XController > xController
static ScTabViewObj * lcl_GetViewObj(const ScTabViewShell &rShell)
IMPL_LINK_NOARG(ScTabViewShell, FormControlActivated, LinkParamNone *, void)
IMPL_LINK(ScTabViewShell, SimpleRefDone, const OUString &, aResult, void)
ScHSplitPos WhichH(ScSplitPos ePos)
ScMarkType
States GetSimpleArea() returns for the underlying selection marks, so the caller can react if the res...
ScVSplitPos WhichV(ScSplitPos ePos)