summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-01-31 16:03:16 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2012-01-31 21:38:58 -0500
commit90413af046d22d1ea7376da4856846744049d613 (patch)
tree8c908a6cde7f301c3b5f532b4d3b4d958a71bf10 /svx/source
parent960b61a1bce06f3a3bb59caa5e5757732cc1b9e8 (diff)
More implicit inline methods to non-inline.
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/svdraw/svdobj.cxx177
1 files changed, 177 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index 2b36cc7a722b..568b88df2923 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -568,11 +568,21 @@ void SdrObject::SetModel(SdrModel* pNewModel)
pModel = pNewModel;
}
+SdrModel* SdrObject::GetModel() const
+{
+ return pModel;
+}
+
void SdrObject::SetObjList(SdrObjList* pNewObjList)
{
pObjList=pNewObjList;
}
+SdrObjList* SdrObject::GetObjList() const
+{
+ return pObjList;
+}
+
void SdrObject::SetPage(SdrPage* pNewPage)
{
pPage=pNewPage;
@@ -583,6 +593,11 @@ void SdrObject::SetPage(SdrPage* pNewPage)
}}
}
+SdrPage* SdrObject::GetPage() const
+{
+ return pPage;
+}
+
// init global static itempool
SdrItemPool* SdrObject::mpGlobalItemPool = NULL;
@@ -684,6 +699,11 @@ void SdrObject::RemoveListener(SfxListener& rListener)
}
}
+const SfxBroadcaster* SdrObject::GetBroadcaster() const
+{
+ return pPlusData!=NULL ? pPlusData->pBroadcast : NULL;
+}
+
void SdrObject::AddReference(SdrVirtObj& rVrtObj)
{
AddListener(rVrtObj);
@@ -708,6 +728,11 @@ void SdrObject::SetRefPoint(const Point& /*rPnt*/)
{
}
+bool SdrObject::IsGroupObject() const
+{
+ return GetSubList()!=NULL;
+}
+
SdrObjList* SdrObject::GetSubList() const
{
return NULL;
@@ -860,6 +885,16 @@ sal_uInt32 SdrObject::GetOrdNum() const
return nOrdNum;
}
+sal_uInt32 SdrObject::GetOrdNumDirect() const
+{
+ return nOrdNum;
+}
+
+void SdrObject::SetOrdNum(sal_uInt32 nNum)
+{
+ nOrdNum = nNum;
+}
+
sal_uInt32 SdrObject::GetNavigationPosition (void)
{
if (pObjList!=NULL && pObjList->RecalcNavigationPositions())
@@ -1597,6 +1632,11 @@ Point SdrObject::GetRelativePos() const
return GetSnapRect().TopLeft()-aAnchor;
}
+void SdrObject::ImpSetAnchorPos(const Point& rPnt)
+{
+ aAnchor = rPnt;
+}
+
void SdrObject::NbcSetAnchorPos(const Point& rPnt)
{
Size aSiz(rPnt.X()-aAnchor.X(),rPnt.Y()-aAnchor.Y());
@@ -1859,6 +1899,11 @@ rtl::OUString SdrObject::GetMacroPopupComment(const SdrObjMacroHitRec& rRec) con
return rtl::OUString();
}
+bool SdrObject::IsMacroHit(const SdrObjMacroHitRec& rRec) const
+{
+ return CheckMacroHit(rRec) != NULL;
+}
+
////////////////////////////////////////////////////////////////////////////////////////////////////
SdrObjGeoData* SdrObject::NewGeoData() const
@@ -2525,6 +2570,128 @@ SdrObject* SdrObject::ImpConvertToContourObj(SdrObject* pRet, bool bForceLineDas
return pRet;
}
+bool SdrObject::IsVirtualObj() const
+{
+ return bVirtObj;
+}
+
+bool SdrObject::IsClosedObj() const
+{
+ return bClosedObj;
+}
+
+bool SdrObject::IsEdgeObj() const
+{
+ return bIsEdge;
+}
+
+bool SdrObject::Is3DObj() const
+{
+ return bIs3DObj;
+}
+
+bool SdrObject::IsUnoObj() const
+{
+ return bIsUnoObj;
+}
+
+bool SdrObject::IsMasterCachable() const
+{
+ return !bNotMasterCachable;
+}
+
+bool SdrObject::ShareLock()
+{
+ bool r = !bNetLock;
+ bNetLock = true;
+ return r;
+}
+
+void SdrObject::ShareUnlock()
+{
+ bNetLock = false;
+}
+
+bool SdrObject::IsShareLock() const
+{
+ return bNetLock;
+}
+
+void SdrObject::SetMarkProtect(bool bProt)
+{
+ bMarkProt = bProt;
+}
+
+bool SdrObject::IsMarkProtect() const
+{
+ return bMarkProt;
+}
+
+bool SdrObject::IsInserted() const
+{
+ return bInserted;
+}
+
+void SdrObject::SetGrouped(bool bGrp)
+{
+ bGrouped = bGrp;
+}
+
+bool SdrObject::IsGrouped() const
+{
+ return bGrouped;
+}
+
+bool SdrObject::IsMoveProtect() const
+{
+ return bMovProt;
+}
+
+bool SdrObject::IsResizeProtect() const
+{
+ return bSizProt;
+}
+
+bool SdrObject::IsPrintable() const
+{
+ return !bNoPrint;
+}
+
+bool SdrObject::IsVisible() const
+{
+ return mbVisible;
+}
+
+void SdrObject::SetEmptyPresObj(bool bEpt)
+{
+ bEmptyPresObj = bEpt;
+}
+
+bool SdrObject::IsEmptyPresObj() const
+{
+ return bEmptyPresObj;
+}
+
+void SdrObject::SetNotVisibleAsMaster(bool bFlg)
+{
+ bNotVisibleAsMaster=bFlg;
+}
+
+bool SdrObject::IsNotVisibleAsMaster() const
+{
+ return bNotVisibleAsMaster;
+}
+
+bool SdrObject::LineIsOutsideGeometry() const
+{
+ return mbLineIsOutsideGeometry;
+}
+
+bool SdrObject::DoesSupportTextIndentingOnLineWidthChange() const
+{
+ return mbSupportTextIndentingOnLineWidthChange;
+}
+
// convert this path object to contour object, even when it is a group
SdrObject* SdrObject::ConvertToContourObj(SdrObject* pRet, bool bForceLineDash) const
{
@@ -2710,6 +2877,16 @@ void SdrObject::DeleteUserData(sal_uInt16 nNum)
}
}
+void SdrObject::SetUserCall(SdrObjUserCall* pUser)
+{
+ pUserCall = pUser;
+}
+
+SdrObjUserCall* SdrObject::GetUserCall() const
+{
+ return pUserCall;
+}
+
void SdrObject::SendUserCall(SdrUserCallType eUserCall, const Rectangle& rBoundRect) const
{
SdrObjGroup* pGroup = NULL;