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 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: svdedtv1.cxx,v $ * $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 * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -109,6 +109,15 @@ ...@@ -109,6 +109,15 @@
#include <svtools/whiter.hxx> #include <svtools/whiter.hxx>
#endif #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) ...@@ -816,6 +825,9 @@ void SdrEditView::SetAttrToMarked(const SfxItemSet& rAttr, BOOL bReplaceAll)
SfxItemSet aAttr(*rAttr.GetPool(), rAttr.GetRanges()); SfxItemSet aAttr(*rAttr.GetPool(), rAttr.GetRanges());
aAttr.Put(rAttr, TRUE); aAttr.Put(rAttr, TRUE);
// #i38135#
bool bResetAnimationTimer(false);
for (ULONG nm=0; nm<nMarkAnz; nm++) for (ULONG nm=0; nm<nMarkAnz; nm++)
{ {
SdrMark* pM=GetSdrMarkByIndex(nm); SdrMark* pM=GetSdrMarkByIndex(nm);
...@@ -842,23 +854,40 @@ void SdrEditView::SetAttrToMarked(const SfxItemSet& rAttr, BOOL bReplaceAll) ...@@ -842,23 +854,40 @@ void SdrEditView::SetAttrToMarked(const SfxItemSet& rAttr, BOOL bReplaceAll)
//pObj->SetItemSetAndBroadcast(aAttr, bReplaceAll); //pObj->SetItemSetAndBroadcast(aAttr, bReplaceAll);
pObj->SetMergedItemSetAndBroadcast(aAttr, bReplaceAll); pObj->SetMergedItemSetAndBroadcast(aAttr, bReplaceAll);
if( (0 != aCharWhichIds.size() ) && pObj->ISA(SdrTextObj) ) if(pObj->ISA(SdrTextObj))
{ {
SdrTextObj* pTextObj = ((SdrTextObj*)pObj); SdrTextObj* pTextObj = ((SdrTextObj*)pObj);
Rectangle aOldBoundRect = pTextObj->GetLastBoundRect();
// #110094#-14 pTextObj->SendRepaintBroadcast(pTextObj->GetBoundRect()); if(0 != aCharWhichIds.size())
pTextObj->RemoveOutlinerCharacterAttribs( aCharWhichIds ); {
Rectangle aOldBoundRect = pTextObj->GetLastBoundRect();
// #110094#-14 pTextObj->SendRepaintBroadcast(pTextObj->GetBoundRect());
pTextObj->RemoveOutlinerCharacterAttribs( aCharWhichIds );
// object has changed, should be called form // object has changed, should be called form
// RemoveOutlinerCharacterAttribs. This will change when the text // RemoveOutlinerCharacterAttribs. This will change when the text
// object implementation changes. // object implementation changes.
pTextObj->SetChanged(); pTextObj->SetChanged();
pTextObj->BroadcastObjectChange(); pTextObj->BroadcastObjectChange();
pTextObj->SendUserCall(SDRUSERCALL_CHGATTR, aOldBoundRect); 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: // besser vorher checken, was gemacht werden soll:
// pObj->SetAttr() oder SetNotPersistAttr() // pObj->SetAttr() oder SetNotPersistAttr()
// !!! fehlende Implementation !!! // !!! 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