tdf#130857 qt weld: Implement QtInstanceWidget::get_text_height
[LibreOffice.git] / svx / source / inc / svdobjplusdata.hxx
blobef2bc2abd027ba9a3b4f439d7e27d56ef82929e8
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; // gluepoints for glueing object connectors
30 // #i68101#
31 // object name, title and description
32 OUString aObjName;
33 OUString aObjTitle;
34 OUString aObjDescription;
35 bool isDecorative = false;
37 public:
38 SdrObjPlusData();
39 ~SdrObjPlusData();
40 SdrObjPlusData* Clone(SdrObject* pObj1) const;
42 void SetGluePoints(const SdrGluePointList& rPts);
45 #endif
47 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */