LibreOffice Module sw (master) 1
|
ContactObject for connection of formats as representatives of draw objects in SwClient and the objects themselves in Drawing (SDrObjUserCall). More...
#include <dcontact.hxx>
Public Member Functions | |
SwDrawContact (SwFrameFormat *pToRegisterIn, SdrObject *pObj) | |
virtual | ~SwDrawContact () override |
virtual const SwAnchoredObject * | GetAnchoredObj (const SdrObject *_pSdrObj) const override |
virtual SwAnchoredObject * | GetAnchoredObj (SdrObject *_pSdrObj) override |
virtual const SdrObject * | GetMaster () const override |
virtual SdrObject * | GetMaster () override |
const SwFrame * | GetAnchorFrame (const SdrObject *_pDrawObj=nullptr) const |
SwFrame * | GetAnchorFrame (SdrObject const *_pDrawObj=nullptr) |
const SwPageFrame * | GetPageFrame () const |
SwPageFrame * | GetPageFrame () |
void | ChkPage () |
SwPageFrame * | FindPage (const SwRect &rRect) |
void | ConnectToLayout (const SwFormatAnchor *pAnch=nullptr) |
Inserts SdrObject in the arrays of the layout ((SwPageFrame and SwFrame). More... | |
void | InsertMasterIntoDrawPage () |
method to insert 'master' drawing object into drawing page More... | |
void | DisconnectFromLayout (bool _bMoveMasterToInvisibleLayer=true) |
void | DisconnectObjFromLayout (SdrObject *_pDrawObj) |
disconnect for a dedicated drawing object - could be 'master' or 'virtual'. More... | |
void | RemoveMasterFromDrawPage () |
method to remove 'master' drawing object from drawing page. More... | |
void | RemoveAllVirtObjs () |
remove 'virtual' drawing objects and destroy them. More... | |
SdrObject * | GetDrawObjectByAnchorFrame (const SwFrame &_rAnchorFrame) |
get drawing object ('master' or 'virtual') by frame. More... | |
virtual void | Changed (const SdrObject &rObj, SdrUserCallType eType, const tools::Rectangle &rOldBoundRect) override |
Virtual methods of SdrObjUserCall. More... | |
virtual void const * | GetPDFAnchorStructureElementKey (SdrObject const &rObj) override |
void | Changed_ (const SdrObject &rObj, SdrUserCallType eType, const tools::Rectangle *pOldBoundRect) |
Used by Changed() and by UndoDraw. More... | |
void | ChangeMasterObject (SdrObject *pNewMaster) |
Moves all SW-connections to new Master) More... | |
SwDrawVirtObj * | AddVirtObj (SwFrame const &rAnchorFrame) |
add a 'virtual' drawing object to drawing page. More... | |
void | NotifyBackgroundOfAllVirtObjs (const tools::Rectangle *pOldBoundRect) |
virtual void | GetAnchoredObjs (std::vector< SwAnchoredObject * > &_roAnchoredObjs) const override |
get data collection of anchored objects, handled by with contact More... | |
Public Member Functions inherited from SwContact | |
SwContact (SwFrameFormat *pToRegisterIn) | |
For reader. Only the connection is created. More... | |
virtual | ~SwContact () override |
virtual const SwAnchoredObject * | GetAnchoredObj (const SdrObject *_pSdrObj) const =0 |
virtual SwAnchoredObject * | GetAnchoredObj (SdrObject *_pSdrObj)=0 |
virtual const SdrObject * | GetMaster () const =0 |
virtual SdrObject * | GetMaster ()=0 |
SwFrameFormat * | GetFormat () |
const SwFrameFormat * | GetFormat () const |
bool | IsInDTOR () const |
virtual void | MoveObjToVisibleLayer (SdrObject *_pDrawObj) |
method to move drawing object to corresponding visible layer More... | |
virtual void | MoveObjToInvisibleLayer (SdrObject *_pDrawObj) |
method to move drawing object to corresponding invisible layer More... | |
const SwFormatAnchor & | GetAnchorFormat () const |
some virtual helper methods for information about the object (Writer fly frame resp. More... | |
RndStdIds | GetAnchorId () const |
bool | ObjAnchoredAtPage () const |
bool | ObjAnchoredAtFly () const |
bool | ObjAnchoredAtPara () const |
bool | ObjAnchoredAtChar () const |
bool | ObjAnchoredAsChar () const |
const SwNode & | GetAnchorNode () const |
virtual void | GetAnchoredObjs (std::vector< SwAnchoredObject * > &_roAnchoredObjs) const =0 |
get data collection of anchored objects, handled by with contact More... | |
sal_uInt32 | GetMinOrdNum () const |
get minimum order number of anchored objects handled by with contact More... | |
sal_uInt32 | GetMaxOrdNum () const |
get maximum order number of anchored objects handled by with contact More... | |
Public Member Functions inherited from SdrObjUserCall | |
virtual | ~SdrObjUserCall () |
virtual void | Changed (const SdrObject &rObj, SdrUserCallType eType, const tools::Rectangle &rOldBoundRect) |
virtual void const * | GetPDFAnchorStructureElementKey (SdrObject const &rObj) |
Public Member Functions inherited from SwClient | |
SwClient () | |
SwClient (SwClient &&) noexcept | |
virtual | ~SwClient () override |
std::optional< sw::ModifyChangedHint > | CheckRegistration (const SfxPoolItem *pOldValue) |
void | CheckRegistrationFormat (SwFormat &rOld) |
const SwModify * | GetRegisteredIn () const |
SwModify * | GetRegisteredIn () |
void | EndListeningAll () |
void | StartListeningToSameModifyAs (const SwClient &) |
virtual bool | GetInfo (SfxPoolItem &) const |
Public Member Functions inherited from sw::WriterListener | |
bool | IsLast () const |
virtual const SwCellFrame * | DynCastCellFrame () const |
virtual const SwTabFrame * | DynCastTabFrame () const |
virtual const SwRowFrame * | DynCastRowFrame () const |
virtual const SwTable * | DynCastTable () const |
Static Public Member Functions | |
static void | GetTextObjectsFromFormat (std::list< SdrTextObj * > &, SwDoc &) |
get data collection of anchored objects, handled by with contact More... | |
Private Member Functions | |
void | InvalidateObjs_ (const bool _bUpdateSortedObjsList=false) |
SwDrawContact (const SwDrawContact &)=delete | |
SwDrawContact & | operator= (const SwDrawContact &)=delete |
virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint) override |
Private Attributes | |
SwAnchoredDrawObject | maAnchoredDrawObj |
anchored drawing object instance for the 'master' drawing object More... | |
std::vector< rtl::Reference< SwDrawVirtObj > > | maDrawVirtObjs |
container for 'virtual' drawing object supporting drawing objects in headers/footers. More... | |
bool | mbMasterObjCleared: 1 |
boolean indicating set 'master' drawing object has been cleared. More... | |
bool | mbDisconnectInProgress: 1 |
internal flag to indicate that disconnect from layout is in progress More... | |
bool | mbUserCallActive: 1 |
Needed data for handling of nested <SdrObjUserCall> events in method <Changed_(..)> More... | |
SdrUserCallType | meEventTypeOfCurrentUserCall |
event type, which is handled for <mpSdrObjHandledByCurrentUserCall>. More... | |
Friends | |
class | NestedUserCallHdl |
Additional Inherited Members | |
Protected Member Functions inherited from SwContact | |
void | SetInDTOR () |
virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint) override |
Protected Member Functions inherited from SwClient | |
SwClient (SwModify *pToRegisterIn) | |
SwModify * | GetRegisteredInNonConst () const |
virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint) override |
Protected Member Functions inherited from sw::WriterListener | |
WriterListener () | |
virtual | ~WriterListener () COVERITY_NOEXCEPT_FALSE |
virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint)=0 |
ContactObject for connection of formats as representatives of draw objects in SwClient and the objects themselves in Drawing (SDrObjUserCall).
Definition at line 304 of file dcontact.hxx.
|
privatedelete |
Referenced by SwClientNotify().
SwDrawContact::SwDrawContact | ( | SwFrameFormat * | pToRegisterIn, |
SdrObject * | pObj | ||
) |
Definition at line 702 of file dcontact.cxx.
References SwXShape::AddExistingShapeToFormat(), CheckControlLayer(), IDocumentDrawModelAccess::GetDrawModel(), SwFormat::getIDocumentDrawModelAccess(), IDocumentDrawModelAccess::GetInvisibleControlsId(), SdrObject::GetOrdNumDirect(), SdrModel::GetPage(), SdrObject::IsInserted(), maAnchoredDrawObj, MoveOnly, SwAnchoredObject::SetDrawObj(), SdrObject::SetLayer(), and SdrObject::SetUserCall().
|
overridevirtual |
Definition at line 736 of file dcontact.cxx.
References SwAnchoredObject::ClearDrawObj(), DisconnectFromLayout(), maAnchoredDrawObj, mbMasterObjCleared, RemoveAllVirtObjs(), RemoveMasterFromDrawPage(), and SwContact::SetInDTOR().
SwDrawVirtObj * SwDrawContact::AddVirtObj | ( | SwFrame const & | rAnchorFrame | ) |
add a 'virtual' drawing object to drawing page.
Definition at line 830 of file dcontact.cxx.
References GetMaster(), and maDrawVirtObjs.
Referenced by ConnectToLayout().
|
overridevirtual |
Virtual methods of SdrObjUserCall.
Reimplemented from SdrObjUserCall.
Definition at line 967 of file dcontact.cxx.
References SdrObjUserCall::Changed(), Changed_(), SwRootFrame::EndAllAction(), eType, IDocumentLayoutAccess::GetCurrentLayout(), IDocumentLayoutAccess::GetCurrentViewShell(), SwFormat::GetDoc(), SwContact::GetFormat(), SwDoc::getIDocumentLayoutAccess(), sw::Ring< value_type >::GetRingContainer(), SwRootFrame::IsCallbackActionEnabled(), SwViewShell::IsInConstructor(), SwDoc::IsInDtor(), and SwRootFrame::StartAllAction().
Referenced by SwDoc::DeleteSelection(), SwDoc::GroupSelection(), SwUndoDrawGroup::RedoImpl(), SwUndoDrawDelete::RedoImpl(), SwClientNotify(), SwUndoDrawUnGroup::SwUndoDrawUnGroup(), and SwUndoDrawUnGroupConnectToLayout::UndoImpl().
void SwDrawContact::Changed_ | ( | const SdrObject & | rObj, |
SdrUserCallType | eType, | ||
const tools::Rectangle * | pOldBoundRect | ||
) |
Used by Changed() and by UndoDraw.
Notifies paragraphs that have to get out of the way.
Definition at line 1102 of file dcontact.cxx.
References NestedUserCallHdl::AssertNestedUserCall(), SwTextBoxHelper::changeAnchor(), CheckControlLayer(), ConnectToLayout(), DisconnectFromLayout(), NestedUserCallHdl::DrawContactDeleted(), SwAnchoredObject::DrawObj(), eType, SwFrameFormat::FindRealSdrObject(), FlyFrameAttributesChanged, GetAnchoredObj(), SwDoc::GetAttrPool(), IDocumentDrawModelAccess::GetControlsId(), SwFormat::GetDoc(), SwContact::GetFormat(), SwAnchoredDrawObject::GetFrameFormat(), SwFormat::GetHoriOrient(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), IDocumentDrawModelAccess::GetInvisibleControlsId(), IDocumentDrawModelAccess::GetInvisibleHeavenId(), IDocumentDrawModelAccess::GetInvisibleHellId(), SwAnchoredDrawObject::GetLastObjRect(), SdrObject::GetLayer(), SwFrameFormat::GetLayoutDir(), SwAnchoredObject::GetPageFrame(), SdrObject::getParentSdrObjectFromSdrObject(), SwPageFrame::GetPhyPageNum(), SwFormatVertOrient::GetPos(), SwFormatHoriOrient::GetPos(), SwClient::GetRegisteredInNonConst(), SwFormatVertOrient::GetRelationOrient(), SwFormatHoriOrient::GetRelationOrient(), SwAnchoredObject::GetRelPosToPageFrame(), tools::Rectangle::GetSize(), SdrObject::GetSnapRect(), SwFormatSurround::GetSurround(), SwFormat::GetSurround(), SwFormat::GetVertOrient(), Point::getY(), SwFrameFormat::HORI_L2R, SwFrameFormat::HORI_R2L, SwAnchoredObject::InvalidateObjRectWithSpaces(), InvalidateObjs_(), IDocumentState::IsEnableSetModified(), SwFrameAreaDefinition::isFrameAreaPositionValid(), SwDoc::IsInDtor(), NestedUserCallHdl::IsNestedUserCall(), SwAnchoredObject::IsPositioningInProgress(), lcl_NotifyBackgroundOfObj(), lcl_textBoxSizeNotify(), tools::Rectangle::Left(), maAnchoredDrawObj, mbDisconnectInProgress, mbMasterObjCleared, SwPostItHelper::NONE, NotifyBackgroundOfAllVirtObjs(), SwAnchoredDrawObject::NotYetPositioned(), SwContact::ObjAnchoredAsChar(), SwFrame::Prepare(), SfxItemSet::Put(), RES_FRM_SIZE(), tools::Rectangle::Right(), IDocumentState::SetEnableSetModified(), SwDoc::SetFlyFrameAttr(), SdrObject::SetLayer(), SwTextBoxHelper::syncFlyFrameAttr(), SwTextBoxHelper::synchronizeGroupTextBoxProperty(), SwTextBoxHelper::syncTextBoxSize(), tools::Rectangle::Top(), and SwFrameFormat::VERT_R2L.
Referenced by Changed(), and SwUndoDrawDelete::UndoImpl().
void SwDrawContact::ChangeMasterObject | ( | SdrObject * | pNewMaster | ) |
Moves all SW-connections to new Master)
Definition at line 2087 of file dcontact.cxx.
References DisconnectFromLayout(), GetMaster(), InvalidateObjs_(), maAnchoredDrawObj, mbMasterObjCleared, RemoveAllVirtObjs(), SwAnchoredObject::SetDrawObj(), and SdrObject::SetUserCall().
void SwDrawContact::ChkPage | ( | ) |
Definition at line 2049 of file dcontact.cxx.
References ConnectToLayout(), SwFrame::FindFooterOrHeader(), SwAnchoredObject::FindPageFrameOfAnchor(), SwAnchoredObject::GetAnchorFrame(), GetPageFrame(), SwFrame::IsPageFrame(), maAnchoredDrawObj, mbDisconnectInProgress, SwAnchoredDrawObject::RegisterAtPage(), and SwAnchoredObject::SetPageFrame().
Referenced by SwAnchoredDrawObject::MakeObjPos().
void SwDrawContact::ConnectToLayout | ( | const SwFormatAnchor * | pAnch = nullptr | ) |
Inserts SdrObject in the arrays of the layout ((SwPageFrame and SwFrame).
The anchor is determined according to the attribute SwFormatAnchor. If required the object gets unregistered with the old anchor.
Definition at line 1796 of file dcontact.cxx.
References SdrObject::ActionChanged(), AddVirtObj(), SwDrawVirtObj::AnchoredObj(), SwFrame::AppendDrawObj(), CheckControlLayer(), ClrContourCache(), DisconnectFromLayout(), SwAnchoredObject::DrawObj(), SwIterator< TElementType, TSource, eMode >::First(), SwFormat::GetAnchor(), GetAnchorFrame(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwFormatAnchor::GetContentAnchor(), SwNode::GetContentNode(), IDocumentLayoutAccess::GetCurrentViewShell(), SwFormat::GetDoc(), SwAnchoredObject::GetDrawObj(), SwContact::GetFormat(), SwAnchoredObject::GetFrameFormat(), SwFormat::getIDocumentLayoutAccess(), SwViewShell::GetLayout(), GetMaster(), SwFrame::GetNext(), SwDoc::GetNodes(), SdrObject::GetOrdNum(), SdrObject::GetOrdNumDirect(), SwTextBoxHelper::getOtherTextBoxFormat(), SwFormatAnchor::GetPageNum(), SwClient::GetRegisteredIn(), SdrObject::getSdrPageFromSdrObject(), SwDoc::GetSpzFrameFormats(), SwNodes::GoNext(), i, InvalidateObjs_(), IsAnchoredObjShown(), SwFrame::IsContentFrame(), SdrObject::IsGroupObject(), lcl_GetFlyInContentAnchor(), SwLayoutFrame::Lower(), maAnchoredDrawObj, mbDisconnectInProgress, SwIterator< TElementType, TSource, eMode >::Next(), nPgNum, RES_DRAWFRMFMT(), SwRootFrame::SetAssertFlyPages(), setContextWritingMode(), and SdrObjList::SetObjectOrdNum().
Referenced by SwDrawView::CalcAnchor(), Changed_(), SwFEShell::CheckUnboundObjects(), SwDoc::ChgAnchor(), ChkPage(), SwDoc::GroupSelection(), SwFEShell::ImpEndCreate(), SwUndoDrawGroup::RedoImpl(), SwUndoDrawUnGroupConnectToLayout::RedoImpl(), SwClientNotify(), SwUndoDrawGroup::UndoImpl(), SwUndoDrawUnGroup::UndoImpl(), and SwDoc::UnGroupSelection().
void SwDrawContact::DisconnectFromLayout | ( | bool | _bMoveMasterToInvisibleLayer = true | ) |
Definition at line 1676 of file dcontact.cxx.
References SwAnchoredObject::AnchorFrame(), SdrViewIter::ForAllViews(), SwAnchoredObject::GetAnchorFrame(), GetAnchorFrame(), SwContact::GetFormat(), GetMaster(), SwAnchoredObject::GetObjRectWithSpaces(), SdrPaintView::GetSdrPageView(), lcl_NotifyBackgroundOfObj(), maAnchoredDrawObj, maDrawVirtObjs, SdrMarkView::MarkObj(), mbDisconnectInProgress, SwContact::MoveObjToInvisibleLayer(), NotifyBackgroundOfAllVirtObjs(), SwFrame::RemoveDrawObj(), and SwRect::SVRect().
Referenced by Changed_(), ChangeMasterObject(), ConnectToLayout(), SwFlyFrame::DeleteCnt(), DisconnectObjFromLayout(), lcl_MakeObjs(), SwClientNotify(), and ~SwDrawContact().
void SwDrawContact::DisconnectObjFromLayout | ( | SdrObject * | _pDrawObj | ) |
disconnect for a dedicated drawing object - could be 'master' or 'virtual'.
Definition at line 1745 of file dcontact.cxx.
References SwDrawVirtObj::AnchorFrame(), SwFrame::AppendDrawObj(), DisconnectFromLayout(), GetAnchorFrame(), maAnchoredDrawObj, maDrawVirtObjs, SwFrame::RemoveDrawObj(), SwDrawVirtObj::RemoveFromDrawingPage(), and SwDrawVirtObj::RemoveFromWriterLayout().
Referenced by SwFrame::DestroyImpl(), and SwLayoutFrame::DestroyImpl().
SwPageFrame * SwDrawContact::FindPage | ( | const SwRect & | rRect | ) |
Definition at line 2038 of file dcontact.cxx.
References FindPage(), SwFrame::FindPageFrame(), GetAnchorFrame(), and GetPageFrame().
Referenced by SwDrawView::CalcAnchor(), FindPage(), and NotifyBackgroundOfAllVirtObjs().
|
overridevirtual |
Implements SwContact.
Definition at line 762 of file dcontact.cxx.
References GetMaster(), GetUserCall(), and maAnchoredDrawObj.
Referenced by docfunc::AllDrawObjsOnPage(), Changed_(), SwDoc::ChgAnchor(), GetAnchoredObj(), GetPDFAnchorStructureElementKey(), SwDoc::GroupSelection(), InvalidateObjs_(), lcl_MakeObjs(), lcl_NotifyBackgroundOfObj(), and SwClientNotify().
|
overridevirtual |
|
overridevirtual |
get data collection of anchored objects, handled by with contact
Implements SwContact.
Definition at line 2104 of file dcontact.cxx.
References maAnchoredDrawObj, and maDrawVirtObjs.
Definition at line 804 of file dcontact.cxx.
References SwAnchoredObject::GetAnchorFrame(), GetAnchorFrame(), GetMaster(), SdrObject::GetUserCall(), GetUserCall(), and maAnchoredDrawObj.
Referenced by SwDrawView::CalcAnchor(), CalcClipRect(), SwDrawView::CheckPossibilities(), SwDoc::ChgAnchor(), ConnectToLayout(), DisconnectFromLayout(), DisconnectObjFromLayout(), FindPage(), GetAnchorFrame(), GetDrawObjectByAnchorFrame(), sw::access::SwAccessibleChild::GetParent(), GetPDFAnchorStructureElementKey(), sw::DocumentContentOperationsManager::InsertDrawObj(), SwFEShell::IsGroupAllowed(), SwFlyFrame::IsPaint(), SwFEShell::IsSelObjProtected(), lcl_FindAnchor(), lcl_MakeObjs(), and SwClientNotify().
Definition at line 823 of file dcontact.cxx.
References GetAnchorFrame().
get drawing object ('master' or 'virtual') by frame.
Definition at line 857 of file dcontact.cxx.
References SwContentFrame::FindMaster(), GetAnchorFrame(), GetMaster(), SwFrame::IsContentFrame(), and maDrawVirtObjs.
Referenced by SwFEShell::ImpEndCreate().
|
inlineoverridevirtual |
Implements SwContact.
Definition at line 347 of file dcontact.hxx.
Referenced by SwDrawVirtObj::AddToDrawingPage(), AddVirtObj(), ChangeMasterObject(), ConnectToLayout(), DisconnectFromLayout(), GetAnchoredObj(), GetAnchorFrame(), GetDrawObjectByAnchorFrame(), SwFmDrawPage::group(), InsertMasterIntoDrawPage(), RemoveMasterFromDrawPage(), and SwClientNotify().
|
overridevirtual |
Implements SwContact.
Definition at line 797 of file dcontact.cxx.
References SwAnchoredObject::DrawObj(), maAnchoredDrawObj, and mbMasterObjCleared.
|
inline |
Definition at line 358 of file dcontact.hxx.
References SwAnchoredObject::GetPageFrame().
|
inline |
Definition at line 354 of file dcontact.hxx.
References SwAnchoredObject::GetPageFrame().
Referenced by SwDrawView::CalcAnchor(), ChkPage(), and FindPage().
|
overridevirtual |
Reimplemented from SdrObjUserCall.
Definition at line 364 of file EnhancedPDFExportHelper.cxx.
References GetAnchoredObj(), and GetAnchorFrame().
|
static |
get data collection of anchored objects, handled by with contact
Definition at line 752 of file dcontact.cxx.
References SwDoc::GetSpzFrameFormats().
Referenced by SdrHHCWrapper::ConvertNextDocument(), and SwSpellDialogChildWindow::FindNextDrawTextError_Impl().
void SwDrawContact::InsertMasterIntoDrawPage | ( | ) |
method to insert 'master' drawing object into drawing page
insert 'master' drawing object into drawing page
Definition at line 2028 of file dcontact.cxx.
References IDocumentDrawModelAccess::GetDrawModel(), SwContact::GetFormat(), SwFormat::getIDocumentDrawModelAccess(), GetMaster(), SdrModel::GetPage(), SdrObjList::InsertObject(), and SdrObject::SetUserCall().
Referenced by SwClientNotify().
|
private |
Definition at line 1647 of file dcontact.cxx.
References SwDrawVirtObj::AnchoredObj(), GetAnchoredObj(), SwAnchoredObject::InvalidateObjPos(), SwDrawVirtObj::IsConnected(), maDrawVirtObjs, and SwAnchoredObject::UpdateObjInSortedList().
Referenced by Changed_(), ChangeMasterObject(), ConnectToLayout(), and SwClientNotify().
void SwDrawContact::NotifyBackgroundOfAllVirtObjs | ( | const tools::Rectangle * | pOldBoundRect | ) |
Definition at line 901 of file dcontact.cxx.
References SwDrawVirtObj::AnchoredObj(), ClrContourCache(), FindPage(), SwAnchoredObject::FindPageFrameOfAnchor(), FlyFrameArrive, FlyFrameLeave, SwDrawVirtObj::GetAnchoredObj(), SwDrawVirtObj::GetAnchorFrame(), SwAnchoredObject::GetObjRectWithSpaces(), SwDrawVirtObj::GetOffset(), SwRect::HasArea(), maDrawVirtObjs, Notify_Background(), and SwRect::Pos().
Referenced by Changed_(), DisconnectFromLayout(), and SwClientNotify().
|
privatedelete |
void SwDrawContact::RemoveAllVirtObjs | ( | ) |
remove 'virtual' drawing objects and destroy them.
Definition at line 842 of file dcontact.cxx.
References maDrawVirtObjs.
Referenced by ChangeMasterObject(), ~SwDrawContact(), and SwDrawModel::~SwDrawModel().
void SwDrawContact::RemoveMasterFromDrawPage | ( | ) |
method to remove 'master' drawing object from drawing page.
To be used by the undo for delete of object. Call it after method <DisconnectFromLayout( bool = true )> is already performed. Note: <DisconnectFromLayout( bool )> no longer removes the 'master' drawing object from drawing page.
Definition at line 1726 of file dcontact.cxx.
References GetMaster(), SwClient::GetRegisteredIn(), and SdrObject::SetUserCall().
Referenced by SwClientNotify(), and ~SwDrawContact().
|
overrideprivatevirtual |
Reimplemented from SwContact.
Definition at line 1419 of file dcontact.cxx.
References SwXShape::AddExistingShapeToFormat(), Changed(), CheckControlLayer(), ConnectToLayout(), sw::DELETE_FRAMES, DisconnectFromLayout(), SwAnchoredObject::DrawObj(), sw::DYING, DynCastSdrTextObj(), GetAnchoredObj(), SwAnchoredObject::GetAnchorFrame(), GetAnchorFrame(), SwFormatAnchor::GetAnchorId(), SwFormat::GetDoc(), IDocumentDrawModelAccess::GetDrawModel(), SwAnchoredObject::GetDrawObj(), SwContact::GetFormat(), SfxHint::GetId(), SwDoc::getIDocumentDrawModelAccess(), GetMaster(), SwAnchoredObject::GetObjRectWithSpaces(), SdrObject::GetOrdNum(), SdrObject::GetUserCall(), SdrTextObj::HasText(), InsertMasterIntoDrawPage(), InvalidateObjs_(), SdrObject::IsInserted(), SdrObjListIter::IsMore(), SwDrawFrameFormat::IsPosAttrSet(), lcl_NotifyBackgroundOfObj(), sw::CreatePortionHint::m_ppContact, sw::ContactChangedHint::m_ppObject, sw::GetObjectConnectedHint::m_risConnected, maAnchoredDrawObj, sw::MAKE_FRAMES, SwAnchoredObject::MakeObjPos(), mbDisconnectInProgress, SwContact::MoveObjToVisibleLayer(), SdrObjListIter::Next(), NotifyBackgroundOfAllVirtObjs(), SdrObject::notifyShapePropertyChange(), sw::PAGE_OUT_OF_BOUNDS, pObject, sw::POST_RESTORE_FLY_ANCHOR, sw::PREP_DELETE_FLY, sw::PREP_INSERT_FLY, sw::PREPPASTING, RemoveMasterFromDrawPage(), RES_ANCHOR(), RES_ATTRSET_CHG(), RES_DRAWFRMFMT(), RES_FOLLOW_TEXT_FLOW(), RES_HORI_ORIENT(), RES_LR_SPACE(), RES_OPAQUE(), RES_REMOVE_UNO_OBJECT(), RES_SURROUND(), RES_UL_SPACE(), RES_VERT_ORIENT(), RES_WRAP_INFLUENCE_ON_OBJPOS(), SwAnchoredObject::ResetLayoutProcessBools(), SAL_WARN, SAL_WARN_IF, SdrObject::SetRelativePos(), SwRect::SVRect(), SwClient::SwClientNotify(), SwContact::SwClientNotify(), SwDrawContact(), svx::TextDocAnchor, and SfxPoolItem::Which().
|
friend |
Definition at line 329 of file dcontact.hxx.
|
private |
anchored drawing object instance for the 'master' drawing object
Definition at line 309 of file dcontact.hxx.
Referenced by Changed_(), ChangeMasterObject(), ChkPage(), ConnectToLayout(), DisconnectFromLayout(), DisconnectObjFromLayout(), GetAnchoredObj(), GetAnchoredObjs(), GetAnchorFrame(), GetMaster(), SwClientNotify(), SwDrawContact(), and ~SwDrawContact().
|
private |
container for 'virtual' drawing object supporting drawing objects in headers/footers.
Definition at line 312 of file dcontact.hxx.
Referenced by AddVirtObj(), DisconnectFromLayout(), DisconnectObjFromLayout(), GetAnchoredObjs(), GetDrawObjectByAnchorFrame(), InvalidateObjs_(), NotifyBackgroundOfAllVirtObjs(), and RemoveAllVirtObjs().
|
private |
internal flag to indicate that disconnect from layout is in progress
Definition at line 320 of file dcontact.hxx.
Referenced by Changed_(), ChkPage(), ConnectToLayout(), DisconnectFromLayout(), and SwClientNotify().
|
private |
boolean indicating set 'master' drawing object has been cleared.
Definition at line 316 of file dcontact.hxx.
Referenced by Changed_(), ChangeMasterObject(), GetMaster(), and ~SwDrawContact().
|
private |
Needed data for handling of nested <SdrObjUserCall> events in method <Changed_(..)>
Definition at line 324 of file dcontact.hxx.
Referenced by NestedUserCallHdl::NestedUserCallHdl(), and NestedUserCallHdl::~NestedUserCallHdl().
|
private |
event type, which is handled for <mpSdrObjHandledByCurrentUserCall>.
Note: value only valid, if <mbUserCallActive> is true.
Definition at line 327 of file dcontact.hxx.
Referenced by NestedUserCallHdl::AssertNestedUserCall(), NestedUserCallHdl::NestedUserCallHdl(), and NestedUserCallHdl::~NestedUserCallHdl().