/* -*- 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_SW_INC_IDOCUMENTDRAWMODELACCESS_HXX #define INCLUDED_SW_INC_IDOCUMENTDRAWMODELACCESS_HXX #include class SwDrawModel; class SwPaM; class SdrPageView; class SvxSearchItem; class IDocumentDrawModelAccess { public: /** Draw Model and id accessors */ virtual const SwDrawModel* GetDrawModel() const = 0; virtual SwDrawModel* GetDrawModel() = 0; virtual SwDrawModel* MakeDrawModel_() = 0; virtual SwDrawModel* GetOrCreateDrawModel() = 0; virtual SdrLayerID GetHeavenId() const = 0; virtual SdrLayerID GetHellId() const = 0; virtual SdrLayerID GetControlsId() const = 0; virtual SdrLayerID GetInvisibleHeavenId() const = 0; virtual SdrLayerID GetInvisibleHellId() const = 0; virtual SdrLayerID GetInvisibleControlsId() const = 0; /** method to notify drawing page view about the invisible layers */ virtual void NotifyInvisibleLayers( SdrPageView& _rSdrPageView ) = 0; /** method to determine, if a layer ID belongs to the visible ones. Note: If given layer ID is unknown, method asserts and returns . @param _nLayerId input parameter - layer ID, which has to be checked, if it belongs to the visible ones. @return bool, indicating, if given layer ID belongs to the visible ones. */ virtual bool IsVisibleLayerId( SdrLayerID _nLayerId ) const = 0; /** method to determine, if the corresponding invisible layer ID for a visible one. Note: If given layer ID is an invisible one, method returns given layer ID. Note: If given layer ID is unknown, method returns given layer ID. @param _nVisibleLayerId input parameter - visible layer ID for which the corresponding invisible one has to be returned. @return sal_Int8, invisible layer ID corresponding to given layer ID */ virtual SdrLayerID GetInvisibleLayerIdByVisibleOne( SdrLayerID _nVisibleLayerId ) = 0; /// Searches text in shapes anchored inside rPaM. virtual bool Search(const SwPaM& rPaM, const SvxSearchItem& rSearchItem) = 0; protected: virtual ~IDocumentDrawModelAccess() {}; }; #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ stro/collabora/co-24.04.6'>distro/collabora/co-24.04.6 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2023-03-02tdf#152073 tdf#153895 basicide: Set bg color for border winMichael Weghorn
2023-02-28tdf#153798 - Basic IDE: align line numbers to the rightAndreas Heinisch
2022-12-01tdf#152078 Add a Zoom slider to the Basic IDERafael Lima
2021-11-18Resolves tdf#143462 - Fixes black row number on dark backgroud in Basic IDEHeiko Tietze
2020-11-13tdf#123936 Formatting files in module basctl with clang-formatPhilipp Hofer
2020-10-21use tools::Long in accessibility..basctlNoel
2020-02-26tdf#130925 use the maximum document line number for the width calculationCaolán McNamara
2019-04-08tdf#42949 Fix IWYU warnings in include/sfx2/[t-z]*Gabor Kelemen
2019-01-07tdf#42949 Fix IWYU warnings in include/vcl/[v-x]*Gabor Kelemen
2018-01-12More loplugin:cstylecast: basctlStephan Bergmann
2017-03-31tdf#82580 tools: rename Rectangle to tools::RectangleMiklos Vajna
2016-03-15loplugin:constantparamNoel Grandin
2015-09-30Fix typosAndrea Gelmini
2015-08-16sal_uLong to sal_uInt32Matteo Casalin
2015-07-04Fix typosAndrea Gelmini
2015-05-14refactor "basctl" classes to use RenderContextTomaž Vajngerl
2015-04-29mass rewrite Paint(Rect&) to Paint(RenderContext&, Rect&)Tomaž Vajngerl
2015-04-10vclwidget: only call dispose() onceNoel Grandin
2015-04-10vclwidget: change all vcl::window fields to be wrapped in VclPtrNoel Grandin
2015-04-09vcl: VclPtr conversion in basctlNoel Grandin
2015-01-12convert SETTINGS_ #defines to 'enum class'Noel Grandin
2015-01-12fdo#84938: replace DATACHANGED_ constants with 'enum class'Noel Grandin
2014-12-05Removed useless includes in basctl/source/basicide/ treeAndrea Gelmini
2014-09-23fdo#82577: Handle WindowNoel Grandin
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert