Kaydet (Commit) f854a9ec authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS aw023 (1.18.224); FILE MERGED

2005/01/18 21:16:15 aw 1.18.224.2: #i38495#
2004/12/16 11:40:33 aw 1.18.224.1: #i38135#
üst edd8f0b8
......@@ -2,9 +2,9 @@
*
* $RCSfile: svdedtv1.cxx,v $
*
* $Revision: 1.18 $
* $Revision: 1.19 $
*
* last change: $Author: kz $ $Date: 2004-08-31 14:54:38 $
* last change: $Author: rt $ $Date: 2005-01-28 16:31:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -109,6 +109,15 @@
#include <svtools/whiter.hxx>
#endif
#ifndef _SDR_CONTACT_OBJECTCONTACT_HXX
#include <svx/sdr/contact/objectcontact.hxx>
#endif
// #i38495#
#ifndef _SDR_CONTACT_VIEWCONTACT_HXX
#include <svx/sdr/contact/viewcontact.hxx>
#endif
////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////
......@@ -816,6 +825,9 @@ void SdrEditView::SetAttrToMarked(const SfxItemSet& rAttr, BOOL bReplaceAll)
SfxItemSet aAttr(*rAttr.GetPool(), rAttr.GetRanges());
aAttr.Put(rAttr, TRUE);
// #i38135#
bool bResetAnimationTimer(false);
for (ULONG nm=0; nm<nMarkAnz; nm++)
{
SdrMark* pM=GetSdrMarkByIndex(nm);
......@@ -842,9 +854,12 @@ void SdrEditView::SetAttrToMarked(const SfxItemSet& rAttr, BOOL bReplaceAll)
//pObj->SetItemSetAndBroadcast(aAttr, bReplaceAll);
pObj->SetMergedItemSetAndBroadcast(aAttr, bReplaceAll);
if( (0 != aCharWhichIds.size() ) && pObj->ISA(SdrTextObj) )
if(pObj->ISA(SdrTextObj))
{
SdrTextObj* pTextObj = ((SdrTextObj*)pObj);
if(0 != aCharWhichIds.size())
{
Rectangle aOldBoundRect = pTextObj->GetLastBoundRect();
// #110094#-14 pTextObj->SendRepaintBroadcast(pTextObj->GetBoundRect());
......@@ -859,6 +874,20 @@ void SdrEditView::SetAttrToMarked(const SfxItemSet& rAttr, BOOL bReplaceAll)
pTextObj->SendUserCall(SDRUSERCALL_CHGATTR, aOldBoundRect);
}
}
// #i38495#
if(!bResetAnimationTimer && pObj->GetViewContact().SupportsAnimation())
{
bResetAnimationTimer = true;
}
}
// #i38135#
if(bResetAnimationTimer)
{
SetAnimationTimer(0L);
}
// besser vorher checken, was gemacht werden soll:
// pObj->SetAttr() oder SetNotPersistAttr()
// !!! fehlende Implementation !!!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment