Bump version to 6.4-15
[LibreOffice.git] / svx / source / inc / svdobjplusdata.hxx
blobc5d0596bab29e4138351cb98ef42c418fc3af6c0
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/.
8 */
10 #ifndef INCLUDED_SVX_SVDOBJPLUSDATA_HXX
11 #define INCLUDED_SVX_SVDOBJPLUSDATA_HXX
13 #include <rtl/ustring.hxx>
14 #include <memory>
16 class SdrObject;
17 class SfxBroadcaster;
18 class SdrObjUserDataList;
19 class SdrGluePointList;
21 // Bitsack for DrawObjects
22 class SdrObjPlusData final
24 friend class SdrObject;
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
30 // #i68101#
31 // object name, title and description
32 OUString aObjName;
33 OUString aObjTitle;
34 OUString aObjDescription;
36 public:
37 SdrObjPlusData();
38 ~SdrObjPlusData();
39 SdrObjPlusData* Clone(SdrObject* pObj1) const;
41 void SetGluePoints(const SdrGluePointList& rPts);
44 #endif
46 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */