20#ifndef INCLUDED_SVX_SVDMARK_HXX
21#define INCLUDED_SVX_SVDMARK_HXX
23#include <config_options.h>
25#include <rtl/ustring.hxx>
77 mpPageView = pNewPageView;
138 std::vector<std::unique_ptr<SdrMark>>
maList;
150 SVX_DLLPRIVATE const OUString& GetPointMarkDescription(
bool bGlue)
const;
154 : mbPointNameOk(false),
155 mbGluePointNameOk(false),
172 void ForceSort()
const;
180 return maList.size();
183 SdrMark* GetMark(
size_t nNum)
const;
185 size_t FindObject(
const SdrObject* pObj)
const;
186 void InsertEntry(
const SdrMark& rMark,
bool bChkSort =
true);
187 void DeleteMark(
size_t nNum);
188 void ReplaceMark(
const SdrMark& rNewMark,
size_t nNum);
196 mbPointNameOk =
false;
197 mbGluePointNameOk =
false;
202 const OUString& GetMarkDescription()
const;
205 return GetPointMarkDescription(
false);
210 return GetPointMarkDescription(
true);
226 class UNLESS_MERGELIBS(SVXCORE_DLLPUBLIC) ViewSelection
231 std::vector<SdrObject*> maAllMarkedObjects;
233 bool mbEdgesOfMarkedNodesDirty : 1;
241 void SetEdgesOfMarkedNodesDirty();
245 return maMarkedObjectList;
249 const SdrMarkList& GetMarkedEdgesOfMarkedNodes()
const;
250 const std::vector<SdrObject*>& GetAllMarkedObjects()
const;
254 return maMarkedObjectList;
temporaryPointVector maPoints
const OUString & GetGluePointMarkDescription() const
size_t GetMarkCount() const
std::vector< std::unique_ptr< SdrMark > > maList
SdrMarkList(const SdrMarkList &rLst)
const OUString & GetPointMarkDescription() const
Everything a View needs to know about a selected object.
void SetUser(sal_uInt16 nVal)
SdrPageView * GetPageView() const
SdrUShortCont & GetMarkedGluePoints()
sal_uInt16 GetUser() const
SdrObject * GetMarkedSdrObj() const
void SetPageView(SdrPageView *pNewPageView)
SdrUShortCont & GetMarkedPoints()
sal_Int64 getTimeStamp() const
SdrObject * mpSelectedSdrObject
SdrUShortCont maGluePoints
const SdrUShortCont & GetMarkedGluePoints() const
const SdrUShortCont & GetMarkedPoints() const
A SdrPage contains exactly one SdrObjList and a description of the physical page dimensions (size / m...
virtual void ObjectInDestruction(const SdrObject &rObject)=0
void Clear(EHistoryType eHistory)
o3tl::sorted_vector< sal_uInt16 > SdrUShortCont
#define SVXCORE_DLLPUBLIC