LibreOffice Module svx (master)  1
viewcontactofmasterpagedescriptor.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
19 
20 #ifndef INCLUDED_SVX_INC_SDR_CONTACT_VIEWCONTACTOFMASTERPAGEDESCRIPTOR_HXX
21 #define INCLUDED_SVX_INC_SDR_CONTACT_VIEWCONTACTOFMASTERPAGEDESCRIPTOR_HXX
22 
23 #include <sal/types.h>
26 
27 class SfxItemSet;
28 class Bitmap;
29 class MapMode;
30 
31 namespace sdr::contact
32  {
34  {
35  // the owner of this ViewContact. Set from constructor and not
36  // to be changed in any way.
38 
39  // Create an Object-Specific ViewObjectContact
41 
42  // This method is responsible for creating the graphical visualisation data
44 
45  public:
46  // basic constructor
48 
49  // The destructor.
50  virtual ~ViewContactOfMasterPageDescriptor() override;
51 
52  // access to MasterPageDescriptor
54  {
56  }
57 
58  // Access to possible sub-hierarchy and parent
59  virtual sal_uInt32 GetObjectCount() const override;
60  virtual ViewContact& GetViewContact(sal_uInt32 nIndex) const override;
61  virtual ViewContact* GetParentContact() const override;
62  };
63 
64 } // end of namespace sdr::contact
65 
66 #endif // INCLUDED_SVX_INC_SDR_CONTACT_VIEWCONTACTOFMASTERPAGEDESCRIPTOR_HXX
67 
68 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual ViewContact & GetViewContact(sal_uInt32 nIndex) const override
virtual ViewObjectContact & CreateObjectSpecificViewObjectContact(ObjectContact &rObjectContact) override
virtual drawinglayer::primitive2d::Primitive2DContainer createViewIndependentPrimitive2DSequence() const override
ViewContactOfMasterPageDescriptor(sdr::MasterPageDescriptor &rDescriptor)