LibreOffice Module svx (master)  1
svdobjplusdata.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 
10 #ifndef INCLUDED_SVX_SVDOBJPLUSDATA_HXX
11 #define INCLUDED_SVX_SVDOBJPLUSDATA_HXX
12 
13 #include <rtl/ustring.hxx>
14 #include <memory>
15 
16 class SdrObject;
17 class SfxBroadcaster;
18 class SdrObjUserDataList;
19 class SdrGluePointList;
20 
21 // Bitsack for DrawObjects
22 class SdrObjPlusData final
23 {
24  friend class SdrObject;
25 
26  std::unique_ptr<SfxBroadcaster> pBroadcast; // broadcaster, if this object is referenced (bVirtObj=true). Also for connectors etc.
27  std::unique_ptr<SdrObjUserDataList> pUserDataList; // application specific data
28  std::unique_ptr<SdrGluePointList> pGluePoints; // glue points for glueing object connectors
29 
30  // #i68101#
31  // object name, title and description
32  OUString aObjName;
33  OUString aObjTitle;
34  OUString aObjDescription;
35 
36 public:
39  SdrObjPlusData* Clone(SdrObject* pObj1) const;
40 
41  void SetGluePoints(const SdrGluePointList& rPts);
42 };
43 
44 #endif
45 
46 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
OUString aObjDescription
SdrObjPlusData * Clone(SdrObject *pObj1) const
std::unique_ptr< SfxBroadcaster > pBroadcast
std::unique_ptr< SdrObjUserDataList > pUserDataList
Abstract DrawObject.
Definition: svdobj.hxx:312
void SetGluePoints(const SdrGluePointList &rPts)
std::unique_ptr< SdrGluePointList > pGluePoints