Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/LibreOffice/include/svx/sdr/contact/   (Office von Apache Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 5 kB image not shown  

Quelle  objectcontactofpageview.hxx   Sprache: C

 
/* -*- 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_INC_SDR_CONTACT_OBJECTCONTACTOFPAGEVIEW_HXX
#define INCLUDED_SVX_INC_SDR_CONTACT_OBJECTCONTACTOFPAGEVIEW_HXX

#include <svx/sdr/contact/objectcontact.hxx>
#include <vcl/idle.hxx>

class SdrPageWindow;
class SdrPage;

namespace sdr::contact
    {
        class SVXCORE_DLLPUBLIC ObjectContactOfPageView : public ObjectContact, public Idle
        {
            // the owner of this ObjectContactOfPageView. Set from constructor and not
            // to be changed in any way.
            SdrPageWindow&                                      mrPageWindow;

            // Process the whole displaying, the real version
            void DoProcessDisplay(DisplayInfo& rDisplayInfo);

        public:
            // access to SdrPageWindow
            SdrPageWindow& GetPageWindow() const { return mrPageWindow; }

            // access to SdrPage of PageView
            SdrPage* GetSdrPage() const;

            // basic constructor, used from SdrPageView.
            explicit ObjectContactOfPageView(SdrPageWindow& rPageWindow,
                                             const char *pDebugName);
            virtual ~ObjectContactOfPageView() override;

            // LazyInvalidate request. This is used from the VOCs to mark that they
            // got invalidated by an ActionChanged() call. An active view needs to remember
            // this and take action on it. Default implementation directly calls back
            // triggerLazyInvalidate() which promptly handles the request
            virtual void setLazyInvalidate(ViewObjectContact& rVOC) override;

            // call this to support evtl. preparations for repaint
            virtual void PrepareProcessDisplay() override;

            // From baseclass Timer, the timeout call triggered by the LazyInvalidate mechanism
            virtual void Invoke() final override;

            // Process the whole displaying
            virtual void ProcessDisplay(DisplayInfo& rDisplayInfo) override;

            // test if visualizing of entered groups is switched on at all
            virtual bool DoVisualizeEnteredGroup() const override;

            // get active group's (the entered group) ViewContact
            virtual const ViewContact* getActiveViewContact() const override;

            // Invalidate given rectangle at the window/output which is represented by
            // this ObjectContact.
            virtual void InvalidatePartOfView(const basegfx::B2DRange& rRange) const override;

            // Get info about the need to visualize GluePoints. The default
            // is that it is not necessary.
            virtual bool AreGluePointsVisible() const override;

            // check if text animation is allowed.
            virtual bool IsTextAnimationAllowed() const override;

            // check if graphic animation is allowed.
            virtual bool IsGraphicAnimationAllowed() const override;

            // print? Default is false
            virtual bool isOutputToPrinter() const override;

            // display page decoration? Default is true
            virtual bool isPageDecorationActive() const override;

            // display mster page content (ViewContactOfMasterPage)? Default is true
            virtual bool isMasterPageActive() const override;

            // recording MetaFile? Default is false
            virtual bool isOutputToRecordingMetaFile() const override;

            // pdf export? Default is false
            virtual bool isOutputToPDFFile() const override;
            virtual bool isExportTaggedPDF() const override;
            virtual ::vcl::PDFExtOutDevData const* GetPDFExtOutDevData() const override;

            // gray display mode
            virtual bool isDrawModeGray() const override;

            // high contrast display mode
            virtual bool isDrawModeHighContrast() const override;

            // override access to SdrPageView
            virtual SdrPageView* TryToGetSdrPageView() const override;

            // access to OutputDevice. May return 0L like the default implementations do. Override as needed.
            virtual OutputDevice* TryToGetOutputDevice() const override;

            /** sets all UNO controls which are associated with this ObjectContact to
                design or alive mode.
            */

            void    SetUNOControlsDesignMode( bool _bDesignMode ) const;
        };
// end of namespace sdr::contact

#endif // INCLUDED_SVX_INC_SDR_CONTACT_OBJECTCONTACTOFPAGEVIEW_HXX

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Messung V0.5
C=95 H=92 G=93

¤ Dauer der Verarbeitung: 0.25 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.