/* -*- 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 . */ #pragma once #include /* Using this class, you can find out: - SdrView* First/NextView() - All Views in which a model is displayed - All Views in which a certain page is visible (also as MasterPage) - All Views in which a certain object is visible (also as MasterPage) - SdrPageView* First/NextPageView() - All PageViews in which a model is displayed - All PageViews in which a certain page is visible (also as MasterPage) - All PageViews in which a certain object is visible (also as MasterPage) - vcl::Window* First/NextWindow() - All Windows in which a model is displayed - All Windows in which a certain page is visible (also as MasterPage) - All Windows in which a certain object is visible (also as MasterPage) You can specify if the selection is restricted to a certain page/object by choosing the corresponding constructor. Among others, the following are considered: - Visibility state of the layer - Visible Layer of MasterPages - Multiple layer for group objects Not considered are: - Whether the pages/objects were already painted or if an Invalidate is still pending - Whether the pages/objects in a Window are in a visible region */ class OutputDevice; class SdrView; class SdrPageView; class SdrModel; class SdrPage; class SdrObject; class SdrLayerIDSet; class SVXCORE_DLLPUBLIC SdrViewIter { const SdrModel* mpModel; const SdrPage* mpPage; const SdrObject* mpObject; SdrView* mpCurrentView; size_t mnListenerNum; private: SVX_DLLPRIVATE void ImpInitVars(); SVX_DLLPRIVATE SdrView* ImpFindView(); SVX_DLLPRIVATE bool ImpCheckPageView(SdrPageView const * pPV) const; public: SdrViewIter(const SdrPage* pPage); SdrViewIter(const SdrObject* pObject); SdrView* FirstView(); SdrView* NextView(); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ a/co-24.04.10'>distro/collabora/co-24.04.10 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/writerperfect/source
AgeCommit message (Expand)Author
2024-08-13use less exception throwing for flow controlNoel Grandin
2024-07-24cid#1556131 COPY_INSTEAD_OF_MOVECaolán McNamara
2024-07-23cid#1555070 COPY_INSTEAD_OF_MOVECaolán McNamara
2024-05-16loplugin:ostr in writerperfectNoel Grandin
2024-03-11Use weak reference to SfxObjectShell in SfxEventHint to avoid use-after-freeMike Kaganski
2024-01-27Drop std::as_const from css::uno::Sequence iterationsMike Kaganski
2023-12-10cid#1545177 COPY_INSTEAD_OF_MOVECaolán McNamara
2023-12-10cid#1546281 COPY_INSTEAD_OF_MOVECaolán McNamara
2023-11-14loplugin:unusedfieldsNoel Grandin
2023-10-20Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: writerperfectStephan Bergmann
2023-09-19loplugin:unusedfieldsNoel Grandin
2023-09-13loplugin:unusedmethodsNoel Grandin
2023-08-24cid#1541185 Operands don't affect resultCaolán McNamara
2023-08-23cid#1541186 Operands don't affect resultCaolán McNamara
2023-08-21remove pimpl in WPXSvInputStreamNoel Grandin
2023-06-27loplugin:stringstatic look for more stringsNoel Grandin
2023-04-25Add script to find unused using declarationsGabor Kelemen
2023-03-31Simplify a bitMike Kaganski
2023-01-15Merge SvXMLAttributeList to comphelper::AttributeListMike Kaganski
2023-01-05Revert all the recent loplugin:unocast changesStephan Bergmann
2022-12-20lok: hide customization in EPUB export dialogSzymon Kłos
2022-12-20Make EPUB Export dialog asyncSzymon Kłos
2022-12-16loplugin:unocast (SvXMLImport)Stephan Bergmann
2022-11-22loplugin:unusedfieldsNoel Grandin
2022-10-14WASM add Calc as optional build result, make it build & runBalazs Varga
2022-10-05tdf#143148 Use pragma once instead of include guardsNalini Prasad Dash
2022-08-18Move tools/diagnose_ex.h to comphelper/diagnose_ex.hxxStephan Bergmann
2022-07-31clang-tidy modernize-pass-by-value in writer*Noel Grandin
2022-05-24modernize and improve PropertySetInfoNoel Grandin
2022-05-02Just use Any ctor instead of makeAny in writerperfectStephan Bergmann
2022-01-20WASM --enable-wasm-strip now skips lots of LO codeArmin Le Grand (Allotropia)