fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / include / svx / sdr / contact / viewobjectcontactofsdrpage.hxx
blob588554b7dd925101ba048a685429689cfa95945d
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 _SDR_CONTACT_VIEWOBJECTCONTACTOFSDRPAGE_HXX
21 #define _SDR_CONTACT_VIEWOBJECTCONTACTOFSDRPAGE_HXX
23 #include <svx/sdr/contact/viewobjectcontact.hxx>
25 //////////////////////////////////////////////////////////////////////////////
26 // predeclarations
28 class SdrPage;
30 //////////////////////////////////////////////////////////////////////////////
32 namespace sdr
34 namespace contact
36 class SVX_DLLPUBLIC ViewObjectContactOfPageSubObject : public ViewObjectContact
38 protected:
39 const SdrPage& getPage() const;
41 public:
42 ViewObjectContactOfPageSubObject(ObjectContact& rObjectContact, ViewContact& rViewContact);
43 virtual ~ViewObjectContactOfPageSubObject();
45 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const;
46 virtual bool isPrimitiveGhosted(const DisplayInfo& rDisplayInfo) const;
48 } // end of namespace contact
49 } // end of namespace sdr
51 //////////////////////////////////////////////////////////////////////////////
53 namespace sdr
55 namespace contact
57 class SVX_DLLPUBLIC ViewObjectContactOfPageBackground : public ViewObjectContactOfPageSubObject
59 protected:
60 virtual drawinglayer::primitive2d::Primitive2DSequence createPrimitive2DSequence(const DisplayInfo& rDisplayInfo) const;
62 public:
63 ViewObjectContactOfPageBackground(ObjectContact& rObjectContact, ViewContact& rViewContact);
64 virtual ~ViewObjectContactOfPageBackground();
66 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const;
68 } // end of namespace contact
69 } // end of namespace sdr
71 //////////////////////////////////////////////////////////////////////////////
73 namespace sdr
75 namespace contact
77 class SVX_DLLPUBLIC ViewObjectContactOfMasterPage : public ViewObjectContactOfPageSubObject
79 protected:
80 public:
81 ViewObjectContactOfMasterPage(ObjectContact& rObjectContact, ViewContact& rViewContact);
82 virtual ~ViewObjectContactOfMasterPage();
84 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const;
86 } // end of namespace contact
87 } // end of namespace sdr
89 //////////////////////////////////////////////////////////////////////////////
91 namespace sdr
93 namespace contact
95 class SVX_DLLPUBLIC ViewObjectContactOfPageFill : public ViewObjectContactOfPageSubObject
97 protected:
98 virtual drawinglayer::primitive2d::Primitive2DSequence createPrimitive2DSequence(const DisplayInfo& rDisplayInfo) const;
100 public:
101 ViewObjectContactOfPageFill(ObjectContact& rObjectContact, ViewContact& rViewContact);
102 virtual ~ViewObjectContactOfPageFill();
104 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const;
106 } // end of namespace contact
107 } // end of namespace sdr
109 //////////////////////////////////////////////////////////////////////////////
111 namespace sdr
113 namespace contact
115 class SVX_DLLPUBLIC ViewObjectContactOfPageShadow : public ViewObjectContactOfPageSubObject
117 public:
118 ViewObjectContactOfPageShadow(ObjectContact& rObjectContact, ViewContact& rViewContact);
119 virtual ~ViewObjectContactOfPageShadow();
121 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const;
123 } // end of namespace contact
124 } // end of namespace sdr
126 //////////////////////////////////////////////////////////////////////////////
128 namespace sdr
130 namespace contact
132 class SVX_DLLPUBLIC ViewObjectContactOfOuterPageBorder : public ViewObjectContactOfPageSubObject
134 public:
135 ViewObjectContactOfOuterPageBorder(ObjectContact& rObjectContact, ViewContact& rViewContact);
136 virtual ~ViewObjectContactOfOuterPageBorder();
138 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const;
140 } // end of namespace contact
141 } // end of namespace sdr
143 //////////////////////////////////////////////////////////////////////////////
145 namespace sdr
147 namespace contact
149 class SVX_DLLPUBLIC ViewObjectContactOfInnerPageBorder : public ViewObjectContactOfPageSubObject
151 public:
152 ViewObjectContactOfInnerPageBorder(ObjectContact& rObjectContact, ViewContact& rViewContact);
153 virtual ~ViewObjectContactOfInnerPageBorder();
155 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const;
157 } // end of namespace contact
158 } // end of namespace sdr
160 //////////////////////////////////////////////////////////////////////////////
162 namespace sdr
164 namespace contact
166 class SVX_DLLPUBLIC ViewObjectContactOfPageHierarchy : public ViewObjectContactOfPageSubObject
168 public:
169 ViewObjectContactOfPageHierarchy(ObjectContact& rObjectContact, ViewContact& rViewContact);
170 virtual ~ViewObjectContactOfPageHierarchy();
172 virtual drawinglayer::primitive2d::Primitive2DSequence getPrimitive2DSequenceHierarchy(DisplayInfo& rDisplayInfo) const;
174 } // end of namespace contact
175 } // end of namespace sdr
177 //////////////////////////////////////////////////////////////////////////////
179 namespace sdr
181 namespace contact
183 class SVX_DLLPUBLIC ViewObjectContactOfPageGrid : public ViewObjectContactOfPageSubObject
185 protected:
186 virtual drawinglayer::primitive2d::Primitive2DSequence createPrimitive2DSequence(const DisplayInfo& rDisplayInfo) const;
188 public:
189 ViewObjectContactOfPageGrid(ObjectContact& rObjectContact, ViewContact& rViewContact);
190 virtual ~ViewObjectContactOfPageGrid();
192 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const;
194 } // end of namespace contact
195 } // end of namespace sdr
197 //////////////////////////////////////////////////////////////////////////////
199 namespace sdr
201 namespace contact
203 class SVX_DLLPUBLIC ViewObjectContactOfPageHelplines : public ViewObjectContactOfPageSubObject
205 protected:
206 virtual drawinglayer::primitive2d::Primitive2DSequence createPrimitive2DSequence(const DisplayInfo& rDisplayInfo) const;
208 public:
209 ViewObjectContactOfPageHelplines(ObjectContact& rObjectContact, ViewContact& rViewContact);
210 virtual ~ViewObjectContactOfPageHelplines();
212 virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const;
214 } // end of namespace contact
215 } // end of namespace sdr
217 //////////////////////////////////////////////////////////////////////////////
219 namespace sdr
221 namespace contact
223 class SVX_DLLPUBLIC ViewObjectContactOfSdrPage : public ViewObjectContact
225 public:
226 ViewObjectContactOfSdrPage(ObjectContact& rObjectContact, ViewContact& rViewContact);
227 virtual ~ViewObjectContactOfSdrPage();
229 virtual drawinglayer::primitive2d::Primitive2DSequence getPrimitive2DSequenceHierarchy(DisplayInfo& rDisplayInfo) const;
231 } // end of namespace contact
232 } // end of namespace sdr
234 //////////////////////////////////////////////////////////////////////////////
236 #endif //_SDR_CONTACT_VIEWOBJECTCONTACTOFSDRPAGE_HXX
238 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */