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
16class SdrObject;
17class SfxBroadcaster;
20
21// Bitsack for DrawObjects
22class 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; // gluepoints for glueing object connectors
29
30 // #i68101#
31 // object name, title and description
32 OUString aObjName;
33 OUString aObjTitle;
35 bool isDecorative = false;
36
37public:
40 SdrObjPlusData* Clone(SdrObject* pObj1) const;
41
42 void SetGluePoints(const SdrGluePointList& rPts);
43};
44
45#endif
46
47/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SdrObjPlusData * Clone(SdrObject *pObj1) const
std::unique_ptr< SdrGluePointList > pGluePoints
void SetGluePoints(const SdrGluePointList &rPts)
std::unique_ptr< SfxBroadcaster > pBroadcast
std::unique_ptr< SdrObjUserDataList > pUserDataList
OUString aObjDescription
Abstract DrawObject.
Definition: svdobj.hxx:260