Version 6.1.4.1, tag libreoffice-6.1.4.1
[LibreOffice.git] / svx / inc / sdr / contact / viewobjectcontactofsdrpage.hxx
blobe267b6179467f2d0773292bb0266f45bb8645f4c
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
29 namespace contact
31 class SVX_DLLPUBLIC ViewObjectContactOfPageSubObject : public ViewObjectContact
33 protected:
34 const SdrPage& getPage() const;
36 public:
37 ViewObjectContactOfPageSubObject(ObjectContact& rObjectContact, ViewContact& rViewContact);
38 virtual ~ViewObjectContactOfPageSubObject() override;
40 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override;
41 virtual bool isPrimitiveGhosted(const DisplayInfo& rDisplayInfo) const override;
43 } // end of namespace contact
44 } // end of namespace sdr
46 namespace sdr
48 namespace contact
50 class SVX_DLLPUBLIC ViewObjectContactOfPageBackground : public ViewObjectContactOfPageSubObject
52 protected:
53 virtual drawinglayer::primitive2d::Primitive2DContainer createPrimitive2DSequence(const DisplayInfo& rDisplayInfo) const override;
55 public:
56 ViewObjectContactOfPageBackground(ObjectContact& rObjectContact, ViewContact& rViewContact);
57 virtual ~ViewObjectContactOfPageBackground() override;
59 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override;
61 } // end of namespace contact
62 } // end of namespace sdr
64 namespace sdr
66 namespace contact
68 class SVX_DLLPUBLIC ViewObjectContactOfMasterPage : public ViewObjectContactOfPageSubObject
70 protected:
71 public:
72 ViewObjectContactOfMasterPage(ObjectContact& rObjectContact, ViewContact& rViewContact);
73 virtual ~ViewObjectContactOfMasterPage() override;
75 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override;
77 } // end of namespace contact
78 } // end of namespace sdr
80 namespace sdr
82 namespace contact
84 class SVX_DLLPUBLIC ViewObjectContactOfPageFill : public ViewObjectContactOfPageSubObject
86 protected:
87 virtual drawinglayer::primitive2d::Primitive2DContainer createPrimitive2DSequence(const DisplayInfo& rDisplayInfo) const override;
89 public:
90 ViewObjectContactOfPageFill(ObjectContact& rObjectContact, ViewContact& rViewContact);
91 virtual ~ViewObjectContactOfPageFill() override;
93 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override;
95 } // end of namespace contact
96 } // end of namespace sdr
98 namespace sdr
100 namespace contact
102 class SVX_DLLPUBLIC ViewObjectContactOfPageShadow : public ViewObjectContactOfPageSubObject
104 public:
105 ViewObjectContactOfPageShadow(ObjectContact& rObjectContact, ViewContact& rViewContact);
106 virtual ~ViewObjectContactOfPageShadow() override;
108 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override;
110 } // end of namespace contact
111 } // end of namespace sdr
113 namespace sdr
115 namespace contact
117 class SVX_DLLPUBLIC ViewObjectContactOfOuterPageBorder : public ViewObjectContactOfPageSubObject
119 public:
120 ViewObjectContactOfOuterPageBorder(ObjectContact& rObjectContact, ViewContact& rViewContact);
121 virtual ~ViewObjectContactOfOuterPageBorder() override;
123 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override;
125 } // end of namespace contact
126 } // end of namespace sdr
128 namespace sdr
130 namespace contact
132 class SVX_DLLPUBLIC ViewObjectContactOfInnerPageBorder : public ViewObjectContactOfPageSubObject
134 public:
135 ViewObjectContactOfInnerPageBorder(ObjectContact& rObjectContact, ViewContact& rViewContact);
136 virtual ~ViewObjectContactOfInnerPageBorder() override;
138 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override;
140 } // end of namespace contact
141 } // end of namespace sdr
143 namespace sdr
145 namespace contact
147 class SVX_DLLPUBLIC ViewObjectContactOfPageHierarchy : public ViewObjectContactOfPageSubObject
149 public:
150 ViewObjectContactOfPageHierarchy(ObjectContact& rObjectContact, ViewContact& rViewContact);
151 virtual ~ViewObjectContactOfPageHierarchy() override;
153 virtual drawinglayer::primitive2d::Primitive2DContainer getPrimitive2DSequenceHierarchy(DisplayInfo& rDisplayInfo) const override;
155 } // end of namespace contact
156 } // end of namespace sdr
158 namespace sdr
160 namespace contact
162 class SVX_DLLPUBLIC ViewObjectContactOfPageGrid : public ViewObjectContactOfPageSubObject
164 protected:
165 virtual drawinglayer::primitive2d::Primitive2DContainer createPrimitive2DSequence(const DisplayInfo& rDisplayInfo) const override;
167 public:
168 ViewObjectContactOfPageGrid(ObjectContact& rObjectContact, ViewContact& rViewContact);
169 virtual ~ViewObjectContactOfPageGrid() override;
171 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override;
173 } // end of namespace contact
174 } // end of namespace sdr
176 namespace sdr
178 namespace contact
180 class SVX_DLLPUBLIC ViewObjectContactOfPageHelplines : public ViewObjectContactOfPageSubObject
182 protected:
183 virtual drawinglayer::primitive2d::Primitive2DContainer createPrimitive2DSequence(const DisplayInfo& rDisplayInfo) const override;
185 public:
186 ViewObjectContactOfPageHelplines(ObjectContact& rObjectContact, ViewContact& rViewContact);
187 virtual ~ViewObjectContactOfPageHelplines() override;
189 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override;
191 } // end of namespace contact
192 } // end of namespace sdr
194 namespace sdr
196 namespace contact
198 class SVX_DLLPUBLIC ViewObjectContactOfSdrPage : public ViewObjectContact
200 public:
201 ViewObjectContactOfSdrPage(ObjectContact& rObjectContact, ViewContact& rViewContact);
202 virtual ~ViewObjectContactOfSdrPage() override;
204 virtual drawinglayer::primitive2d::Primitive2DContainer getPrimitive2DSequenceHierarchy(DisplayInfo& rDisplayInfo) const override;
206 } // end of namespace contact
207 } // end of namespace sdr
209 #endif // INCLUDED_SVX_INC_SDR_CONTACT_VIEWOBJECTCONTACTOFSDRPAGE_HXX
211 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */