Gtk-WARNING gtktreestore.c:1047: Invalid column number 1 added to iter
[LibreOffice.git] / svx / inc / sdr / contact / viewobjectcontactofsdrpage.hxx
bloba6fa46d43072a91187553d6f632ce507cd92205a
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef INCLUDED_SVX_INC_SDR_CONTACT_VIEWOBJECTCONTACTOFSDRPAGE_HXX
21 #define INCLUDED_SVX_INC_SDR_CONTACT_VIEWOBJECTCONTACTOFSDRPAGE_HXX
23 #include <svx/sdr/contact/viewobjectcontact.hxx>
25 class SdrPage;
27 namespace sdr::contact
29 class ViewObjectContactOfPageSubObject : public ViewObjectContact
31 protected:
32 const SdrPage& getPage() const;
34 public:
35 ViewObjectContactOfPageSubObject(ObjectContact& rObjectContact, ViewContact& rViewContact);
36 virtual ~ViewObjectContactOfPageSubObject() override;
38 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override;
39 virtual bool isPrimitiveGhosted(const DisplayInfo& rDisplayInfo) const override;
42 } // end of namespace sdr::contact
44 namespace sdr::contact
46 class ViewObjectContactOfPageBackground final : public ViewObjectContactOfPageSubObject
48 virtual void createPrimitive2DSequence(const DisplayInfo& rDisplayInfo, drawinglayer::primitive2d::Primitive2DDecompositionVisitor& rVisitor) const override;
50 public:
51 ViewObjectContactOfPageBackground(ObjectContact& rObjectContact, ViewContact& rViewContact);
52 virtual ~ViewObjectContactOfPageBackground() override;
54 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override;
57 } // end of namespace sdr::contact
59 namespace sdr::contact
61 class ViewObjectContactOfMasterPage final : public ViewObjectContactOfPageSubObject
63 protected:
64 public:
65 ViewObjectContactOfMasterPage(ObjectContact& rObjectContact, ViewContact& rViewContact);
66 virtual ~ViewObjectContactOfMasterPage() override;
68 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override;
70 } // end of namespace sdr::contact
72 namespace sdr::contact
74 class ViewObjectContactOfPageFill final : public ViewObjectContactOfPageSubObject
76 virtual void createPrimitive2DSequence(const DisplayInfo& rDisplayInfo, drawinglayer::primitive2d::Primitive2DDecompositionVisitor& rVisitor) const override;
78 public:
79 ViewObjectContactOfPageFill(ObjectContact& rObjectContact, ViewContact& rViewContact);
80 virtual ~ViewObjectContactOfPageFill() override;
82 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override;
84 } // end of namespace sdr::contact
86 namespace sdr::contact
88 class ViewObjectContactOfPageShadow final : public ViewObjectContactOfPageSubObject
90 public:
91 ViewObjectContactOfPageShadow(ObjectContact& rObjectContact, ViewContact& rViewContact);
92 virtual ~ViewObjectContactOfPageShadow() override;
94 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override;
96 } // end of namespace sdr::contact
98 namespace sdr::contact
100 class ViewObjectContactOfOuterPageBorder final : public ViewObjectContactOfPageSubObject
102 public:
103 ViewObjectContactOfOuterPageBorder(ObjectContact& rObjectContact, ViewContact& rViewContact);
104 virtual ~ViewObjectContactOfOuterPageBorder() override;
106 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override;
108 } // end of namespace sdr::contact
110 namespace sdr::contact
112 class ViewObjectContactOfInnerPageBorder final : public ViewObjectContactOfPageSubObject
114 public:
115 ViewObjectContactOfInnerPageBorder(ObjectContact& rObjectContact, ViewContact& rViewContact);
116 virtual ~ViewObjectContactOfInnerPageBorder() override;
118 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override;
120 } // end of namespace sdr::contact
122 namespace sdr::contact
124 class ViewObjectContactOfPageHierarchy final : public ViewObjectContactOfPageSubObject
126 public:
127 ViewObjectContactOfPageHierarchy(ObjectContact& rObjectContact, ViewContact& rViewContact);
128 virtual ~ViewObjectContactOfPageHierarchy() override;
130 virtual void getPrimitive2DSequenceHierarchy(DisplayInfo& rDisplayInfo, drawinglayer::primitive2d::Primitive2DDecompositionVisitor& rVisitor ) const override;
132 } // end of namespace sdr::contact
134 namespace sdr::contact
136 class ViewObjectContactOfPageGrid final : public ViewObjectContactOfPageSubObject
138 virtual void createPrimitive2DSequence(const DisplayInfo& rDisplayInfo, drawinglayer::primitive2d::Primitive2DDecompositionVisitor& rVisitor) const override;
140 public:
141 ViewObjectContactOfPageGrid(ObjectContact& rObjectContact, ViewContact& rViewContact);
142 virtual ~ViewObjectContactOfPageGrid() override;
144 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override;
146 } // end of namespace sdr::contact
148 namespace sdr::contact
150 class ViewObjectContactOfPageHelplines final : public ViewObjectContactOfPageSubObject
152 virtual void createPrimitive2DSequence(const DisplayInfo& rDisplayInfo, drawinglayer::primitive2d::Primitive2DDecompositionVisitor& rVisitor) const override;
154 public:
155 ViewObjectContactOfPageHelplines(ObjectContact& rObjectContact, ViewContact& rViewContact);
156 virtual ~ViewObjectContactOfPageHelplines() override;
158 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override;
160 } // end of namespace sdr::contact
162 namespace sdr::contact
164 class ViewObjectContactOfSdrPage final : public ViewObjectContact
166 public:
167 ViewObjectContactOfSdrPage(ObjectContact& rObjectContact, ViewContact& rViewContact);
168 virtual ~ViewObjectContactOfSdrPage() override;
170 virtual void getPrimitive2DSequenceHierarchy(DisplayInfo& rDisplayInfo, drawinglayer::primitive2d::Primitive2DDecompositionVisitor& rVisitor ) const override;
172 } // end of namespace sdr::contact
174 #endif // INCLUDED_SVX_INC_SDR_CONTACT_VIEWOBJECTCONTACTOFSDRPAGE_HXX
176 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */