LibreOffice Module sc (master)
1
|
#include <gridwin.hxx>
Classes | |
struct | LOKCursorEntry |
struct | MouseEventState |
struct | VisibleRange |
Stores current visible column and row ranges, used to avoid expensive operations on objects that are outside visible area. More... | |
Protected Member Functions | |
virtual void | PrePaint (vcl::RenderContext &rRenderContext) override |
virtual void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override |
virtual void | GetFocus () override |
virtual void | LoseFocus () override |
virtual void | RequestHelp (const HelpEvent &rEvt) override |
virtual sal_Int8 | AcceptDrop (const AcceptDropEvent &rEvt) override |
virtual sal_Int8 | ExecuteDrop (const ExecuteDropEvent &rEvt) override |
virtual void | StartDrag (sal_Int8 nAction, const Point &rPosPixel) override |
void | ImpCreateOverlayObjects () |
void | ImpDestroyOverlayObjects () |
![]() | |
SAL_DLLPRIVATE void | ImplInit (vcl::Window *pParent, WinBits nStyle, SystemParentData *pSystemParentData) |
SAL_DLLPRIVATE Point | ImplOutputToFrame (const Point &rPos) |
SAL_DLLPRIVATE void | ImplInvalidateParentFrameRegion (const vcl::Region &rRegion) |
SAL_DLLPRIVATE void | ImplValidateFrameRegion (const vcl::Region *rRegion, ValidateFlags nFlags) |
SAL_DLLPRIVATE void | ImplValidate () |
SAL_DLLPRIVATE void | ImplMoveInvalidateRegion (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, bool bChildren) |
SAL_DLLPRIVATE void | ImplMoveAllInvalidateRegions (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, bool bChildren) |
SAL_DLLPRIVATE vcl::Window * | ImplGetBorderWindow () const |
SAL_DLLPRIVATE void | ImplInvalidate (const vcl::Region *rRegion, InvalidateFlags nFlags) |
virtual WindowHitTest | ImplHitTest (const Point &rFramePos) |
SAL_DLLPRIVATE void | ImplSetMouseTransparent (bool bTransparent) |
SAL_DLLPRIVATE void | ImplScroll (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, ScrollFlags nFlags) |
SAL_DLLPRIVATE bool | ImplSetClipFlagChildren (bool bSysObjOnlySmaller) |
SAL_DLLPRIVATE bool | ImplSetClipFlagOverlapWindows (bool bSysObjOnlySmaller=false) |
SAL_DLLPRIVATE void | PushPaintHelper (PaintHelper *pHelper, vcl::RenderContext &rRenderContext) |
SAL_DLLPRIVATE void | PopPaintHelper (PaintHelper const *pHelper) |
Window (WindowType nType) | |
void | SetCompoundControl (bool bCompound) |
void | CallEventListeners (VclEventId nEvent, void *pData=nullptr) |
virtual void | ImplAdjustNWFSizes () |
virtual void | ApplySettings (vcl::RenderContext &rRenderContext) |
SAL_DLLPRIVATE float | approximate_char_width () const |
SAL_DLLPRIVATE vcl::Window * | getLegacyNonLayoutAccessibleRelationMemberOf () const |
SAL_DLLPRIVATE vcl::Window * | getLegacyNonLayoutAccessibleRelationLabeledBy () const |
SAL_DLLPRIVATE vcl::Window * | getLegacyNonLayoutAccessibleRelationLabelFor () const |
virtual vcl::Window * | getAccessibleRelationLabelFor () const |
virtual sal_uInt16 | getDefaultAccessibleRole () const |
virtual OUString | getDefaultAccessibleName () const |
virtual Size | GetOptimalSize () const |
void | InvalidateSizeCache () |
![]() | |
VclReferenceBase () | |
virtual | ~VclReferenceBase () |
Private Types | |
enum | RfCorner { NONE, LEFT_UP, RIGHT_UP, LEFT_DOWN, RIGHT_DOWN } |
enum | ScNestedButtonState { ScNestedButtonState::NONE, ScNestedButtonState::Down, ScNestedButtonState::Up } |
Private Member Functions | |
DECL_DLLPRIVATE_LINK (PopupModeEndHdl, weld::Popover &, void) | |
DECL_DLLPRIVATE_LINK (PopupSpellingHdl, SpellCallbackInfo &, void) | |
bool | TestMouse (const MouseEvent &rMEvt, bool bAction) |
bool | DoPageFieldSelection (SCCOL nCol, SCROW nRow) |
bool | DoAutoFilterButton (SCCOL nCol, SCROW nRow, const MouseEvent &rMEvt) |
void | DoPushPivotButton (SCCOL nCol, SCROW nRow, const MouseEvent &rMEvt, bool bButton, bool bPopup) |
void | DPMouseMove (const MouseEvent &rMEvt) |
void | DPMouseButtonUp (const MouseEvent &rMEvt) |
void | DPTestMouse (const MouseEvent &rMEvt, bool bMove) |
bool | DPTestFieldPopupArrow (const MouseEvent &rMEvt, const ScAddress &rPos, const ScAddress &rDimPos, ScDPObject *pDPObj) |
Check if the mouse click is on a field popup button. More... | |
void | DPLaunchFieldPopupMenu (const Point &rScrPos, const Size &rScrSize, const ScAddress &rPos, ScDPObject *pDPObj) |
void | RFMouseMove (const MouseEvent &rMEvt, bool bUp) |
void | PagebreakMove (const MouseEvent &rMEvt, bool bUp) |
void | UpdateDragRect (bool bShowRange, const tools::Rectangle &rPosRect) |
bool | IsAutoFilterActive (SCCOL nCol, SCROW nRow, SCTAB nTab) |
void | FilterSelect (sal_uLong nSel) |
void | ExecDataSelect (SCCOL nCol, SCROW nRow, const OUString &rStr) |
bool | HasScenarioButton (const Point &rPosPixel, ScRange &rScenRange) |
void | DropScroll (const Point &rMousePos) |
sal_Int8 | AcceptPrivateDrop (const AcceptDropEvent &rEvt, const ScDragData &rData) |
sal_Int8 | ExecutePrivateDrop (const ExecuteDropEvent &rEvt, const ScDragData &rData) |
sal_Int8 | DropTransferObj (ScTransferObj *pTransObj, SCCOL nDestPosX, SCROW nDestPosY, const Point &rLogicPos, sal_Int8 nDndAction) |
void | HandleMouseButtonDown (const MouseEvent &rMEvt, MouseEventState &rState) |
bool | DrawMouseButtonDown (const MouseEvent &rMEvt) |
bool | DrawMouseButtonUp (const MouseEvent &rMEvt) |
bool | DrawMouseMove (const MouseEvent &rMEvt) |
bool | DrawKeyInput (const KeyEvent &rKEvt, vcl::Window *pWin) |
bool | DrawCommand (const CommandEvent &rCEvt) |
bool | DrawHasMarkedObj () |
void | DrawEndAction () |
void | DrawMarkDropObj (SdrObject *pObj) |
bool | IsMyModel (const SdrEditView *pSdrView) |
void | DrawRedraw (ScOutputData &rOutputData, SdrLayerID nLayer) |
void | DrawSdrGrid (const tools::Rectangle &rDrawingRect, OutputDevice *pContentDev) |
void | DrawAfterScroll () |
tools::Rectangle | GetListValButtonRect (const ScAddress &rButtonPos) |
void | DrawHiddenIndicator (SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, vcl::RenderContext &rRenderContext) |
void | DrawPagePreview (SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, vcl::RenderContext &rRenderContext) |
bool | GetEditUrl (const Point &rPos, OUString *pName=nullptr, OUString *pUrl=nullptr, OUString *pTarget=nullptr) |
bool | HitRangeFinder (const Point &rMouse, RfCorner &rCorner, sal_uInt16 *pIndex, SCCOL *pAddX, SCROW *pAddY) |
sal_uInt16 | HitPageBreak (const Point &rMouse, ScRange *pSource, SCCOLROW *pBreak, SCCOLROW *pPrev) |
bool | IsCellCoveredByText (SCCOL nPosX, SCROW nPosY, SCTAB nTab, SCCOL &rTextStartPosX) |
The cell may be covered by text that overflows from a previous cell. More... | |
void | PasteSelection (const Point &rPosPixel) |
void | SelectForContextMenu (const Point &rPosPixel, SCCOL nCellX, SCROW nCellY) |
void | GetSelectionRects (::std::vector< tools::Rectangle > &rPixelRects) const |
void | GetSelectionRectsPrintTwips (::std::vector< tools::Rectangle > &rRects) const |
void | GetPixelRectsFor (const ScMarkData &rMarkData,::std::vector< tools::Rectangle > &rPixelRects) const |
convert rMarkData into pixel rectangles for this view More... | |
void | GetRectsAnyFor (const ScMarkData &rMarkData,::std::vector< tools::Rectangle > &rRects, bool bInPrintTwips) const |
void | UpdateKitSelection (const std::vector< tools::Rectangle > &rRectangles, std::vector< tools::Rectangle > *pLogicRects=nullptr) |
Turn the selection ranges rRectangles into the LibreOfficeKit selection, and send to other views. More... | |
bool | NeedLOKCursorInvalidation (const tools::Rectangle &rCursorRect, const Fraction aScaleX, const Fraction aScaleY) |
void | InvalidateLOKViewCursor (const tools::Rectangle &rCursorRect, const Fraction aScaleX, const Fraction aScaleY) |
void | SetupInitialPageBreaks (const ScDocument &rDoc, SCTAB nTab) |
DECL_DLLPRIVATE_LINK (InitiatePageBreaksTimer, Timer *, void) | |
void | dumpCellProperties () |
void | dumpColumnInformationPixel () |
void | dumpColumnInformationHmm () |
void | dumpGraphicInformation () |
void | dumpColumnCellStorage () |
Friends | |
class | ScFilterListBox |
Additional Inherited Members | |
![]() | |
static SAL_DLLPRIVATE void | ImplInitAppFontData (vcl::Window const *pWindow) |
static SAL_DLLPRIVATE void | ImplCalcSymbolRect (tools::Rectangle &rRect) |
static DockingManager * | GetDockingManager () |
static VclPtr< vcl::Window > | SaveFocus () |
static void | EndSaveFocus (const VclPtr< vcl::Window > &xFocusWin) |
static VclPtr< vcl::Window > | FindLOKWindow (vcl::LOKWindowId nWindowId) |
static bool | IsLOKWindowsEmpty () |
static OUString | GetNonMnemonicString (const OUString &rStr) |
Definition at line 88 of file gridwin.hxx.
|
strong |
Enumerator | |
---|---|
Normal | |
Empty | |
NonEmpty | |
Top10 | |
Bottom10 | |
Custom | |
TextColor | |
BackgroundColor | |
SortAscending | |
SortDescending | |
Clear |
Definition at line 334 of file gridwin.hxx.
|
private |
Enumerator | |
---|---|
NONE | |
LEFT_UP | |
RIGHT_UP | |
LEFT_DOWN | |
RIGHT_DOWN |
Definition at line 93 of file gridwin.hxx.
|
strongprivate |
Enumerator | |
---|---|
NONE | |
Down | |
Up |
Definition at line 169 of file gridwin.hxx.
ScGridWindow::ScGridWindow | ( | vcl::Window * | pParent, |
ScViewData & | rData, | ||
ScSplitPos | eWhichPos | ||
) |
Definition at line 350 of file gridwin.cxx.
References bInitialPageBreaks, eHWhich, vcl::Window::EnableChildTransparentMode(), vcl::Window::EnableRTL(), eVWhich, eWhich, false, ScViewData::GetLogicMode(), vcl::Window::GetOutDev(), HID_SC_WIN_GRIDWIN, comphelper::LibreOfficeKit::isActive(), LINK, maShowPageBreaksTimer, mrViewData, SC_MOD, SC_SPLIT_BOTTOM, SC_SPLIT_BOTTOMLEFT, SC_SPLIT_BOTTOMRIGHT, SC_SPLIT_LEFT, SC_SPLIT_RIGHT, SC_SPLIT_TOP, SC_SPLIT_TOPLEFT, SC_SPLIT_TOPRIGHT, vcl::Window::set_id(), vcl::Window::SetBackground(), vcl::Window::SetDialogControlFlags(), OutputDevice::SetDigitLanguage(), vcl::Window::SetHelpId(), Timer::SetInvokeHandler(), vcl::Window::SetMapMode(), Timer::SetTimeout(), vcl::Window::SetUseFrameData(), WB_CLIPCHILDREN, WB_DIALOGCONTROL, and Window.
|
overridevirtual |
Definition at line 431 of file gridwin.cxx.
References VclReferenceBase::disposeOnce().
|
overrideprotectedvirtual |
Reimplemented from DropTargetHelper.
Definition at line 4089 of file gridwin.cxx.
References AcceptPrivateDrop(), ScRange::aEnd, ScDragData::aJumpTarget, ScDragData::aLinkDoc, ScRange::aStart, ScAddress::Col(), DND_ACTION_COPY, DND_ACTION_COPYMOVE, DND_ACTION_LINK, DND_ACTION_MOVE, DND_ACTION_NONE, DrawMarkDropObj(), DropScroll(), eWhich, ScViewData::GetDocShell(), ScViewData::GetDocument(), ScDrawTransferObj::GetDragSourceView(), SfxObjectShell::GetMedium(), SfxMedium::GetName(), ScDocument::GetObjectAtPoint(), ScViewData::GetPosFromPixel(), ScTransferObj::GetRange(), ScViewData::GetTabNo(), SfxObjectShell::HasName(), DropTargetHelper::IsDropFormatSupported(), ScEditableTester::IsFormatEditable(), IsMyModel(), SfxObjectShell::IsReadOnly(), AcceptDropEvent::maPosPixel, ScDocument::MaxCol(), ScDocument::MaxRow(), AcceptDropEvent::mbDefault, AcceptDropEvent::mbLeaving, AcceptDropEvent::mnAction, mrViewData, ScDragData::pCellTransfer, ScDragData::pDrawTransfer, vcl::Window::PixelToLogic(), ScDragData::pJumpLocalDoc, Point, rData, ScAddress::Row(), and SC_MOD.
|
private |
highlight chart? (selection border?)
Definition at line 3875 of file gridwin.cxx.
References ScRange::aEnd, aName, ScRange::aStart, bDragRect, ScAddress::Col(), DND_ACTION_MOVE, DND_ACTION_NONE, eWhich, ScDPObject::GetDimName(), ScViewData::GetDocument(), ScDocument::GetDPAtCursor(), ScTransferObj::GetDragHandleX(), ScTransferObj::GetDragHandleY(), ScTransferObj::GetDragSourceFlags(), ScDPSaveData::GetExistingDimensionByName(), ScDPObject::GetHeaderPositionData(), ScTransferObj::GetNonFilteredRows(), ScDPSaveDimension::GetOrientation(), ScDPObject::GetOutRange(), vcl::Window::GetPointerState(), ScViewData::GetPosFromPixel(), ScTransferObj::GetRange(), ScDPObject::GetSaveData(), ScTransferObj::GetSourceDocument(), ScViewData::GetTabNo(), ScDocument::HasChartAtPoint(), ScViewUtil::HasFiltered(), ScTransferObj::HasFilteredRows(), INS_CELLSDOWN, INS_CELLSRIGHT, INS_NONE, ScDocument::IsDocEditable(), KEY_MOD2, lcl_MakeDropRange(), lcl_TestScenarioRedliningDrop(), AcceptDropEvent::maPosPixel, ScDocument::MaxCol(), ScDocument::MaxRow(), AcceptDropEvent::mbLeaving, meDragInsertMode, AcceptDropEvent::mnAction, mrViewData, nDragEndX, nDragEndY, nDragStartX, nDragStartY, ScDragData::pCellTransfer, vcl::Window::PixelToLogic(), Point, ScAddress::Row(), ScAddress::Tab(), Table, and UpdateDragRectOverlay().
Referenced by AcceptDrop().
void ScGridWindow::CheckNeedsRepaint | ( | ) |
Definition at line 1763 of file gridwin4.cxx.
References aRepaintPixel, bNeedsRepaint, ScViewData::GetBindings(), SfxBindings::Invalidate(), vcl::Window::Invalidate(), tools::Rectangle::IsEmpty(), mrViewData, and vcl::Window::PixelToLogic().
Referenced by Draw(), and UpdateFormulas().
void ScGridWindow::ClickExtern | ( | ) |
Definition at line 455 of file gridwin.cxx.
References mpDPFieldPopup, and mpFilterBox.
Referenced by HandleMouseButtonDown(), and ScrollPixel().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 3055 of file gridwin.cxx.
References SdrMarkView::AreObjectsMarked(), ScRefCellValue::assign(), bEEMouse, CELLTYPE_EDIT, CELLTYPE_NONE, CELLTYPE_STRING, tools::Rectangle::Center(), ScAddress::Col(), OutlinerView::Command(), EditEngine::CompleteOnlineSpelling(), ScTabViewShell::DeactivateOle(), ScTabViewShell::EnableEditHyperlink(), ScInputHandler::EnterHandler(), eWhich, SfxDispatcher::ExecutePopup(), EditView::ExecuteSpellPopup(), SdrMarkView::GetAllMarkedBoundRect(), ScViewData::GetBindings(), CommandEvent::GetCommand(), EditView::GetCursor(), ScViewData::GetCurX(), ScViewData::GetCurY(), ScViewData::GetDocument(), ScViewData::GetEditEndCol(), ScViewData::GetEditEndRow(), EditView::GetEditEngine(), ScInputHandler::GetEditString(), ScViewData::GetEditView(), ScViewData::GetEditViewCol(), ScViewData::GetEditViewRow(), vcl::Cursor::GetHeight(), ScModule::GetInputHdl(), SfxViewShell::GetIPClient(), ScViewData::GetMergeSizePixel(), CommandEvent::GetMousePosPixel(), vcl::Cursor::GetPos(), ScViewData::GetPosFromPixel(), ScTabView::GetScDrawView(), ScViewData::GetScrPos(), ScViewData::GetSfxDocShell(), ScViewData::GetTabNo(), ScDocument::GetTabProtection(), SdrObjEditView::GetTextEditOutlinerView(), ScViewData::GetView(), ScViewData::GetViewShell(), vcl::Cursor::GetWidth(), OutlinerView::GetWindow(), ScDocument::HasAttrib(), ScViewData::HasEditView(), ScAddress::IncCol(), ScInputHandler::InputCommand(), SfxBindings::Invalidate(), ScViewData::IsAnyFillMode(), ScModule::IsFormulaMode(), ScDocument::IsLayoutRTL(), ScModule::IsModalMode(), CommandEvent::IsMouseEvent(), SfxInPlaceClient::IsObjectInPlaceActive(), ScTableProtection::isOptionEnabled(), ScTableProtection::isProtected(), lcl_SetTextCursorPos(), LINK, vcl::Window::LogicToPixel(), ScRefCellValue::meType, mpSpellCheckCxt, mrViewData, nMouseStatus, PasteSelection(), Point, Protected, vcl::Window::ReleaseMouse(), ScViewData::ResetFillMode(), SC_GM_IGNORE, SC_INPUT_TABLE, SC_MOD, ScTabView::ScrollCommand(), ScTableProtection::SELECT_LOCKED_CELLS, ScTableProtection::SELECT_UNLOCKED_CELLS, SelectForContextMenu(), ScModule::SetInputMode(), ScInputHandler::SetModified(), ScTabViewShell::ShouldDisableEditHyperlink(), StopMarking(), and ScTabView::StopRefMode().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 371 of file gridwin5.cxx.
References eWhich, vcl::Window::GetAccessible(), vcl::Window::GetAccessibleParentWindow(), ScViewData::GetViewShell(), mrViewData, and vcl::Window::SetAccessible().
void ScGridWindow::CreateAnchorHandle | ( | SdrHdlList & | rHdl, |
const ScAddress & | rAddress | ||
) |
Definition at line 317 of file gridwin3.cxx.
References SdrHdlList::AddHdl(), ScAddress::Col(), eWhich, ScViewData::GetDocument(), ScViewOptions::GetOption(), ScViewData::GetOptions(), ScTabView::GetScDrawView(), ScViewData::GetScrPos(), ScViewData::GetTabNo(), ScViewData::GetView(), ScDocument::IsNegativePage(), mrViewData, vcl::Window::PixelToLogic(), Point, ScAddress::Row(), and VOPT_ANCHOR.
void ScGridWindow::CursorChanged | ( | ) |
Definition at line 6028 of file gridwin.cxx.
References UpdateCursorOverlay(), and UpdateSparklineGroupOverlay().
Referenced by ScGridWinUIObject::execute().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 2513 of file gridwin4.cxx.
References eWhich, ScInputHandler::ForgetLastPattern(), ScViewData::GetActivePart(), ScViewData::GetDocShell(), DataChangedEvent::GetFlags(), DataChangedEvent::GetType(), ScViewData::GetView(), vcl::Window::Invalidate(), ScViewData::IsActive(), mrViewData, ScTabView::RecalcPPT(), ScTabView::RepeatResize(), SC_MOD, ScTabView::UpdateAllOverlays(), and ScDocShell::UpdateFontList().
|
private |
|
private |
void ScGridWindow::DeleteAutoFillOverlay | ( | ) |
Definition at line 6597 of file gridwin.cxx.
References mpAutoFillRect, and mpOOAutoFill.
Referenced by ImpDestroyOverlayObjects(), and UpdateAutoFillOverlay().
void ScGridWindow::DeleteCopySourceOverlay | ( | ) |
Definition at line 6077 of file gridwin.cxx.
References mpOOSelectionBorder.
Referenced by ImpDestroyOverlayObjects(), and UpdateCopySourceOverlay().
void ScGridWindow::DeleteCursorOverlay | ( | ) |
Definition at line 6069 of file gridwin.cxx.
References ScViewData::GetViewShell(), SfxViewShell::libreOfficeKitViewCallback(), mpOOCursors, mrViewData, and SfxLokHelper::notifyOtherViews().
Referenced by ImpDestroyOverlayObjects(), and UpdateCursorOverlay().
void ScGridWindow::DeleteDragRectOverlay | ( | ) |
Definition at line 6692 of file gridwin.cxx.
References mpOODragRect.
Referenced by ImpDestroyOverlayObjects(), and UpdateDragRectOverlay().
void ScGridWindow::DeleteHeaderOverlay | ( | ) |
Definition at line 6863 of file gridwin.cxx.
References mpOOHeader.
Referenced by ImpDestroyOverlayObjects(), and UpdateHeaderOverlay().
void ScGridWindow::DeleteSelectionOverlay | ( | ) |
Definition at line 6510 of file gridwin.cxx.
References mpOOSelection.
Referenced by ImpDestroyOverlayObjects(), and UpdateSelectionOverlay().
void ScGridWindow::DeleteShrinkOverlay | ( | ) |
Definition at line 6909 of file gridwin.cxx.
References mpOOShrink.
Referenced by ImpDestroyOverlayObjects(), and UpdateShrinkOverlay().
void ScGridWindow::DeleteSparklineGroupOverlay | ( | ) |
Definition at line 6976 of file gridwin.cxx.
References mpOOSparklineGroup.
Referenced by ImpDestroyOverlayObjects(), and UpdateSparklineGroupOverlay().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 3746 of file gridwin.cxx.
References OutlinerView::DeleteSurroundingText(), ScInputHandler::DeleteSurroundingText(), ScModule::GetInputHdl(), ScTabView::GetScDrawView(), ScViewData::GetView(), ScViewData::GetViewShell(), OutlinerView::GetWindow(), ScViewData::HasEditView(), mrViewData, and SC_MOD.
Reimplemented from vcl::Window.
Definition at line 436 of file gridwin.cxx.
References aComboButton, vcl::Window::dispose(), ImpDestroyOverlayObjects(), maShowPageBreaksTimer, mpAutoFilterPopup, mpDPFieldPopup, mpFilterBox, mpNoteMarker, mpSpellCheckCxt, ScDDComboBoxButton::SetOutputDevice(), and Task::Stop().
|
private |
Definition at line 104 of file gridwin2.cxx.
References tools::Rectangle::Contains(), MouseEvent::GetPosPixel(), ScDocument::GetRowHeight(), comphelper::LibreOfficeKit::isActive(), ScDocument::IsLayoutRTL(), Point, and ScViewData::ToPixel().
Referenced by HandleMouseButtonDown().
void ScGridWindow::DoInvertRect | ( | const tools::Rectangle & | rPixel | ) |
Definition at line 302 of file gridwin4.cxx.
References aInvertRect, tools::Rectangle::IsEmpty(), and UpdateHeaderOverlay().
Referenced by ScTabView::InvertHorizontal(), and ScTabView::InvertVertical().
Definition at line 94 of file gridwin2.cxx.
|
private |
Definition at line 149 of file gridwin2.cxx.
References ScRange::aStart, ScAddress::Col(), ScAbstractDialogFactory::Create(), ScAbstractDialogFactory::CreateScPivotFilterDlg(), ScDBDocFunc::DataPilotUpdate(), VclAbstractDialog::Execute(), ScDocument::GetDPAtCursor(), ScDPObject::GetHeaderDim(), AbstractScPivotFilterDlg::GetOutputItem(), ScQueryItem::GetQueryData(), ScSheetSourceDesc::GetQueryParam(), ScDPObject::GetSheetDesc(), ScSheetSourceDesc::GetSourceRange(), ScAddress::IncCol(), ScDPObject::IsFilterButton(), SfxItemSet::Put(), RET_OK, SCITEM_QUERYDATA, ScSheetSourceDesc::SetQueryParam(), ScDPObject::SetSheetDesc(), and ScAddress::Tab().
Referenced by HandleMouseButtonDown().
Definition at line 1294 of file gridwin.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustTop(), ScRange::aEnd, weld::TreeView::append_text(), ScRange::aStart, ScAddress::Col(), weld::TreeView::find_text(), weld::Widget::freeze(), ScViewData::GetDocument(), ScViewData::GetMergeSizePixel(), ScDocument::GetName(), weld::GetPopupParent(), ScViewData::GetPPTY(), ScDocument::GetRowHeight(), ScViewData::GetScenButSize(), ScViewData::GetScrPos(), ScDocument::GetTableCount(), ScViewData::GetTabNo(), weld::Widget::grab_focus(), ScDocument::HasScenarioRange(), Size::Height(), ScDocument::IsActiveScenario(), ScDocument::IsLayoutRTL(), ScDocument::IsScenario(), LINK, ScDocument::MaxRow(), mpFilterBox, mrViewData, weld::TreeView::n_children(), Point, ScAddress::Row(), Scenario, weld::TreeView::select(), weld::TreeView::set_cursor(), weld::Widget::set_direction(), ShowFilterMenu(), weld::Widget::thaw(), and ScViewData::ToPixel().
Referenced by HandleMouseButtonDown().
|
private |
Definition at line 439 of file gridwin2.cxx.
References ScDPObject::GetHeaderDim().
Referenced by ScTabView::DoDPFieldPopup(), LaunchDPFieldMenu(), and LaunchPageFieldMenu().
void ScGridWindow::DPLaunchFieldPopupMenu | ( | const Point & | rScrPos, |
const Size & | rScrSize, | ||
tools::Long | nDimIndex, | ||
ScDPObject * | pDPObj | ||
) |
Definition at line 448 of file gridwin2.cxx.
References ScListSubMenuControl::addMenuItem(), aName, ScDPObject::BuildAllDimensionMembers(), ScDPObject::FillLabelData(), ScDPObject::GetDimName(), ScDPLabelData::Member::getDisplayName(), ScDPSaveData::GetExistingDimensionByName(), GetFrameWeld(), ScDPSaveDimension::GetOrientation(), ScDPObject::GetSaveData(), ScDPObject::GetSource(), ScUserListData::GetString(), ScGlobal::GetUserList(), SfxShell::GetViewShell(), i, ScDPLabelData::maMembers, ScCheckListMenuControl::Config::mbAllowEmptySet, ScCheckListMenuControl::Config::mbRTL, ScDPLabelData::Member::mbVisible, n, rData, ScListSubMenuControl::resizeToFitMenuItems(), ScResId(), and ScUserList::size().
|
private |
Definition at line 649 of file gridwin2.cxx.
Referenced by MouseButtonUp().
|
private |
Definition at line 644 of file gridwin2.cxx.
Referenced by MouseMove().
|
private |
Check if the mouse click is on a field popup button.
Definition at line 342 of file gridwin2.cxx.
References ScAddress::Col(), tools::Rectangle::Contains(), ScDPFieldButton::getPopupBoundingBox(), MouseEvent::GetPosPixel(), comphelper::LibreOfficeKit::isActive(), Point, ScAddress::Row(), ScDPFieldButton::setBoundingBox(), and ScDPFieldButton::setPopupLeft().
|
private |
move this to separate method
docfunc method with ScDPSaveData as argument?
Definition at line 232 of file gridwin2.cxx.
References ScDBDocFunc::DataPilotUpdate(), MouseEvent::GetPosPixel(), Size::Height(), ScDPObject::IsOrientationAllowed(), Point, ScDPSaveDimension::SetOrientation(), ScDPObject::SetSaveData(), WhichH(), WhichV(), and Size::Width().
Paint AutoFill handles alone (without Cursor) ???
Definition at line 461 of file gridwin4.cxx.
References aAutoMarkPos, bAutoMarkVisible, CheckNeedsRepaint(), ScAddress::Col(), ScopedVclPtr< VirtualDevice >::disposeAndReset(), DrawContent(), eWhich, ScDocument::ExtendHidden(), ScDocument::ExtendMerge(), ScDocument::FillInfo(), VclPtr< VirtualDevice >::get(), ScViewData::GetCurX(), ScViewData::GetCurY(), ScViewData::GetDocument(), ScModule::GetInputOptions(), ScViewData::GetLogicMode(), ScViewData::GetMarkData(), ScViewOptions::GetOption(), ScViewData::GetOptions(), vcl::Window::GetOutDev(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), ScDocument::GetPrinter(), ScViewData::GetScrPos(), vcl::Window::GetSizePixel(), ScViewData::GetTabNo(), ScInputOptions::GetTextWysiwyg(), ScViewData::GetZoomX(), ScViewData::GetZoomY(), comphelper::LibreOfficeKit::isActive(), ScDocument::IsLayoutRTL(), ScViewData::IsMinimized(), ScViewData::IsOle(), Marks, maVisibleRange, ScGridWindow::VisibleRange::mnCol1, ScGridWindow::VisibleRange::mnCol2, ScGridWindow::VisibleRange::mnRow1, ScGridWindow::VisibleRange::mnRow2, mpSpellCheckCxt, mrViewData, nCursorHideCount, nPaintCount, nPPTX, nPPTY, OUTTYPE_WINDOW, Point, ScDocument::PrepareFormulaCalc(), PutInOrder(), ScDocument::ResetChanged(), ScAddress::Row(), SC_MOD, ScOutputData::SetFmtDevice(), OutputDevice::SetMapMode(), ScOutputData::SetMirrorWidth(), ScOutputData::SetSpellCheckContext(), ScAddress::Tab(), UpdateVisibleRange(), ScDocument::ValidCol(), ScDocument::ValidRow(), VOPT_FORMULAS, and Size::Width().
Referenced by Paint().
|
private |
Definition at line 304 of file gridwin3.cxx.
References ScTabView::GetScDrawView(), SdrObjEditView::GetTextEditOutlinerView(), ScViewData::GetView(), OutlinerView::GetWindow(), mrViewData, vcl::Window::PaintImmediately(), and OutlinerView::ShowCursor().
Referenced by ScrollPixel().
void ScGridWindow::DrawButtons | ( | SCCOL | nX1, |
SCCOL | nX2, | ||
const ScTableInfo & | rTabInfo, | ||
OutputDevice * | pContentDev, | ||
const ScLokRTLContext * | pLokRTLContext | ||
) |
Definition at line 2019 of file gridwin4.cxx.
References aComboButton, aListValPos, AREA, aStr, ScCellInfo::bAutoFilter, RowInfo::bChanged, ScQueryEntry::bDoQuery, ScCellInfo::bFilterActive, ScCellInfo::bHOverlapped, bListValButton, ScCellInfo::bPivotButton, ScCellInfo::bPivotPopupButton, ScCellInfo::bVOverlapped, RowInfo::cellInfo(), ScLokRTLContext::docToTilePos(), ScDDComboBoxButton::Draw(), eWhich, ScDocument::ExtendOverlapped(), ScDBData::GetArea(), ScDocument::GetDBAtCursor(), ScViewData::GetDocument(), GetListValButtonRect(), ScViewData::GetMergeSizePixel(), vcl::Window::GetOutDev(), ScDDComboBoxButton::GetPosPixel(), ScViewData::GetPPTY(), ScDBData::GetQueryParam(), ScDocument::GetRowHeight(), ScViewData::GetScrPos(), vcl::Window::GetSettings(), tools::Rectangle::GetSize(), ScDDComboBoxButton::GetSizePixel(), ScDocument::GetString(), ScViewData::GetTabNo(), ScViewData::GetZoomY(), comphelper::LibreOfficeKit::isActive(), ScDocument::IsLayoutRTL(), ScTableInfo::mnArrCount, ScTableInfo::mpRowInfo, mrViewData, nCount, ScQueryEntry::nField, RowInfo::nRowNo, Point, ScAddress::Row(), OutputDevice::SetClipRegion(), ScDDComboBoxButton::SetOutputDevice(), ScDDComboBoxButton::SetPosPixel(), ScDDComboBoxButton::SetSizePixel(), ScViewData::ToPixel(), and tools::Rectangle::TopLeft().
Referenced by DrawContent().
|
private |
Definition at line 154 of file gridwin3.cxx.
References FuPoor::Command(), ScTabView::GetDrawFuncPtr(), ScViewData::GetScDrawView(), ScViewData::GetView(), SdrCreateView::IsAction(), ScViewData::IsRefMode(), mrViewData, nButtonDown, SC_CMD_USED, and FuPoor::SetWindow().
Referenced by StartDrag().
void ScGridWindow::DrawContent | ( | OutputDevice & | rDevice, |
const ScTableInfo & | rTableInfo, | ||
ScOutputData & | aOutputData, | ||
bool | bLogicText | ||
) |
Draw content of the gridwindow; shared between the desktop and the tiled rendering.
test if ChangeTrack display is active Disable scenario frame via view option?
Merge SetChangedClip() with DrawMarks() ?? (different MapMode!)
Definition at line 656 of file gridwin4.cxx.
References tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustTop(), ScRange::aEnd, aMap, svtools::APPBACKGROUND, ScRangeFindData::aRef, ScRange::aStart, ScOutputData::aZoomX, ScOutputData::aZoomY, SdrPaintView::BeginDrawLayers(), bInitialPageBreaks, tools::Rectangle::Bottom(), svtools::CALCGRID, svtools::CALCREFERENCE, ScAddress::Col(), COL_TRANSPARENT(), o3tl::convert(), ScRangeFindList::Count(), ScOutputData::DrawBackground(), DrawButtons(), ScOutputData::DrawChangeTrack(), ScOutputData::DrawClear(), ScOutputData::DrawClipMarks(), ScOutputData::DrawDocumentBackground(), ScOutputData::DrawEdit(), ScOutputData::DrawFrame(), ScOutputData::DrawGrid(), DrawHiddenIndicator(), ScOutputData::DrawNoteMarks(), DrawPagePreview(), OutputDevice::DrawRect(), DrawRedraw(), ScOutputData::DrawRefMark(), DrawSdrGrid(), ScOutputData::DrawShadow(), ScOutputData::DrawSparklines(), ScOutputData::DrawStrings(), OutputDevice::DrawText(), SdrPaintView::EndDrawLayers(), eWhich, false, flushOverlayManager(), EditView::GetBackgroundColor(), ScDocument::GetChangeTrack(), ScModule::GetColorConfig(), svtools::ColorConfig::GetColorValue(), EditView::GetCursor(), SfxViewShell::GetDocId(), ScRangeFindList::GetDocName(), ScDocument::GetDocOptions(), ScViewData::GetDocShell(), ScViewData::GetDocument(), GetDrawMapMode(), ScViewData::GetEditActivePart(), EditView::GetEditCursor(), ScViewData::GetEditEndCol(), ScViewData::GetEditEndRow(), ScViewData::GetEditStartCol(), ScViewData::GetEditStartRow(), ScViewData::GetEditView(), SfxViewShell::GetFirst(), ScViewOptions::GetGridColor(), ScTabView::GetHighlightRanges(), ScModule::GetInputHdl(), ScViewData::GetLogicMode(), vcl::Window::GetMapMode(), OutputDevice::GetMapMode(), SfxViewShell::GetNext(), ScRangeFindList::GetObject(), ScViewOptions::GetOption(), ScViewData::GetOptions(), MapMode::GetOrigin(), vcl::Window::GetOutDev(), EditView::GetOutputArea(), EditView::GetOutputDevice(), vcl::Window::GetOutputSizePixel(), ScTabView::GetPageBreakData(), ScInputHandler::GetRangeFindList(), ScViewData::GetRefEndX(), ScViewData::GetRefEndY(), ScViewData::GetRefEndZ(), ScViewData::GetRefStartX(), ScViewData::GetRefStartY(), ScViewData::GetRefStartZ(), ScViewData::GetRefTabNo(), MapMode::GetScaleX(), MapMode::GetScaleY(), ScTabView::GetScDrawView(), ScOutputData::GetScrH(), ScViewData::GetScrPos(), ScOutputData::GetScrW(), ScViewData::GetShowGrid(), ScDocument::GetTableCount(), ScViewData::GetTabNo(), SdrPaintWindow::GetTargetOutputDevice(), SfxObjectShell::GetTitle(), ScViewData::GetView(), ScTabView::GetViewData(), ScViewData::GetViewShell(), ScDocument::HasBackgroundDraw(), ScViewData::HasEditView(), i, InvalidateLOKViewCursor(), comphelper::LibreOfficeKit::isActive(), ScDocOptions::IsAutoSpell(), comphelper::LibreOfficeKit::isCompatFlagSet(), ScRangeFindList::IsHidden(), ScDocument::IsLayoutRTL(), ScViewData::IsPagebreakMode(), ScViewData::IsRefMode(), ScDocument::IsScenario(), ScViewData::IsSyntaxMode(), vcl::Cursor::IsVisible(), tools::Rectangle::Justify(), lcl_DrawHighlight(), lcl_DrawScenarioFrames(), lcl_GetEditAreaTLOffset(), tools::Rectangle::Left(), ScDocument::MaxCol(), ScDocument::MaxRow(), o3tl::mm100, tools::Rectangle::Move(), mpNoteMarker, mrViewData, svtools::ColorConfigValue::nColor, ScRangeFindData::nColor, nCount, ScOutputData::nScrX, ScOutputData::nScrY, ScOutputData::nTab, ScOutputData::nX1, ScOutputData::nX2, ScOutputData::nY1, ScOutputData::nY2, EditView::Paint(), OutputDevice::PixelToLogic(), vcl::Window::PixelToLogic(), Point, ScRange::PutInOrder(), o3tl::px, rData, tools::Rectangle::Right(), ScAddress::Row(), SC_LAYER_BACK(), SC_LAYER_FRONT(), SC_LAYER_INTERN(), SC_MOD, tools::Rectangle::SetBottom(), ScOutputData::SetChangedClip(), OutputDevice::SetClipRegion(), ScOutputData::SetContentDevice(), ScOutputData::SetEditCell(), OutputDevice::SetFillColor(), ScOutputData::SetGridColor(), tools::Rectangle::SetLeft(), OutputDevice::SetLineColor(), comphelper::LibreOfficeKit::setLocalRendering(), vcl::Window::SetMapMode(), OutputDevice::SetMapMode(), ScOutputData::SetMarkClipped(), MapMode::SetOrigin(), EditView::SetOutputArea(), ScOutputData::SetPagebreakMode(), OutputDevice::SetPixelOffset(), tools::Rectangle::SetRight(), MapMode::SetScaleX(), MapMode::SetScaleY(), ScOutputData::SetShowFormulas(), ScOutputData::SetShowNullValues(), ScOutputData::SetShowSpellErrors(), ScOutputData::SetSolidBackground(), ScOutputData::SetSyntaxMode(), tools::Rectangle::SetTop(), SetupInitialPageBreaks(), ScOutputData::SetUseStyleColor(), ScOutputData::SetViewShell(), tools::Rectangle::setWidth(), ScAddress::Tab(), tools::Rectangle::Top(), tools::Rectangle::TopLeft(), o3tl::toTwips(), o3tl::twip, VOPT_CLIPMARKS, VOPT_FORMULAS, VOPT_GRID, VOPT_GRID_ONTOP, VOPT_NOTES, VOPT_NULLVALS, and VOPT_PAGEBREAKS.
Referenced by Draw(), and PaintTile().
|
private |
Definition at line 141 of file gridwin3.cxx.
References SdrCreateView::BrkAction(), ScTabView::GetDrawFuncPtr(), ScViewData::GetScDrawView(), ScViewData::GetView(), SdrCreateView::IsAction(), mrViewData, and FuPoor::StopDragTimer().
Referenced by MouseButtonUp(), and StopMarking().
|
private |
Definition at line 386 of file gridwin3.cxx.
References SdrMarkView::AreObjectsMarked(), ScViewData::GetScDrawView(), mrViewData, and p.
Referenced by KeyInput().
|
private |
Definition at line 1784 of file gridwin4.cxx.
References svtools::ColorConfigValue::bIsVisible, svtools::CALCHIDDENROWCOL, ScDocument::ColHidden(), OutputDevice::DrawLine(), eWhich, SystemEnvData::Gen, ScViewData::GetActiveWin(), svtools::ColorConfig::GetColorValue(), ScViewData::GetDocument(), ScViewData::GetScrPos(), vcl::Window::GetSystemData(), ScViewData::GetTabNo(), i, ScDocument::MaxCol(), ScDocument::MaxRow(), mrViewData, svtools::ColorConfigValue::nColor, Point, ScDocument::RowHidden(), SC_MOD, LineInfo::SetDashCount(), LineInfo::SetDistance(), LineInfo::SetDotCount(), LineInfo::SetDotLen(), LineInfo::SetLineCap(), OutputDevice::SetLineColor(), and SystemEnvData::toolkit.
Referenced by DrawContent().
|
private |
Definition at line 171 of file gridwin3.cxx.
References SdrMarkView::AreObjectsMarked(), vcl::KeyCode::GetCode(), ScTabView::GetDrawFuncPtr(), GetFocus(), KeyEvent::GetKeyCode(), ScViewData::GetScDrawView(), ScViewData::GetView(), ScViewData::GetViewShell(), ScTabView::IsDrawSelMode(), ScViewData::IsRefMode(), KEY_DELETE, FmFormView::KeyInput(), FuPoor::KeyInput(), mrViewData, ScTabViewShell::SetDrawShell(), FuPoor::SetWindow(), and UpdateStatusPosSize().
Referenced by KeyInput().
void ScGridWindow::DrawLayerCreated | ( | ) |
Definition at line 5861 of file gridwin.cxx.
References GetDrawMapMode(), ImpCreateOverlayObjects(), and vcl::Window::SetMapMode().
Referenced by ScTabView::DoAddWin().
Definition at line 392 of file gridwin3.cxx.
References ScTabView::GetScDrawView(), ScViewData::GetView(), ScDrawView::MarkDropObj(), and mrViewData.
Referenced by AcceptDrop(), and ExecuteDrop().
|
private |
Definition at line 39 of file gridwin3.cxx.
References SdrCreateView::BrkAction(), ScTabView::GetDrawFuncPtr(), GetDrawMapMode(), vcl::Window::GetMapMode(), MouseEvent::GetPosPixel(), ScViewData::GetScDrawView(), ScViewData::GetView(), comphelper::LibreOfficeKit::isActive(), FuPoor::IsDetectiveHit(), MouseEvent::IsLeft(), ScViewData::IsRefMode(), FuPoor::MouseButtonDown(), mrViewData, vcl::Window::PixelToLogic(), Point, vcl::Window::SetMapMode(), FuPoor::SetWindow(), and UpdateStatusPosSize().
Referenced by HandleMouseButtonDown().
|
private |
Definition at line 78 of file gridwin3.cxx.
References ScTabView::GetDrawBrushSet(), ScTabView::GetDrawFuncPtr(), GetDrawMapMode(), vcl::Window::GetMapMode(), ScViewData::GetScDrawView(), ScViewData::GetView(), comphelper::LibreOfficeKit::isActive(), ScTabView::IsPaintBrushLocked(), ScViewData::IsRefMode(), FuPoor::MouseButtonUp(), mrViewData, ScTabView::ResetBrushDocument(), SdrEditView::SetAttrToMarked(), vcl::Window::SetMapMode(), and FuPoor::SetWindow().
Referenced by MouseButtonUp().
|
private |
Definition at line 114 of file gridwin3.cxx.
References ScTabView::GetDrawFuncPtr(), GetDrawMapMode(), vcl::Window::GetMapMode(), ScViewData::GetView(), comphelper::LibreOfficeKit::isActive(), ScViewData::IsRefMode(), FuPoor::MouseMove(), mrViewData, vcl::Window::SetMapMode(), vcl::Window::SetPointer(), FuPoor::SetWindow(), and UpdateStatusPosSize().
Referenced by MouseMove().
|
private |
Display differently (dashed ????)
Search for hidden
Search for hidden
Definition at line 1818 of file gridwin4.cxx.
References ScRange::aEnd, ScRange::aStart, ATTR_PATTERN(), svtools::CALCPAGEBREAK, svtools::CALCPAGEBREAKMANUAL, ScAddress::Col(), COL_LIGHTGRAY(), EditEngine::CreatePool(), OutputDevice::DrawRect(), OutputDevice::DrawText(), EE_CHAR_COLOR(), EE_CHAR_FONTHEIGHT(), EE_CHAR_FONTHEIGHT_CJK(), EE_CHAR_FONTHEIGHT_CTL(), eWhich, ScPatternAttr::FillEditItemSet(), svtools::ColorConfig::GetColorValue(), ScPageBreakData::GetCount(), ScPageBreakData::GetData(), SfxItemPool::GetDefaultItem(), ScGlobal::GetDefaultScriptType(), ScViewData::GetDocument(), ScPrintRangeData::GetFirstPage(), ScPatternAttr::GetFont(), OutputDevice::GetMapMode(), vcl::Window::GetOutputSizePixel(), ScTabView::GetPageBreakData(), ScPrintRangeData::GetPageEndX(), ScPrintRangeData::GetPageEndY(), ScPrintRangeData::GetPagesX(), ScPrintRangeData::GetPagesY(), ScDocument::GetPool(), ScPrintRangeData::GetPrintRange(), ScViewData::GetScrPos(), ScDocument::GetStringScriptType(), ScViewData::GetTabNo(), OutputDevice::GetTextHeight(), OutputDevice::GetTextWidth(), ScViewData::GetView(), ScDocument::HasColBreak(), ScDocument::HasRowBreak(), Size::Height(), ScPrintRangeData::IsAutomatic(), ScPrintRangeData::IsTopDown(), Manual, mrViewData, svtools::ColorConfigValue::nColor, nCount, nPageScript, nPos, Point, rData, ScAddress::Row(), SC_AUTOCOL_BLACK, SC_MOD, ScResId(), vcl::Font::SetColor(), OutputDevice::SetFillColor(), OutputDevice::SetFont(), vcl::Font::SetFontSize(), OutputDevice::SetLineColor(), and Size::Width().
Referenced by DrawContent().
|
private |
Definition at line 209 of file gridwin3.cxx.
References ScOutputData::DrawSelectiveObjects(), ScViewOptions::GetObjMode(), ScViewData::GetOptions(), ScTabView::GetScDrawView(), ScViewData::GetView(), mrViewData, SdrPaintView::setHideChart(), SdrPaintView::setHideDraw(), SdrPaintView::setHideFormControl(), SdrPaintView::setHideOle(), VOBJ_MODE_SHOW, VOBJ_TYPE_CHART, VOBJ_TYPE_DRAW, and VOBJ_TYPE_OLE.
Referenced by DrawContent().
|
private |
Definition at line 234 of file gridwin3.cxx.
References COL_GRAY, SdrPageView::DrawPageViewGrid(), ScTabView::GetScDrawView(), SdrPaintView::GetSdrPageView(), ScViewData::GetView(), SdrPaintView::IsGridVisible(), mrViewData, and OutputDevice::SetLineColor().
Referenced by DrawContent().
Definition at line 3794 of file gridwin.cxx.
References ScViewData::GetDocument(), vcl::Window::GetOutputSizePixel(), ScViewData::GetPosX(), ScViewData::GetPosY(), ScViewData::GetView(), Size::Height(), ScDocument::MaxCol(), ScDocument::MaxRow(), mrViewData, SCROLL_SENSITIVE, ScTabView::ScrollX(), ScTabView::ScrollY(), WhichH(), WhichV(), and Size::Width().
Referenced by AcceptDrop().
|
private |
HasSelectedBlockMatrixFragment without selected sheet? or don't start dragging on a part of a matrix
Definition at line 4383 of file gridwin.cxx.
References ScRange::aEnd, ALL, ScRange::aStart, ScTabView::CellContentChanged(), CellsLeft, CellsUp, ScAddress::Col(), ScDBFunc::DataPilotMove(), ScDocFunc::DeleteCells(), DND_ACTION_LINK, DND_ACTION_MOVE, DND_ACTION_NONE, ScTabView::DoneBlockMode(), SfxUndoManager::EnterListAction(), ScViewFunc::EnterMatrix(), SfxDispatcher::ExecuteList(), ScRange::Format(), ScDocument::GetAddressConvention(), Application::GetAppName(), ScViewData::GetDispatcher(), ScDocShell::GetDocFunc(), ScViewData::GetDocShell(), ScTransferObj::GetDocument(), ScViewData::GetDocument(), ScDocument::GetDocumentShell(), ScDocument::GetDPAtCursor(), ScTransferObj::GetDragSourceFlags(), formula::FormulaCompiler::GetNativeSymbol(), ScTransferObj::GetNonFilteredRows(), ScTransferObj::GetRange(), ScTransferObj::GetSourceCursorX(), ScTransferObj::GetSourceCursorY(), ScTransferObj::GetSourceDocShell(), ScTransferObj::GetSourceDocument(), ScTransferObj::GetSourceMarkData(), ScDocument::GetTableCount(), ScMarkData::GetTableSelect(), ScViewData::GetTabNo(), SfxObjectShell::GetTitle(), ScDocShell::GetUndoManager(), ScViewData::GetView(), ScViewData::GetViewShell(), SfxViewShell::GetViewShellId(), ScTransferObj::GetVisibleTab(), formula::FormulaGrammar::GRAM_NATIVE, ScDocument::HasChartAtPoint(), ScViewUtil::HasFiltered(), ScTransferObj::HasFilteredRows(), ScViewFunc::ImportTables(), ScTabView::InitBlockMode(), INS_CELLSDOWN, INS_CELLSRIGHT, INS_NONE, ScDocFunc::InsertCells(), ScDocument::IsDocEditable(), ScDocument::IsScenario(), ScDocument::IsVisible(), SfxUndoManager::LeaveListAction(), ScViewFunc::LinkBlock(), ScTabView::MarkCursor(), ScTabView::MarkRange(), meDragInsertMode, ScRange::Move(), ScViewFunc::MoveBlockTo(), ScDocShell::MoveTable(), mrViewData, Navigator, nId, NONE, ocClose, ocDde, ocOpen, ocSep, ScViewFunc::PasteFromClip(), RANGE_ABS_3D, ScAddress::Row(), ScResId(), ScTabView::SetCursor(), ScTransferObj::SetDragWasInternal(), ScAddress::SetTab(), ScTabView::SetTabNo(), SFX_TITLE_FULLNAME, ScAddress::Tab(), TAB_3D, Table, ScAddress::UNINITIALIZED, ScTabView::Unmark(), ScDocShell::UpdateOle(), VALID, and ScTransferObj::WasSourceCursorInSelection().
Referenced by ExecutePrivateDrop(), and PasteSelection().
|
private |
Definition at line 66 of file gridwin_dbgutil.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), SfxItemSet::dumpAsXml(), ScViewData::GetCurX(), ScViewData::GetCurY(), ScViewData::GetDocument(), ScPatternAttr::GetItemSet(), ScMarkData::GetMarkArea(), ScViewData::GetMarkData(), ScMarkData::GetMarkedRangesForTab(), ScDocument::GetPattern(), ScViewData::GetTabNo(), i, ScMarkData::IsMarked(), ScMarkData::IsMultiMarked(), ScRangeList::Join(), mrViewData, n, ScAddress::Row(), ScRangeList::size(), and void().
Referenced by KeyInput().
|
private |
Definition at line 152 of file gridwin_dbgutil.cxx.
References ScAddress::Col(), ScDPObject::Dump(), ScDPObject::DumpCache(), ScDocument::DumpColumnStorage(), ScViewData::GetCurPos(), ScViewData::GetDocument(), ScDocument::GetDPAtCursor(), mrViewData, ScAddress::Row(), and ScAddress::Tab().
Referenced by KeyInput().
|
private |
Definition at line 54 of file gridwin_dbgutil.cxx.
References o3tl::convert(), ScDocument::GetColWidth(), ScViewData::GetDocument(), ScViewData::GetTabNo(), o3tl::mm100, mrViewData, nPixel, and o3tl::twip.
Referenced by KeyInput().
|
private |
Definition at line 42 of file gridwin_dbgutil.cxx.
References ScDocument::GetColWidth(), ScViewData::GetDocument(), ScViewData::GetTabNo(), vcl::Window::LogicToPixel(), mrViewData, nPixel, and Point.
Referenced by KeyInput().
|
private |
Definition at line 125 of file gridwin_dbgutil.cxx.
References ScViewData::GetDocument(), ScDocument::GetDrawLayer(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), ScDrawLayer::GetObjData(), SdrModel::GetPage(), SdrModel::GetPageCount(), SdrModel::GetScaleUnit(), SdrObject::GetSnapRect(), vcl::Window::LogicToPixel(), and mrViewData.
Referenced by KeyInput().
Definition at line 1530 of file gridwin.cxx.
References ScInputHandler::CancelHandler(), ScTabView::CellContentChanged(), ScViewFunc::EnterData(), ScViewData::GetActivePart(), ScModule::GetInputHdl(), ScViewData::GetTabNo(), ScViewData::GetView(), ScViewData::GetViewShell(), ScViewData::HasEditView(), mrViewData, and SC_MOD.
Referenced by FilterSelect().
|
overrideprotectedvirtual |
Reimplemented from DropTargetHelper.
Definition at line 4741 of file gridwin.cxx.
References ScDragData::aJumpTarget, ScDragData::aJumpText, ScDragData::aLinkArea, ScDragData::aLinkDoc, ScDragData::aLinkTable, bPasteIsMove, DND_ACTION_LINK, DND_ACTION_MOVE, DND_ACTION_NONE, DrawMarkDropObj(), eWhich, ExecutePrivateDrop(), ScViewData::GetDocShell(), ScViewData::GetDocument(), ScModule::GetDragData(), ScDrawTransferObj::GetDragSourceFlags(), SfxObjectShell::GetMedium(), ScDrawTransferObj::GetModel(), SfxMedium::GetName(), ScDocument::GetObjectAtPoint(), ScViewData::GetPosFromPixel(), ScViewData::GetTabNo(), ScViewData::GetView(), ScViewData::GetViewShell(), SfxObjectShell::HasName(), ScViewFunc::InsertAreaLink(), ScViewFunc::InsertBookmark(), ScViewFunc::InsertTableLink(), lcl_GetDropFormatId(), lcl_GetDropLinkId(), ExecuteDropEvent::maDropEvent, ExecuteDropEvent::maPosPixel, ExecuteDropEvent::mnAction, ScTabView::MoveCursorAbs(), mrViewData, Navigator, ScViewFunc::PasteDataFormat(), ScViewFunc::PasteDraw(), ScViewFunc::PasteOnDrawObjectLinked(), ScDragData::pCellTransfer, ScDragData::pDrawTransfer, vcl::Window::PixelToLogic(), ScDragData::pJumpLocalDoc, Point, rData, SC_FOLLOW_NONE, SC_MOD, ScDrawTransferObj::SetDragWasInternal(), ScModule::SetInExecuteDrop(), and u.
|
private |
Definition at line 4373 of file gridwin.cxx.
References bDragRect, DropTransferObj(), ExecuteDropEvent::maPosPixel, ExecuteDropEvent::mnAction, nDragStartX, nDragStartY, ScDragData::pCellTransfer, vcl::Window::PixelToLogic(), and UpdateDragRectOverlay().
Referenced by ExecuteDrop().
void ScGridWindow::FakeButtonUp | ( | ) |
Definition at line 2664 of file gridwin.cxx.
References aCurMousePos, aEvent, MouseButtonUp(), and nButtonDown.
Referenced by MouseButtonDown().
Definition at line 1507 of file gridwin.cxx.
References DataSelect, ExecDataSelect(), weld::TreeView::get_text(), ScViewData::GetView(), vcl::Window::GrabFocus(), mpFilterBox, mrViewData, Scenario, and ScViewFunc::UseScenario().
void ScGridWindow::flushOverlayManager | ( | ) |
Definition at line 7057 of file gridwin.cxx.
References getOverlayManager().
Referenced by DrawContent(), and ScTabView::ZoomChanged().
const std::vector< editeng::MisspellRanges > * ScGridWindow::GetAutoSpellData | ( | SCCOL | nPosX, |
SCROW | nPosY | ||
) |
Definition at line 5894 of file gridwin.cxx.
References ScGridWindow::VisibleRange::isInside(), maVisibleRange, and mpSpellCheckCxt.
Referenced by ScViewFunc::CopyAutoSpellData().
OString ScGridWindow::getCellCursor | ( | ) | const |
get Cell cursor in this view's co-ordinate system
Definition at line 5910 of file gridwin.cxx.
References ScViewData::describeCellCursor(), ScViewData::describeCellCursorInPrintTwips(), comphelper::LibreOfficeKit::isCompatFlagSet(), mpOOCursors, and mrViewData.
Referenced by ScModelObj::getCellCursor(), notifyKitCellCursor(), notifyKitCellFollowJump(), and updateKitCellCursor().
void ScGridWindow::GetCellSelection | ( | std::vector< tools::Rectangle > & | rLogicRects | ) |
Get the cell selection, coordinates are in logic units.
Definition at line 6498 of file gridwin.cxx.
References GetSelectionRects(), GetSelectionRectsPrintTwips(), comphelper::LibreOfficeKit::isActive(), comphelper::LibreOfficeKit::isCompatFlagSet(), and UpdateKitSelection().
Referenced by ScViewFunc::SearchAndReplace().
Definition at line 54 of file gridwin2.cxx.
References ScDPObject::GetDimName(), ScDocument::GetDPAtCursor(), and ScDPObject::GetHeaderDim().
Referenced by ScTabView::HasPageFieldDataAtCursor(), and ScTabView::StartDataSelect().
MapMode for the drawinglayer objects.
Definition at line 252 of file gridwin3.cxx.
References ScDrawUtil::CalcScale(), eWhich, ScViewData::GetDocument(), ScViewData::GetLogicMode(), vcl::Window::GetOutDev(), vcl::Window::GetOutputSizePixel(), ScViewData::GetPixPos(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), ScDrawView::GetScale(), ScTabView::GetScDrawView(), ScDocument::GetTableArea(), ScViewData::GetTabNo(), ScViewData::GetView(), ScViewData::GetZoomX(), ScViewData::GetZoomY(), comphelper::LibreOfficeKit::isActive(), ScDocument::IsNegativePage(), mrViewData, vcl::Window::PixelToLogic(), Point, MapMode::SetOrigin(), MapMode::SetScaleX(), MapMode::SetScaleY(), and Size::Width().
Referenced by DrawContent(), DrawLayerCreated(), DrawMouseButtonDown(), DrawMouseButtonUp(), DrawMouseMove(), ScTabView::GetChartDialogPos(), ScTabView::GetChartInsertPos(), ScViewPaneBase::GetVisArea(), ScAccessibleDocument::GetVisibleArea_Impl(), ScAccessibleDocument::LogicToPixel(), ScrollPixel(), ShowNoteMarker(), ScDrawView::SyncForGrid(), ScTabView::TestHintWindow(), UpdateAutoFillOverlay(), UpdateCopySourceOverlay(), UpdateCursorOverlay(), UpdateDragRectOverlay(), UpdateHeaderOverlay(), UpdateSelectionOverlay(), UpdateShrinkOverlay(), and UpdateSparklineGroupOverlay().
|
private |
Pass on nPosX/Y?
Definition at line 5659 of file gridwin.cxx.
References ATTR_HOR_JUSTIFY(), ATTR_LINEBREAK(), CELLTYPE_EDIT, CELLTYPE_FORMULA, tools::Rectangle::Contains(), ScFormulaCell::CreateURLObject(), ScEditUtil::CreateURLObjectFromURL(), eWhich, ScPatternAttr::GetCellOrientation(), ScViewData::GetDocShell(), ScDocShell::GetDocument(), ScViewData::GetEditArea(), EditView::GetFieldUnderMousePointer(), ScTabViewShell::GetInputHandler(), ScPatternAttr::GetItem(), ScViewData::GetLogicMode(), vcl::Window::GetMapMode(), ScViewData::GetMergeSizePixel(), ScDocument::GetPattern(), ScViewData::GetPosFromPixel(), svl::SharedString::getString(), ScFormulaCell::GetString(), ScInputHandler::GetTableView(), ScViewData::GetTabNo(), ScRefCellValue::getValue(), ScViewData::GetViewShell(), ScRefCellValue::hasNumeric(), comphelper::LibreOfficeKit::isActive(), ScInputHandler::IsInputMode(), lcl_GetHyperlinkCell(), tools::Rectangle::Left(), ScRefCellValue::meType, ScRefCellValue::mpEditText, ScRefCellValue::mpFormula, mrViewData, vcl::Window::PixelToLogic(), Point, tools::Rectangle::Right(), tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), vcl::Window::SetMapMode(), EditView::SetOutputArea(), tools::Rectangle::SetRight(), Size::setWidth(), and tools::Rectangle::Top().
Referenced by HandleMouseButtonDown(), MouseButtonUp(), MouseMove(), and RequestHelp().
|
overrideprotectedvirtual |
Reimplemented from vcl::Window.
Definition at line 5179 of file gridwin.cxx.
References ScTabViewShell::BroadcastAccessibility(), ScDocShell::CheckConfigOptions(), ScViewData::GetDocShell(), ScViewData::GetViewShell(), ScTabViewShell::HasAccessibilityObjects(), mrViewData, SC_MOD, ScTabViewShell::SetFormShellAtTop(), and ScTabViewShell::UpdateInputHandler().
Referenced by DrawKeyInput().
|
private |
Definition at line 2172 of file gridwin4.cxx.
References ATTR_MERGE(), ScAddress::Col(), ScDocument::ColHidden(), eWhich, ScDocument::GetAttr(), ScMergeAttr::GetColMerge(), ScDocument::GetColWidth(), ScViewData::GetDocument(), ScViewData::GetMergeSizePixel(), vcl::Window::GetOutDev(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), ScDocument::GetRowHeight(), ScViewData::GetScrPos(), ScDDComboBoxButton::GetSizePixel(), ScViewData::GetTabNo(), Size::Height(), ScDocument::IsLayoutRTL(), ScDocument::MaxCol(), mrViewData, Point, ScAddress::Row(), Size::setHeight(), Size::setWidth(), ScViewData::ToPixel(), and Size::Width().
Referenced by DrawButtons(), HandleMouseButtonDown(), and UpdateListValPos().
|
inline |
Definition at line 390 of file gridwin.hxx.
References Point.
Referenced by ScTabView::GetMousePosPixel().
rtl::Reference< sdr::overlay::OverlayManager > ScGridWindow::getOverlayManager | ( | ) | const |
Definition at line 7040 of file gridwin.cxx.
References SdrPageView::FindPageWindow(), vcl::Window::GetOutDev(), SdrPageWindow::GetOverlayManager(), ScTabView::GetScDrawView(), SdrPaintView::GetSdrPageView(), ScViewData::GetView(), and mrViewData.
Referenced by flushOverlayManager(), UpdateAutoFillOverlay(), UpdateCopySourceOverlay(), UpdateCursorOverlay(), UpdateDragRectOverlay(), UpdateHeaderOverlay(), UpdateSelectionOverlay(), UpdateShrinkOverlay(), and UpdateSparklineGroupOverlay().
|
private |
convert rMarkData into pixel rectangles for this view
Definition at line 2270 of file gridwin4.cxx.
References GetRectsAnyFor().
Referenced by GetSelectionRects(), and UpdateKitSelection().
|
private |
Definition at line 2276 of file gridwin4.cxx.
References ScInvertMerger::AddRect(), ScRange::aEnd, ScRange::aStart, ATTR_MERGE(), ATTR_MERGE_FLAG(), ScAddress::Col(), eHWhich, eVWhich, eWhich, ScDocument::ExtendMerge(), ScDocument::GetAttr(), ScMergeAttr::GetColMerge(), ScDocument::GetColWidth(), ScViewData::GetDocument(), ScPatternAttr::GetItem(), ScMarkData::GetMarkArea(), ScMarkData::GetMultiMarkArea(), ScDocument::GetPattern(), ScViewData::GetPosX(), ScViewData::GetPosY(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), ScViewData::GetPrintTwipsPos(), ScDocument::GetRowHeight(), ScMergeAttr::GetRowMerge(), ScViewData::GetScrPos(), ScViewData::GetTabNo(), ScDocument::GetTiledRenderingArea(), comphelper::LibreOfficeKit::isActive(), ScMarkData::IsCellMarked(), ScMergeFlagAttr::IsHorOverlapped(), ScDocument::IsLayoutRTL(), ScMarkData::IsMultiMarked(), ScMergeFlagAttr::IsOverlapped(), ScMergeFlagAttr::IsVerOverlapped(), ScMarkData::MarkToMulti(), ScDocument::MaxCol(), ScDocument::MaxRow(), mrViewData, nPPTX, nPPTY, Point, PutInOrder(), ScAddress::Row(), ScDocument::RowHidden(), ScMarkData::SetMarking(), ScViewData::ToPixel(), ScViewData::VisibleCellsX(), and ScViewData::VisibleCellsY().
Referenced by GetPixelRectsFor(), GetSelectionRectsPrintTwips(), and updateOtherKitSelections().
|
private |
Definition at line 2259 of file gridwin4.cxx.
References ScViewData::GetMarkData(), GetPixelRectsFor(), and mrViewData.
Referenced by GetCellSelection(), notifyKitCellCursor(), and UpdateSelectionOverlay().
|
private |
Definition at line 2264 of file gridwin4.cxx.
References ScViewData::GetMarkData(), GetRectsAnyFor(), and mrViewData.
Referenced by GetCellSelection(), and UpdateSelectionOverlay().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 3704 of file gridwin.cxx.
References ScModule::GetInputHdl(), ScTabView::GetScDrawView(), OutlinerView::GetSurroundingText(), ScInputHandler::GetSurroundingText(), ScViewData::GetView(), ScViewData::GetViewShell(), OutlinerView::GetWindow(), ScViewData::HasEditView(), mrViewData, and SC_MOD.
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 3725 of file gridwin.cxx.
References ScModule::GetInputHdl(), ScTabView::GetScDrawView(), OutlinerView::GetSurroundingTextSelection(), ScInputHandler::GetSurroundingTextSelection(), ScViewData::GetView(), ScViewData::GetViewShell(), OutlinerView::GetWindow(), ScViewData::HasEditView(), mrViewData, and SC_MOD.
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 7071 of file gridwin.cxx.
References ScGridWinUIObject::create().
ScViewData & ScGridWindow::getViewData | ( | ) |
Definition at line 7066 of file gridwin.cxx.
References mrViewData.
Referenced by ScGridWinUIObject::execute(), ScGridWinUIObject::get_state(), ScGridWinUIObject::getDBFunc(), ScGridWinUIObject::getDrawView(), ScGridWinUIObject::getViewFunc(), and ScGridWinUIObject::getViewShell().
|
private |
what's up with the Mac ???
Someday SelectionEngine should call StartTracking on its own!?!
Definition at line 1791 of file gridwin.cxx.
References aCurMousePos, aListValPos, aPagebreakSource, aRFSelectedCorned, ATTR_MERGE_FLAG(), bEEMouse, bListValButton, bPagebreakDrawn, bRFMouse, bRFSize, vcl::Window::CaptureMouse(), ClickExtern(), ScAddress::Col(), tools::Rectangle::Contains(), DoAutoFilterButton(), DoPushPivotButton(), DoScenarioMenu(), DrawMouseButtonDown(), eWhich, SfxDispatcher::ExecuteList(), false, ScViewFunc::FillCrossDblClick(), ScViewData::GetActivePart(), ScDocument::GetAttr(), MouseEvent::GetButtons(), MouseEvent::GetClicks(), ScViewData::GetDispatcher(), ScViewData::GetDocument(), ScViewData::GetEditEndCol(), ScViewData::GetEditEndRow(), GetEditUrl(), ScViewData::GetEditView(), SfxViewShell::GetIPClient(), ScModule::GetIsWaterCan(), GetListValButtonRect(), ScViewData::GetMarkData(), MouseEvent::GetModifier(), vcl::Window::GetOutputSizePixel(), ScViewData::GetPosFromPixel(), MouseEvent::GetPosPixel(), ScViewData::GetRefTabNo(), ScTabView::GetSelEngine(), ScViewData::GetSfxDocShell(), ScViewData::GetTabNo(), ScViewData::GetView(), ScViewData::GetViewShell(), vcl::Window::GrabFocus(), ScMergeFlagAttr::HasAutoFilter(), ScViewData::HasEditView(), ScMergeFlagAttr::HasPivotButton(), ScMergeFlagAttr::HasPivotPopupButton(), HasScenarioButton(), HideNoteMarker(), HitPageBreak(), HitRangeFinder(), ScModule::InputEnterHandler(), comphelper::LibreOfficeKit::isActive(), ScTabViewShell::IsAuditShell(), IsCellCoveredByText(), ScRefCellValue::isEmpty(), ScModule::IsFormulaMode(), vcl::IsInPopupMenuExecute(), MouseEvent::IsLeft(), MouseEvent::IsMod2(), ScModule::IsModalMode(), vcl::Window::IsMouseCaptured(), SfxInPlaceClient::IsObjectInPlaceActive(), ScViewData::IsRefMode(), LaunchDataSelectMenu(), MAXTILEDROW, ScGridWindow::MouseEventState::mbActivatePart, MOUSE_LEFT, MOUSE_RIGHT, EditView::MouseButtonDown(), EditView::MouseButtonUp(), mrViewData, nButtonDown, nMouseStatus, NONE, nPagebreakBreak, nPagebreakMouse, nPagebreakPrev, nRFAddX, nRFAddY, nRFIndex, nScClickMouseModifier, PagebreakMove(), Point, pScActiveViewShell, vcl::Window::ReleaseMouse(), ScAddress::Row(), SC_GM_DBLDOWN, SC_GM_FILTER, SC_GM_IGNORE, SC_GM_NONE, SC_GM_TABDOWN, SC_GM_URLDOWN, SC_GM_WATERUNDO, SC_INPUT_TABLE, SC_MOD, ScTabView::SelMouseButtonDown(), SetCellSelectionPixel(), ScTabView::SetCursor(), ScTabViewShell::SetDrawShell(), ScModule::SetInputMode(), ScMarkData::SetMarking(), vcl::Window::SetPointer(), SelectionEngine::SetVisibleArea(), ScViewSelectionEngine::SetWhich(), SelectionEngine::SetWindow(), ScGlobal::ShouldOpenURL(), vcl::Window::StartTracking(), and TestMouse().
Referenced by MouseButtonDown().
cache the Ranges in Table!!!!
Definition at line 5798 of file gridwin.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), tools::Rectangle::Contains(), eWhich, ScDocument::ExtendTotalMerge(), ScViewData::GetDocument(), ScViewData::GetPPTX(), ScViewData::GetScenButSize(), ScViewData::GetScrPos(), ScDocument::GetSheetLimits(), ScDocument::GetTableCount(), ScViewData::GetTabNo(), Size::Height(), ScDocument::IsLayoutRTL(), ScDocument::IsScenario(), ScDocument::MarkScenario(), mrViewData, Point, ScAddress::Row(), SC_SCENARIO_HSPACE, ShowFrame, ScRangeList::size(), and Size::Width().
Referenced by HandleMouseButtonDown().
void ScGridWindow::HideCursor | ( | ) |
Definition at line 5169 of file gridwin.cxx.
References nCursorHideCount.
void ScGridWindow::HideNoteMarker | ( | ) |
Definition at line 365 of file gridwin5.cxx.
References mpNoteMarker.
Referenced by HandleMouseButtonDown(), KeyInput(), MouseMove(), ScrollPixel(), and StartDrag().
|
private |
Definition at line 687 of file gridwin2.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScPageBreakData::GetCount(), ScPageBreakData::GetData(), ScPrintRangeData::GetPageEndX(), ScPrintRangeData::GetPageEndY(), ScPrintRangeData::GetPagesX(), ScPrintRangeData::GetPagesY(), ScPrintRangeData::GetPrintRange(), nCount, nPos, Point, rData, ScAddress::Row(), SC_PD_BREAK_H, SC_PD_BREAK_V, SC_PD_NONE, SC_PD_RANGE_B, SC_PD_RANGE_BL, SC_PD_RANGE_BR, SC_PD_RANGE_L, SC_PD_RANGE_R, SC_PD_RANGE_T, SC_PD_RANGE_TL, and SC_PD_RANGE_TR.
Referenced by HandleMouseButtonDown(), and MouseMove().
|
private |
Definition at line 5209 of file gridwin.cxx.
References ScRange::aEnd, ScRangeFindData::aRef, ScRange::aStart, ScAddress::Col(), ScRange::Contains(), ScRangeFindList::Count(), eWhich, ScRangeFindList::GetDocName(), ScViewData::GetDocShell(), ScViewData::GetDocument(), ScViewData::GetMergeSizePixel(), ScRangeFindList::GetObject(), ScViewData::GetPosFromPixel(), ScInputHandler::GetRangeFindList(), ScViewData::GetScrPos(), ScViewData::GetTabNo(), SfxObjectShell::GetTitle(), ScViewData::GetViewShell(), ScRangeFindList::IsHidden(), ScDocument::IsLayoutRTL(), LEFT_DOWN, LEFT_UP, mrViewData, nCount, NONE, Point, rData, RIGHT_DOWN, RIGHT_UP, ScAddress::Row(), SC_MOD, and ScAddress::Tab().
Referenced by HandleMouseButtonDown(), and MouseMove().
|
protected |
Definition at line 6037 of file gridwin.cxx.
References UpdateAutoFillOverlay(), UpdateCopySourceOverlay(), UpdateCursorOverlay(), UpdateDragRectOverlay(), UpdateHeaderOverlay(), UpdateSelectionOverlay(), UpdateShrinkOverlay(), and UpdateSparklineGroupOverlay().
Referenced by DrawLayerCreated(), and UpdateAllOverlays().
|
protected |
Definition at line 6049 of file gridwin.cxx.
References DeleteAutoFillOverlay(), DeleteCopySourceOverlay(), DeleteCursorOverlay(), DeleteDragRectOverlay(), DeleteHeaderOverlay(), DeleteSelectionOverlay(), DeleteShrinkOverlay(), and DeleteSparklineGroupOverlay().
Referenced by dispose(), and UpdateAllOverlays().
void ScGridWindow::initiatePageBreaks | ( | ) |
Definition at line 2555 of file gridwin4.cxx.
References bInitialPageBreaks.
Definition at line 5905 of file gridwin.cxx.
References ScGridWindow::VisibleRange::isInside(), and maVisibleRange.
Referenced by ScViewFunc::CopyAutoSpellData().
|
private |
Definition at line 354 of file gridwin4.cxx.
References SfxViewShell::GetDocId(), SfxViewShell::GetFirst(), SfxViewShell::GetNext(), ScTabView::GetViewData(), ScViewData::GetViewShell(), ScViewData::GetZoomX(), ScViewData::GetZoomY(), mrViewData, NeedLOKCursorInvalidation(), SfxLokHelper::notifyOtherView(), and tools::Rectangle::toString().
Referenced by DrawContent().
Definition at line 2222 of file gridwin4.cxx.
References AREA, ScQueryEntry::bDoQuery, ScQueryParamBase::bInplace, ScQueryEntry::eConnect, ScDocument::GetDBAtCursor(), ScViewData::GetDocument(), ScQueryParamBase::GetEntry(), ScQueryParamBase::GetEntryCount(), ScDBData::GetQueryParam(), mrViewData, nCount, ScQueryEntry::nField, and SC_AND.
Referenced by RefreshAutoFilterButton().
|
private |
The cell may be covered by text that overflows from a previous cell.
Definition at line 1726 of file gridwin.cxx.
References eWhich, ScDocument::FillInfo(), ScViewData::GetDocument(), vcl::Window::GetMapMode(), vcl::Window::GetOutDev(), ScViewData::GetPosFromPixel(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), ScViewData::GetZoomX(), ScViewData::GetZoomY(), ScDocument::HasAttrib(), ScRefCellValue::isEmpty(), ScOutputData::LayoutStrings(), Merged, mrViewData, nPPTX, nPPTY, OUTTYPE_WINDOW, Overlapped, and vcl::Window::SetMapMode().
Referenced by HandleMouseButtonDown().
|
private |
Definition at line 359 of file gridwin5.cxx.
References ScViewData::GetDocument(), ScDocument::GetDrawLayer(), SdrPaintView::GetModel(), and mrViewData.
Referenced by AcceptDrop().
check DrawShell !!!
Reimplemented from vcl::Window.
Definition at line 3545 of file gridwin.cxx.
References ScViewFunc::DetectiveMarkPred(), ScViewFunc::DetectiveMarkSucc(), DrawHasMarkedObj(), DrawKeyInput(), dumpCellProperties(), dumpColumnCellStorage(), dumpColumnInformationHmm(), dumpColumnInformationPixel(), dumpGraphicInformation(), SfxViewShell::Escape(), SfxViewFrame::GetBindings(), vcl::Window::GetClipboard(), vcl::KeyCode::GetCode(), ScViewData::GetCurX(), ScViewData::GetCurY(), ScViewData::GetDocShell(), ScViewData::GetDocument(), ScDocument::GetExternalDataMapper(), KeyEvent::GetKeyCode(), vcl::KeyCode::GetModifier(), SfxObjectShell::GetProgress(), ScViewData::GetRefEndX(), ScViewData::GetRefEndY(), ScViewData::GetRefEndZ(), ScViewData::GetRefStartX(), ScViewData::GetRefStartY(), ScViewData::GetRefStartZ(), ScViewData::GetView(), SfxViewShell::GetViewFrame(), ScViewData::GetViewShell(), HideNoteMarker(), SfxBindings::Invalidate(), ScViewData::IsAnyFillMode(), ScTabView::IsDrawSelMode(), vcl::KeyCode::IsMod1(), ScViewData::IsPasteMode(), vcl::KeyCode::IsShift(), KEY_BRACKETLEFT, KEY_BRACKETRIGHT, KEY_DOWN, KEY_ESCAPE, KEY_F1, KEY_F10, KEY_F11, KEY_F12, KEY_F2, KEY_F6, KEY_F7, KEY_F8, KEY_LEFT, KEY_MOD1, KEY_RETURN, KEY_RIGHT, KEY_UP, ScTabView::MoveCursorKeyInput(), mpNoteMarker, mrViewData, NONE, ScClipUtil::PasteFromClipboard(), SC_MOD, ScTabView::SelectionChanged(), ScViewData::SetPasteMode(), ShowNoteMarker(), ScTabViewShell::TabKeyInput(), and ScTabView::UpdateCopySourceOverlay().
Definition at line 837 of file gridwin.cxx.
References aEntries, AREA, aSaveAutoFilterResult, ScFilterEntries::begin(), Bottom10, Clear, Custom, Empty, ScFilterEntries::end(), ScQueryEntry::eOp, eWhich, ScQueryParamBase::FindAllEntriesByField(), ScDocument::GetColWidth(), ScDocument::GetDBAtCursor(), ScViewData::GetDocument(), ScDocument::GetFilterEntries(), vcl::Window::GetFrameWeld(), ScViewData::GetMergeSizePixel(), ScViewData::GetPPTX(), ScQueryEntry::GetQueryItems(), ScDBData::GetQueryParam(), ScViewData::GetScrPos(), ScViewData::GetTabNo(), ScViewData::GetZoomX(), ScViewData::GetZoomY(), comphelper::LibreOfficeKit::isActive(), ScDocument::IsLayoutRTL(), vcl::Window::IsMouseCaptured(), ScFilterEntries::maStrData, ScCheckListMenuControl::Config::mbAllowEmptySet, ScFilterEntries::mbHasDates, ScCheckListMenuControl::Config::mbRTL, mpAutoFilterPopup, mrViewData, NonEmpty, Normal, vcl::Window::OutputToScreenPixel(), Point, vcl::Window::ReleaseMouse(), SC_EQUAL, ScResId(), ScFilterEntries::size(), SortAscending, SortDescending, Top10, ScViewData::ToPixel(), and ScTypedStrData::Value.
Referenced by ScGridWinUIObject::execute(), and ScTabView::StartDataSelect().
Definition at line 1377 of file gridwin.cxx.
References weld::TreeView::append_text(), ATTR_VALIDDATA(), DataSelect, vcl::Window::EnterWait(), weld::Widget::freeze(), ScDocument::GetAttr(), ScDocument::GetDataEntries(), ScViewData::GetDocument(), ScValidationData::GetListType(), ScViewData::GetMergeSizePixel(), weld::GetPopupParent(), ScViewData::GetScrPos(), ScDocument::GetString(), ScViewData::GetTabNo(), ScDocument::GetValidationEntry(), ScDocument::GetValue(), ScViewData::GetZoomX(), ScViewData::GetZoomY(), weld::Widget::grab_focus(), ScDocument::HasValueData(), comphelper::LibreOfficeKit::isActive(), ScDocument::IsLayoutRTL(), vcl::Window::LeaveWait(), LINK, mpFilterBox, mrViewData, weld::TreeView::n_children(), nIndex, Point, weld::TreeView::select(), weld::TreeView::set_cursor(), weld::Widget::set_direction(), ShowFilterMenu(), ScTypedStrData::Standard, weld::Widget::thaw(), weld::TreeView::unselect_all(), and ScTypedStrData::Value.
Referenced by ScGridWinUIObject::execute(), HandleMouseButtonDown(), and ScTabView::StartDataSelect().
Definition at line 1233 of file gridwin.cxx.
References DPLaunchFieldPopupMenu(), ScViewData::GetDocument(), ScDocument::GetDPAtCursor(), ScViewData::GetTabNo(), comphelper::LibreOfficeKit::isActive(), mrViewData, vcl::Window::OutputToScreenPixel(), and Point.
Referenced by ScGridWinUIObject::execute(), and ScTabView::StartDataSelect().
Definition at line 1215 of file gridwin.cxx.
References DPLaunchFieldPopupMenu(), ScViewData::GetDocument(), ScDocument::GetDPAtCursor(), ScViewData::GetTabNo(), comphelper::LibreOfficeKit::isActive(), mrViewData, vcl::Window::OutputToScreenPixel(), and Point.
Referenced by ScTabView::StartDataSelect().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 1659 of file gridwin4.cxx.
References o3tl::convert(), ScViewData::GetDocument(), vcl::Window::GetMapMode(), GetMapUnit(), ScViewData::GetTabNo(), ScViewData::GetViewShell(), ScDocument::IsLayoutRTL(), vcl::Window::IsMapModeEnabled(), tools::Rectangle::Left(), o3tl::mm100, mrViewData, SfxLokHelper::notifyInvalidation(), vcl::Window::PixelToLogic(), tools::Rectangle::Right(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), and o3tl::twip.
|
overridevirtual |
Same as MouseButtonDown(), but coordinates are in logic unit.
Reimplemented from vcl::Window.
Definition at line 1672 of file gridwin.cxx.
References MouseButtonDown().
|
overridevirtual |
Same as MouseButtonUp(), but coordinates are in logic unit.
Reimplemented from vcl::Window.
Definition at line 1677 of file gridwin.cxx.
References MouseButtonUp().
|
overridevirtual |
Same as MouseMove(), but coordinates are in logic unit.
Reimplemented from vcl::Window.
Definition at line 1682 of file gridwin.cxx.
References MouseMove().
|
overrideprotectedvirtual |
Reimplemented from vcl::Window.
Definition at line 5199 of file gridwin.cxx.
References ScTabViewShell::BroadcastAccessibility(), ScViewData::GetViewShell(), ScTabViewShell::HasAccessibilityObjects(), and mrViewData.
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 1687 of file gridwin.cxx.
References ScTabView::ActivatePart(), ScViewFunctionSet::CheckRefBounds(), Down, vcl::Window::EndTracking(), eWhich, FakeButtonUp(), MouseEvent::GetButtons(), SfxLokHelper::getDeviceFormFactor(), ScTabView::GetFunctionSet(), ScViewData::GetPosFromPixel(), MouseEvent::GetPosPixel(), ScViewData::GetView(), ScViewData::GetViewShell(), HandleMouseButtonDown(), ScTabViewShell::IsRefInputMode(), vcl::Window::IsTracking(), ScGridWindow::MouseEventState::mbActivatePart, mrViewData, nButtonDown, nNestedButtonState, NONE, Point, and Up.
Referenced by LogicMouseButtonDown(), and ScModelObj::setGraphicSelection().
|
overridevirtual |
SID_MARKAREA does not exist anymore ??? What happens when selecting with the cursor ???
Reimplemented from vcl::Window.
Definition at line 2155 of file gridwin.cxx.
References aBuf, aCurMousePos, aData, ADDR_ABS, ADDR_ABS_3D, ScRange::aEnd, aName, ScRange::aStart, ATTRIB, bDPMouse, bEEMouse, bRFMouse, ScAddress::Col(), CONTENTS, formula::FormulaGrammar::CONV_OOO, ScTabView::CursorPosChanged(), ScDBDocFunc::DataPilotUpdate(), ScViewFunc::DeleteContents(), ScViewData::describeCellCursorAt(), ScTabView::DoneBlockMode(), Down, DPMouseButtonUp(), DrawEndAction(), DrawMouseButtonUp(), ScModule::EndReference(), eWhich, SfxDispatcher::Execute(), SfxDispatcher::ExecuteList(), ScAddress::Format(), ScRange::Format(), ScStyleSheetPool::GetActualStyleSheet(), ScDocument::GetAddressConvention(), SfxViewFrame::GetBindings(), ScViewData::GetBindings(), ScTabView::GetBrushDocument(), MouseEvent::GetButtons(), MouseEvent::GetClicks(), ScViewData::GetCurX(), ScViewData::GetCurY(), ScDPObject::GetDataFieldPositionData(), ScViewData::GetDelMark(), SfxShell::GetDispatcher(), ScViewData::GetDispatcher(), ScDocShell::GetDocFunc(), ScViewData::GetDocShell(), ScViewData::GetDocument(), ScDocument::GetDPAtCursor(), ScDPSaveData::GetDrillDown(), GetEditUrl(), ScViewData::GetEditView(), ScExternalRefManager::getExternalFileName(), ScDocument::GetExternalRefManager(), SfxStyleSheetBase::GetFamily(), ScViewData::GetFillData(), ScViewData::GetFillMode(), ScTabView::GetFunctionSet(), ScDPObject::GetHeaderPositionData(), ScModule::GetIsWaterCan(), ScMarkData::GetMarkArea(), ScViewData::GetMarkData(), MouseSettings::GetMiddleButtonAction(), MouseEvent::GetModifier(), AllSettings::GetMouseSettings(), SfxStyleSheetBase::GetName(), ScViewData::GetPosFromPixel(), MouseEvent::GetPosPixel(), ScViewData::GetPPTX(), ScTabViewShell::GetPrinter(), ScViewData::GetRefEndX(), ScViewData::GetRefEndY(), ScDPObject::GetSaveData(), ScTabView::GetSelEngine(), vcl::Window::GetSettings(), ScViewData::GetSfxDocShell(), ScViewData::GetTabNo(), ScDocument::GetTabProtection(), SfxUndoManager::GetUndoAction(), SfxUndoManager::GetUndoActionCount(), ScDocShell::GetUndoManager(), ScDocument::GetVbaEventProcessor(), ScViewData::GetView(), ScTabView::GetViewData(), SfxViewShell::GetViewFrame(), ScViewData::GetViewShell(), ScDocument::HasAttrib(), ScViewData::HasEditView(), ScDBFunc::HasSelectionForDrillDown(), ScModule::InputChanged(), ScModule::InputSelection(), SfxBindings::Invalidate(), ScTabView::InvalidateAttribs(), comphelper::LibreOfficeKit::isActive(), ScViewData::IsAnyFillMode(), ScViewData::IsFillMode(), ScModule::IsFormulaMode(), MouseEvent::IsLeft(), SfxViewShell::isLOKMobilePhone(), SfxViewShell::isLOKTablet(), ScMarkData::IsMarked(), MouseEvent::IsMiddle(), MouseEvent::IsMod1(), MouseEvent::IsMod2(), ScModule::IsModalMode(), ScMarkData::IsMultiMarked(), ScTableProtection::isOptionEnabled(), ScTabView::IsPaintBrushLocked(), ScTableProtection::isProtected(), ScModule::IsRefDialogOpen(), ScViewData::IsRefMode(), ScViewData::IsThemedCursor(), lcl_GetHyperlinkCell(), SfxViewShell::libreOfficeKitViewCallback(), ScTabView::MarkRange(), ScAddress::ExternalInfo::maTabName, MATRIX, ScAddress::ExternalInfo::mbExternal, ScAddress::ExternalInfo::mnFileId, MOUSE_LEFT, EditView::MouseButtonDown(), EditView::MouseButtonUp(), mrViewData, nButtonDown, nMouseStatus, nNestedButtonState, nPagebreakMouse, nScFillModeMouseModifier, ScGlobal::OpenURL(), PagebreakMove(), ScAddress::Parse(), ScViewFunc::PasteFromClip(), Point, Protected, RANGE_ABS, vcl::Window::ReleaseMouse(), SelectionEngine::Reset(), ScTabView::ResetBrushDocument(), ScViewData::ResetFillMode(), ScDocFunc::ResizeMatrix(), RFMouseMove(), ScAddress::Row(), SC_GM_DBLDOWN, SC_GM_FILTER, SC_GM_IGNORE, SC_GM_NONE, SC_GM_URLDOWN, SC_GM_WATERUNDO, SC_INPUT_TABLE, SC_MOD, SC_PD_NONE, ScTableProtection::SELECT_LOCKED_CELLS, ScTableProtection::SELECT_UNLOCKED_CELLS, ScTabView::SelectionChanged(), SelectionEngine::SelMouseButtonUp(), ScViewFunctionSet::SetAnchorFlag(), ScAddress::SetCol(), ScModule::SetInputMode(), ScMarkData::SetMarking(), ScDocument::SetPageStyle(), vcl::Window::SetPointer(), ScAddress::SetRow(), ScViewFunc::SetStyleSheetToMarked(), ScDBFunc::ShowDataPilotSourceData(), StopMarking(), ScTabView::StopRefMode(), ScDPObject::ToggleDetails(), SfxUndoManager::Undo(), Up, ScTabViewShell::UpdateInputHandler(), ScDocShell::UpdateOle(), and VALID.
Referenced by FakeButtonUp(), LogicMouseButtonUp(), ScModelObj::setGraphicSelection(), and Tracking().
|
overridevirtual |
Test if refMode dragging !!!
Reimplemented from vcl::Window.
Definition at line 2673 of file gridwin.cxx.
References aCurMousePos, bDPMouse, bEEMouse, bRFMouse, DPMouseMove(), DrawMouseMove(), eWhich, MouseEvent::GetButtons(), ScViewData::GetEditEndCol(), ScViewData::GetEditEndRow(), EditView::GetEditEngine(), GetEditUrl(), ScViewData::GetEditView(), EditView::GetField(), EditView::GetFieldUnderMousePointer(), MouseEvent::GetModifier(), EditView::GetOutputDevice(), ScViewData::GetPosFromPixel(), MouseEvent::GetPosPixel(), ScViewData::GetRefTabNo(), ScTabView::GetSelEngine(), ScViewData::GetSfxDocShell(), ScViewData::GetTabNo(), ScViewData::GetView(), ScViewData::GetViewShell(), ScViewData::HasEditView(), ScTabView::HasPaintBrush(), HideNoteMarker(), HitPageBreak(), HitRangeFinder(), comphelper::LibreOfficeKit::isActive(), ScViewData::IsAnyFillMode(), ScTabViewShell::IsAuditShell(), EditEngine::IsEffectivelyVertical(), ScModule::IsFormulaMode(), MouseEvent::IsLeaveWindow(), MouseEvent::IsMod2(), ScModule::IsModalMode(), ScViewData::IsPagebreakMode(), ScViewData::IsThemedCursor(), EditView::MouseMove(), mpNoteMarker, mrViewData, nButtonDown, nMouseStatus, NONE, nPagebreakMouse, nScFillModeMouseModifier, PagebreakMove(), OutputDevice::PixelToLogic(), Point, RFMouseMove(), SC_GM_IGNORE, SC_GM_NONE, SC_GM_WATERUNDO, SC_MOD, SC_PD_BREAK_H, SC_PD_BREAK_V, SC_PD_RANGE_B, SC_PD_RANGE_BL, SC_PD_RANGE_BR, SC_PD_RANGE_L, SC_PD_RANGE_R, SC_PD_RANGE_T, SC_PD_RANGE_TL, SC_PD_RANGE_TR, SelectionEngine::SelMouseMove(), vcl::Window::SetPointer(), ScGlobal::ShouldOpenURL(), and TestMouse().
Referenced by LogicMouseMove(), ScModelObj::setGraphicSelection(), and Tracking().
void ScGridWindow::MoveMouseStatus | ( | ScGridWindow & | rDestWin | ) |
Definition at line 1546 of file gridwin.cxx.
References aPagebreakDrag, aPagebreakSource, bRFMouse, bRFSize, nButtonDown, nMouseStatus, nPagebreakBreak, nPagebreakMouse, nPagebreakPrev, nRFAddX, nRFAddY, nRFIndex, and SC_PD_NONE.
|
private |
Definition at line 332 of file gridwin4.cxx.
References maLOKLastCursor.
Referenced by InvalidateLOKViewCursor().
|
inline |
Definition at line 448 of file gridwin.hxx.
void ScGridWindow::notifyKitCellCursor | ( | ) | const |
Definition at line 5925 of file gridwin.cxx.
References aListValPos, bListValButton, getCellCursor(), ScViewData::GetCurPos(), GetSelectionRects(), ScViewData::GetViewShell(), ScViewData::IsActive(), SfxViewShell::libreOfficeKitViewCallback(), mrViewData, SfxLokHelper::notifyOtherViews(), and updateLOKValListButton().
Referenced by updateKitCellCursor(), and updateKitOtherCursors().
void ScGridWindow::notifyKitCellFollowJump | ( | ) | const |
Definition at line 5122 of file gridwin.cxx.
References getCellCursor(), ScViewData::GetViewShell(), SfxViewShell::libreOfficeKitViewCallback(), and mrViewData.
Referenced by ScTabViewShell::Execute().
void ScGridWindow::notifyKitCellViewCursor | ( | const SfxViewShell * | pForShell | ) | const |
Definition at line 5941 of file gridwin.cxx.
References ScViewData::describeCellCursorInPrintTwips(), ScViewData::GetCurX(), ScViewData::GetCurY(), SfxViewShell::GetDocId(), ScViewData::GetViewShell(), comphelper::LibreOfficeKit::isCompatFlagSet(), mpOOCursors, mrViewData, and SfxLokHelper::notifyOtherView().
Referenced by updateKitCellCursor(), and updateKitOtherCursors().
|
private |
Combine scrolling and switching with RFMouseMove ! (Inverting before scrolling is different)
Definition at line 819 of file gridwin2.cxx.
References ScDocShell::AdjustPrintZoom(), ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScViewFunc::DeletePageBreak(), SfxUndoManager::EnterListAction(), false, ScRange::Format(), ScDocShell::GetDocument(), MouseEvent::GetPosPixel(), ScDocument::GetPrintRange(), ScDocument::GetPrintRangeCount(), ScDocShell::GetUndoManager(), ScDocument::HasColBreak(), ScDocument::HasRowBreak(), Size::Height(), ScViewFunc::InsertPageBreak(), ScDocument::IsPrintEntireSheet(), ScDocument::IsUndoEnabled(), SfxUndoManager::LeaveListAction(), Manual, nPos, Point, ScAddress::Row(), SC_PD_BREAK_H, SC_PD_BREAK_V, SC_PD_RANGE_B, SC_PD_RANGE_L, SC_PD_RANGE_R, SC_PD_RANGE_T, SC_SPLIT_BOTTOMLEFT, SC_SPLIT_BOTTOMRIGHT, SC_SPLIT_FIX, SC_SPLIT_TOPLEFT, SC_SPLIT_TOPRIGHT, ScResId(), ScAddress::SetCol(), ScDocShell::SetDocumentModified(), ScViewFunc::SetPrintRanges(), ScAddress::SetRow(), ScTabView::UpdatePageBreakData(), VALID, WhichH(), WhichV(), and Size::Width().
Referenced by HandleMouseButtonDown(), MouseButtonUp(), and MouseMove().
|
overrideprotectedvirtual |
Merge Rectangle?
Reimplemented from vcl::Window.
Definition at line 385 of file gridwin4.cxx.
References ScViewData::AddPixelsWhile(), aRepaintPixel, bIsInPaint, bNeedsRepaint, tools::Rectangle::Bottom(), Draw(), eHWhich, eVWhich, ScDocument::GetColWidth(), ScViewData::GetDocument(), ScViewData::GetPosX(), ScViewData::GetPosY(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), vcl::Window::GetSizePixel(), ScViewData::GetTabNo(), ScDocument::IsInInterpreter(), ScDocument::IsLayoutRTL(), tools::Rectangle::Left(), vcl::Window::LogicToPixel(), Marks, ScDocument::MaxCol(), ScDocument::MaxRow(), mrViewData, nPPTX, nPPTY, tools::Rectangle::Right(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::Top(), ScViewData::ToPixel(), and Size::Width().
void ScGridWindow::PaintTile | ( | VirtualDevice & | rDevice, |
int | nOutputWidth, | ||
int | nOutputHeight, | ||
int | nTilePosX, | ||
int | nTilePosY, | ||
tools::Long | nTileWidth, | ||
tools::Long | nTileHeight | ||
) |
Definition at line 1481 of file gridwin4.cxx.
References o3tl::convert(), OutputDevice::DrawBitmap(), DrawContent(), ScDocument::FillInfo(), OutputDevice::GetBitmap(), ScViewData::GetDocument(), ScDocument::GetDrawLayer(), OutputDevice::GetMapMode(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), ScViewData::GetScDrawView(), ScViewData::GetTabNo(), ScDocument::GetTiledRenderingArea(), ScViewData::GetZoomX(), ScViewData::GetZoomY(), comphelper::LibreOfficeKit::isCompatFlagSet(), ScDocument::IsLayoutRTL(), ScDocument::MaxCol(), MAXTILEDROW, Bitmap::Mirror(), mpLOKDrawView, mpSpellCheckCxt, mrViewData, OUTTYPE_WINDOW, LokChartHelper::PaintAllChartsOnTile(), Point, ScDocument::PrepareFormulaCalc(), o3tl::px, ScDocument::ResetChanged(), ScOutputData::SetDrawView(), OutputDevice::SetMapMode(), MapMode::SetOrigin(), ScOutputData::SetSpellCheckContext(), ScViewData::SetZoom(), and o3tl::twip.
Referenced by ScModelObj::paintTile().
Definition at line 4856 of file gridwin.cxx.
References tools::Rectangle::Contains(), TransferableDataHelper::CreateFromPrimarySelection(), SfxObjectShell::CreateShellID(), DND_ACTION_COPY, DropTransferObj(), eWhich, ScSelectionTransferObj::GetCellData(), ScViewData::GetDocShell(), ScSelectionTransferObj::GetDrawData(), SdrObject::GetLogicRect(), SdrMarkView::GetMarkedObjectByIndex(), SdrMarkView::GetMarkedObjectCount(), ScViewData::GetPosFromPixel(), ScTabView::GetScDrawView(), TransferableDataHelper::GetTransferable(), ScViewData::GetView(), ScViewData::GetViewShell(), lcl_GetDropFormatId(), mrViewData, nCount, ScViewFunc::PasteDataFormat(), ScViewFunc::PasteDraw(), vcl::Window::PixelToLogic(), Point, and SC_MOD.
Referenced by Command().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 2902 of file gridwin.cxx.
References aEvent, MouseEvent::GetClicks(), vcl::Window::GetComponentInterface(), SfxFrame::GetController(), SfxViewFrame::GetFrame(), NotifyEvent::GetMouseEvent(), NotifyEvent::GetType(), SfxViewShell::GetViewFrame(), ScViewData::GetViewShell(), NotifyEvent::GetWindow(), ScTabViewObj::IsMouseListening(), MouseEvent::IsRight(), lcl_InitMouseEvent(), ScTabViewObj::MousePressed(), ScTabViewObj::MouseReleased(), mrViewData, nMouseStatus, nType, SC_GM_IGNORE, and xController.
|
overrideprotectedvirtual |
Reimplemented from vcl::Window.
Definition at line 316 of file gridwin4.cxx.
References ScTabView::GetScDrawView(), ScViewData::GetViewShell(), mrViewData, and SdrPaintView::PrePaint().
Definition at line 1022 of file gridwin.cxx.
References ScAddress::Col(), IsAutoFilterActive(), mpFilterButton, ScAddress::Row(), and ScAddress::Tab().
Reimplemented from vcl::Window.
Definition at line 204 of file gridwin5.cxx.
References tools::Rectangle::BottomRight(), INetURLObject::decode(), eWhich, IMapObject::GetAltText(), ScViewData::GetDocument(), ScViewData::GetEditArea(), GetEditUrl(), SvxIMapInfo::GetHitIMapObject(), SdrPaintView::getHitTolLog(), SdrObject::getHyperlink(), SvxIMapInfo::GetIMapInfo(), SdrObject::GetLogicRect(), HelpEvent::GetMode(), HelpEvent::GetMousePosPixel(), vcl::Window::GetOutDev(), ScDocument::GetPattern(), ScViewData::GetPosFromPixel(), ScViewData::GetRefType(), ScViewData::GetScDrawView(), SdrPaintView::GetSdrPageView(), ScViewData::GetTabNo(), IMapObject::GetURL(), SvxURLField::GetURL(), SfxHelp::GetURLHelpText(), SdrObject::IsGroupObject(), Help::IsQuickHelpEnabled(), SdrObjEditView::IsTextEdit(), vcl::Window::LogicToPixel(), SdrViewEvent::meEvent, MOUSE_LEFT, mpNoteMarker, SdrViewEvent::mpObj, SdrViewEvent::mpURLField, mrViewData, nButtonDown, nMouseStatus, vcl::Window::OutputToScreenPixel(), SdrView::PickAnything(), SdrMarkView::PickObj(), vcl::Window::PixelToLogic(), Point, FmFormPage::RequestHelp(), SC_GM_TABDOWN, SC_REFTYPE_FILL, vcl::Window::ScreenToOutputPixel(), Help::ShowBalloon(), ShowNoteMarker(), Help::ShowQuickHelp(), tools::Rectangle::TopLeft(), and INetURLObject::Unambiguous.
void ScGridWindow::ResetAutoSpell | ( | ) |
Definition at line 5874 of file gridwin.cxx.
References mpSpellCheckCxt.
Referenced by ScSpellDialogChildWindow::ApplyChangedSentence(), and ScUndoConversion::DoChange().
void ScGridWindow::ResetAutoSpellForContentChange | ( | ) |
Definition at line 5880 of file gridwin.cxx.
References mpSpellCheckCxt.
Referenced by ScViewFunc::CopyAutoSpellData().
|
private |
Definition at line 5445 of file gridwin.cxx.
References ScTabView::ActivatePart(), ScRange::aEnd, ScRangeFindData::aRef, aRFSelectedCorned, ScRange::aStart, bRFSize, ScAddress::Col(), ScRangeFindList::Count(), eWhich, ScViewData::GetActivePart(), ScViewData::GetDocShell(), ScViewData::GetDocument(), ScViewData::GetHSplitMode(), ScRangeFindList::GetObject(), vcl::Window::GetOutputSizePixel(), ScViewData::GetPosFromPixel(), MouseEvent::GetPosPixel(), ScInputHandler::GetRangeFindList(), ScViewData::GetView(), ScViewData::GetViewShell(), ScViewData::GetVSplitMode(), Size::Height(), lcl_PaintRefChanged(), LEFT_DOWN, LEFT_UP, ScDocument::MaxCol(), ScDocument::MaxRow(), mrViewData, nRFAddX, nRFAddY, nRFIndex, vcl::Window::PaintImmediately(), Point, ScRange::PutInOrder(), rData, ScTabView::ResetTimer(), RIGHT_DOWN, RIGHT_UP, ScAddress::Row(), SC_MOD, SC_SPLIT_BOTTOMLEFT, SC_SPLIT_BOTTOMRIGHT, SC_SPLIT_FIX, SC_SPLIT_TOPLEFT, SC_SPLIT_TOPRIGHT, ScTabView::ScrollX(), ScTabView::ScrollY(), ScAddress::SetCol(), vcl::Window::SetPointer(), ScAddress::SetRow(), ScTabView::SetTimer(), ScInputHandler::UpdateLokReferenceMarks(), ScInputHandler::UpdateRange(), WhichH(), WhichV(), and Size::Width().
Referenced by MouseButtonUp(), MouseMove(), and Tracking().
void ScGridWindow::ScrollPixel | ( | tools::Long | nDifX, |
tools::Long | nDifY | ||
) |
Definition at line 4974 of file gridwin.cxx.
References ClickExtern(), DrawAfterScroll(), GetDrawMapMode(), HideNoteMarker(), vcl::Window::Scroll(), vcl::Window::SetMapMode(), and UpdateEditViewPos().
|
private |
change to GetEditStartCol after calcrtl is integrated
Definition at line 3392 of file gridwin.cxx.
References ESelection::Adjust(), aEvent, SdrMarkView::AreObjectsMarked(), tools::Rectangle::Contains(), ScTabView::DrawDeselectAll(), EditEngine::FindDocPosition(), ScViewData::GetEditEndCol(), ScViewData::GetEditEndRow(), Outliner::GetEditEngine(), EditView::GetEditEngine(), ScViewData::GetEditView(), ScViewData::GetEditViewCol(), ScViewData::GetEditViewRow(), ScViewData::GetMarkData(), vcl::Window::GetOutDev(), OutlinerView::GetOutliner(), EditView::GetOutputArea(), OutlinerView::GetOutputArea(), ScTabView::GetScDrawView(), OutlinerView::GetSelection(), EditView::GetSelection(), SdrObjEditView::GetTextEditObject(), SdrObjEditView::GetTextEditOutlinerView(), ScViewData::GetView(), ScViewData::GetViewShell(), OutlinerView::GetVisArea(), EditView::GetVisArea(), ScViewData::HasEditView(), ScModule::InputEnterHandler(), ScModule::InputSelection(), ScMarkData::IsCellMarked(), EditEngine::IsEffectivelyVertical(), SdrMarkView::IsMarkedObjHit(), Outliner::IsVertical(), lcl_UnLockComment(), SdrMarkView::MarkObj(), FmFormView::MouseButtonDown(), EditView::MouseButtonDown(), SdrView::MouseButtonUp(), EditView::MouseButtonUp(), mrViewData, EPosition::nIndex, EPosition::nPara, vcl::Window::PixelToLogic(), Point, SC_MOD, ScTabView::SetCursor(), ScTabViewShell::SetDrawShell(), tools::Rectangle::TopLeft(), tools::Rectangle::TopRight(), ScTabView::Unmark(), and SdrMarkView::UnmarkAllObj().
Referenced by Command().
void ScGridWindow::SetAutoSpellContext | ( | const std::shared_ptr< sc::SpellCheckContext > & | ctx | ) |
Definition at line 5869 of file gridwin.cxx.
References mpSpellCheckCxt.
Referenced by ScTabView::DoAddWin().
void ScGridWindow::SetAutoSpellData | ( | SCCOL | nPosX, |
SCROW | nPosY, | ||
const std::vector< editeng::MisspellRanges > * | pRanges | ||
) |
Definition at line 5886 of file gridwin.cxx.
References mpSpellCheckCxt.
Referenced by ScViewFunc::CopyAutoSpellData().
Update the cell selection according to what handles have been dragged.
Definition at line 1694 of file gridwin4.cxx.
References ScRangeList::Combine(), ScTabView::DoneBlockMode(), ScRangeList::empty(), eWhich, ScViewData::GetCurX(), ScViewData::GetCurY(), ScViewData::GetMarkData(), ScMarkData::GetMarkedRanges(), ScViewData::GetPosFromPixel(), ScViewData::GetTabNo(), ScRange::GetVars(), ScViewData::GetView(), ScViewData::GetViewShell(), ScTabView::InitBlockMode(), ScInputHandler::IsInputMode(), ScTabView::MarkCursor(), mrViewData, SC_MOD, ScTabView::SetCursor(), ScTabViewShell::UpdateInputHandler(), and ScTabView::UpdateInputLine().
Referenced by HandleMouseButtonDown(), ScViewFunc::SearchAndReplace(), and ScModelObj::setTextSelection().
|
private |
Definition at line 1349 of file gridwin4.cxx.
References bInitialPageBreaks, ScDocument::GetAllColBreaks(), ScDocument::GetAllRowBreaks(), maShowPageBreaksTimer, Task::SetPriority(), and Timer::Start().
Referenced by DrawContent().
void ScGridWindow::ShowCursor | ( | ) |
Definition at line 5174 of file gridwin.cxx.
References nCursorHideCount.
Referenced by StartDrag().
void ScGridWindow::ShowFilterMenu | ( | weld::Window * | pParent, |
const tools::Rectangle & | rCellRect, | ||
bool | bLayoutRTL | ||
) |
Definition at line 1247 of file gridwin.cxx.
References tools::Rectangle::AdjustLeft(), o3tl::convert(), weld::TreeView::get_height_rows(), weld::Widget::get_preferred_size(), tools::Rectangle::GetWidth(), comphelper::LibreOfficeKit::isActive(), vcl::Window::IsMouseCaptured(), tools::Rectangle::Left(), mpFilterBox, weld::TreeView::n_children(), o3tl::px, vcl::Window::ReleaseMouse(), SC_FILTERLISTBOX_LINES, weld::Widget::set_size_request(), tools::Rectangle::SetLeft(), STD_COL_WIDTH, and o3tl::twip.
Referenced by DoScenarioMenu(), and LaunchDataSelectMenu().
Definition at line 46 of file gridwin5.cxx.
References ScRange::aEnd, ScBigRange::aStart, ScRange::aStart, ScAddress::Col(), ScRange::Contains(), eType, ScChangeAction::GetActionNumber(), ScChangeAction::GetBigRange(), ScDocument::GetChangeTrack(), ScDocument::GetChangeViewSettings(), ScChangeAction::GetComment(), LocaleDataWrapper::getDate(), ScChangeAction::GetDateTime(), ScChangeAction::GetDescription(), ScViewData::GetDocument(), GetDrawMapMode(), ScChangeTrack::GetFirst(), ScViewData::GetHSplitMode(), ScGlobal::getLocaleData(), ScChangeAction::GetNext(), ScDocument::GetNote(), MapMode::GetOrigin(), vcl::Window::GetOutputSizePixel(), ScViewData::GetTabNo(), LocaleDataWrapper::getTime(), ScChangeAction::GetType(), ScChangeAction::GetUser(), ScViewData::GetView(), ScViewData::GetVSplitMode(), ScTabView::GetWindowByPos(), Size::Height(), ScViewUtil::IsActionShown(), ScPostIt::IsCaptionShown(), ScChangeAction::IsVisible(), ScBigRange::MakeRange(), mpNoteMarker, mrViewData, vcl::Window::PixelToLogic(), Point, ScAddress::Row(), SC_CAT_CONTENT, SC_CAT_DELETE_COLS, SC_CAT_DELETE_ROWS, SC_CAT_MOVE, SC_SPLIT_BOTTOMLEFT, SC_SPLIT_BOTTOMRIGHT, SC_SPLIT_NONE, SC_SPLIT_TOPLEFT, SC_SPLIT_TOPRIGHT, ScAddress::SetCol(), MapMode::SetOrigin(), ScAddress::SetRow(), ScChangeViewSettings::ShowChanges(), ScBigAddress::Tab(), and Size::Width().
Referenced by KeyInput(), and RequestHelp().
Reimplemented from DragSourceHelper.
Definition at line 3003 of file gridwin.cxx.
References bEEMouse, ScInputHandler::CancelHandler(), EditView::Command(), SelectionEngine::Command(), ScInputHandler::DataChanged(), DrawCommand(), ScViewData::GetEditView(), ScModule::GetInputHdl(), ScTabView::GetSelEngine(), ScViewData::GetView(), ScViewData::GetViewShell(), ScViewData::HasEditView(), HideNoteMarker(), ScViewData::IsActive(), mpFilterBox, mrViewData, nPagebreakMouse, SC_MOD, ScModule::SetInEditCommand(), and ShowCursor().
void ScGridWindow::StopMarking | ( | ) |
Definition at line 3767 of file gridwin.cxx.
References DrawEndAction(), ScViewData::GetMarkData(), mrViewData, nButtonDown, nMouseStatus, SC_GM_IGNORE, and ScMarkData::SetMarking().
Referenced by Command(), MouseButtonUp(), and Tracking().
|
private |
bold cross ?
Definition at line 1575 of file gridwin.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), EMBED_LT, EMBED_RB, eWhich, ScViewData::GetDocument(), ScDocument::GetEmbedded(), SfxViewShell::GetIPClient(), ScViewData::GetMarkData(), MouseEvent::GetPosPixel(), ScViewData::GetScrPos(), ScViewData::GetSimpleArea(), ScViewData::GetTabNo(), ScViewData::GetViewShell(), ScViewData::IsActive(), ScDocument::IsEmbedded(), ScDocument::IsLayoutRTL(), MouseEvent::IsLeft(), SfxInPlaceClient::IsObjectInPlaceActive(), lcl_IsEditableMatrix(), ScMarkData::MarkToSimple(), MATRIX, mpAutoFillRect, mrViewData, Point, ScViewData::ResetFillMode(), ScAddress::Row(), SC_MARK_SIMPLE, ScViewData::SetDragMode(), ScViewData::SetFillMode(), vcl::Window::SetPointer(), and ScAddress::Tab().
Referenced by HandleMouseButtonDown(), and MouseMove().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 2952 of file gridwin.cxx.
References bDPMouse, bDragRect, bPagebreakDrawn, bRFMouse, MouseEvent::GetClicks(), MouseEvent::GetMode(), MouseEvent::GetModifier(), TrackingEvent::GetMouseEvent(), MouseEvent::GetPosPixel(), ScViewData::GetView(), ScTabView::IsInActivatePart(), ScViewData::IsRefMode(), TrackingEvent::IsTrackingCanceled(),