/* -*- 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 INCLUDED_SVX_SDRHITTESTHELPER_HXX #define INCLUDED_SVX_SDRHITTESTHELPER_HXX #include // #i101872# new Object HitTest as View-tooling class Point; class SdrObject; class SdrPageView; class SdrLayerIDSet; class SdrObjList; namespace sdr::contact { class ViewObjectContact; } namespace basegfx { class B2DPoint; } namespace drawinglayer::primitive2d { class Primitive2DContainer; } // Wrappers for classic Sdr* Mode/View classes SVXCORE_DLLPUBLIC SdrObject* SdrObjectPrimitiveHit( const SdrObject& rObject, const Point& rPnt, sal_uInt16 nTol, const SdrPageView& rSdrPageView, const SdrLayerIDSet* pVisiLayer, bool bTextOnly, /// allow getting back an evtl. resulting primitive stack which lead to a hit drawinglayer::primitive2d::Primitive2DContainer* pHitContainer = nullptr); SVXCORE_DLLPUBLIC SdrObject* SdrObjListPrimitiveHit( const SdrObjList& rList, const Point& rPnt, sal_uInt16 nTol, const SdrPageView& rSdrPageView, const SdrLayerIDSet* pVisiLayer, bool bTextOnly); // the pure HitTest based on a VOC bool ViewObjectContactPrimitiveHit( const sdr::contact::ViewObjectContact& rVOC, const basegfx::B2DPoint& rHitPosition, double fLogicHitTolerance, bool bTextOnly, /// allow to get back the stack of primitives that lead to the hit drawinglayer::primitive2d::Primitive2DContainer* pHitContainer); #endif // INCLUDED_SVX_SDRHITTESTHELPER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /option> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/UnoControls/source/base
AgeCommit message (Expand)Author
2019-08-15loplugin:sequenceloop in basic..cuiNoel Grandin
2019-07-21loplugin:referencecasting in variousNoel Grandin
2019-05-17tdf#42949 Fix IWYU warnings in UnoControls/Gabor Kelemen
2019-05-09Simplify Sequence iterations in UnoControlsArkadiy Illarionov
2019-04-05Fix typoAndrea Gelmini
2019-04-03Fix typoAndrea Gelmini
2019-04-03Fix typoAndrea Gelmini
2018-11-09Fix typosAndrea Gelmini
2018-10-31loplugin:useuniqueptr in impl_getWindowDescriptorNoel Grandin
2018-09-18m_xTabControllerList is deadNoel Grandin
2018-09-18loplugin:useuniqueptr in BaseContainerControlNoel Grandin
2018-09-11clang-tidy bugprone-copy-constructor-initNoel Grandin
2018-08-29Fix typosAndrea Gelmini
2018-04-16Fix typosAndrea Gelmini
2018-04-16loplugin:useuniqueptr in ProgressMonitorNoel Grandin
2018-04-01remove unused processfactory.hxx includesJochen Nitschke
2018-03-13Sorry, could not resist: Drive-by cosmetic changesTor Lillqvist
2018-02-24Fix typosAndrea Gelmini
2018-02-01Fix typosAndrea Gelmini
2017-12-11loplugin:salcall fix functionsNoel Grandin
2017-10-23loplugin:includeform: UnoControlsStephan Bergmann
2017-07-11use more range-for on uno::SequenceNoel Grandin
2017-06-09UnoControls: replace double checked locking patternsJochen Nitschke
2017-01-26Remove dynamic exception specificationsStephan Bergmann
2017-01-19New loplugin:dynexcspec: Add @throws documentation, UnoControlsStephan Bergmann
2017-01-17use rtl::Reference in BaseControlNoel Grandin
2016-10-25loplugin:expandablemethods in UnoControls..vbahelperNoel Grandin
2016-10-19loplugin:expandablemethods in UnoControls..vbahelperNoel Grandin
2016-10-03Fix typosAndrea Gelmini
2016-02-23new loplugin: commaoperatorNoel Grandin
2015-11-11com::sun::star->css in UnoControls/Noel Grandin
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
2015-10-30use uno::Reference::set method instead of assignmentNoel Grandin
2015-07-04Fix typosAndrea Gelmini
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann
2015-03-11V668 no sense in testing the result of new against nullCaolán McNamara
2014-11-18cppuhelper: clean up public headers with include-what-you-useMichael Stahl
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin
2014-09-29loplugin: cstylecastNoel Grandin
2014-09-15UnoControls: sal_False/True -> false/trueStephan Bergmann
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
2014-05-23Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20Julien Nabet