/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #ifndef SC_EDITSH_HXX #define SC_EDITSH_HXX #include #include #include #include "shellids.hxx" #include class EditView; class ScViewData; class ScInputHandler; class SvxURLField; class TransferableDataHelper; class TransferableClipboardListener; class ScEditShell : public SfxShell { private: EditView* pEditView; ScViewData* pViewData; TransferableClipboardListener* pClipEvtLstnr; sal_Bool bPastePossible; sal_Bool bIsInsertMode; const SvxURLField* GetURLField(); ScInputHandler* GetMyInputHdl(); DECL_LINK( ClipboardChanged, TransferableDataHelper* ); public: TYPEINFO(); SFX_DECL_INTERFACE(SCID_EDIT_SHELL) ScEditShell(EditView* pView, ScViewData* pData); ~ScEditShell(); void SetEditView(EditView* pView); EditView* GetEditView() {return pEditView;} void Execute(SfxRequest& rReq); void ExecuteTrans(SfxRequest& rReq); void GetState(SfxItemSet &rSet); void GetClipState(SfxItemSet& rSet); void ExecuteAttr(SfxRequest& rReq); void GetAttrState(SfxItemSet &rSet); void ExecuteUndo(SfxRequest& rReq); void GetUndoState(SfxItemSet &rSet); String GetSelectionText( sal_Bool bWholeWord ); }; #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ ra/co-22.05'>distro/collabora/co-22.05 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2016-08-03masses of MessBoxes not being disposed promptlyCaolán McNamara
2016-04-21clang-tidy modernize-loop-convert in b*Noel Grandin
2016-03-08Remove ancient StarPortal leftoversStephan Bergmann
2016-03-07loplugin:unuseddefaultparam in variousNoel Grandin
2016-03-03loplugin:unuseddefaultparams in basicNoel Grandin
2016-02-22loplugin:commaoperator in basic/Noel Grandin
2016-02-09Remove excess newlinesChris Sherlock
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
2015-11-04Resolves: #i61277# Basic open file with random access erases all data.Damjan Jovanovic
2015-11-04yyyyyNoel Grandin
2015-10-19loplugin:defaultparamsStephan Bergmann
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
2015-09-29loplugin:removeunusedmethods, remove unused stuffNoel Grandin
2015-09-29remove unused #include <sal/alloca.h>Michael Stahl
2015-08-26Convert vcl Button Link<> click handler to typed Link<Button*,void>Noel Grandin
2015-08-11loplugin: defaultparamsNoel Grandin
2015-07-29convert SBSTRM constants to scoped enumNoel Grandin
2015-07-28inline "old" SbERR constantsNoel Grandin
2015-07-04Fix typosAndrea Gelmini
2015-06-06Apply new VclPtr clang plugin to catch potential problems.Noel Grandin
2015-06-02cppcheck: noExplicitConstructorCaolán McNamara
2015-05-29tdf#91702 - fix stack-based MessBox allocation.Michael Meeks
2015-05-28Rewrite all calls like Dialog(params).Execute()Philippe Jung
2015-04-29Remove unnecessary IMPL_LINK[_NOARG]_INLINE_START/ENDStephan Bergmann
2015-04-28Merge remote-tracking branch 'origin/feature/vclptr'Michael Meeks
2015-04-17basctl, basic: convert new to ::Create.Michael Meeks
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
2015-04-10Automated conversion of VclPtr construction to use Instance template.Michael Meeks
2015-04-10vclwidget: fixup locally allocated vcl::Window objectsNoel Grandin
2015-04-10vclwidget: only call dispose() onceNoel Grandin
2015-04-09vclwidgets: wrap all vcl::Window subclasses allocated on stack in VclPtrNoel Grandin
2015-04-09vcl: VclPtr conversion in basicNoel Grandin
2015-04-07Remove dead INetProtocol::VimStephan Bergmann
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava
2014-09-23fdo#82577: Handle WindowNoel Grandin
2014-06-13loplugin:staticcallStephan Bergmann
2014-04-07basic: sal_Bool->boolNoel Grandin
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann
2014-03-30MSVC helpfully provides warning C4310: cast truncates constant valueMichael Stahl
2014-03-30deploy some asserts to detect truncated STREAM_SEEK_TO_ENDMichael Stahl
2014-03-29error: no matching function for call to..Matúš Kukan
2014-03-29basic: for PutData()/GetData() actually 32bits should be enoughMichael Stahl
2014-03-28fdo#75280 Started cleaning up of sal_uIntPtr usage.Valentin Kettner
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann
2014-01-27coverity#707651 Uninitialized scalar fieldCaolán McNamara
2014-01-17fdo#73698 check for empty aOutAndras Timar
2014-01-10re-write SvStream operator<< to non-overloaded methodsNoel Grandin