LibreOffice Module sw (master)
1
|
#include <svx/svdobj.hxx>
#include <svx/svdovirt.hxx>
#include "fmtanchr.hxx"
#include "frmfmt.hxx"
#include <list>
#include <vector>
#include <memory>
#include "calbck.hxx"
#include "anchoreddrawobject.hxx"
Go to the source code of this file.
Classes | |
class | SwContact |
Base class for the following contact objects (frame + draw objects). More... | |
class | SwFlyDrawContact |
ContactObject for connection between frames (or their formats respectively) in SwClient and the drawobjects of Drawing (DsrObjUserCall). More... | |
class | SwDrawVirtObj |
new class for re-direct methods calls at a 'virtual' drawing object to its referenced object. More... | |
class | SwDrawContact |
Typedefs | |
typedef std::unique_ptr< SwDrawVirtObj, SdrObjectFreeOp > | SwDrawVirtObjPtr |
ContactObject for connection of formats as representatives of draw objects in SwClient and the objects themselves in Drawing (SDrObjUserCall). More... | |
Functions | |
SW_DLLPUBLIC SwFrameFormat * | FindFrameFormat (SdrObject *pObj) |
The other way round: Search format for given object. More... | |
const SwFrameFormat * | FindFrameFormat (const SdrObject *pObj) |
bool | HasWrap (const SdrObject *pObj) |
void | setContextWritingMode (SdrObject *pObj, SwFrame const *pAnchor) |
SwRect | GetBoundRectOfAnchoredObj (const SdrObject *pObj) |
returns the BoundRect inclusive distance of the object. More... | |
SwContact * | GetUserCall (const SdrObject *) |
Returns the UserCall if applicable from the group object. More... | |
bool | IsMarqueeTextObj (const SdrObject &rObj) |
Returns true if the SrdObject is a Marquee-Object (scrolling text) More... | |
bool | CheckControlLayer (const SdrObject *pObj) |
typedef std::unique_ptr< SwDrawVirtObj, SdrObjectFreeOp > SwDrawVirtObjPtr |
ContactObject for connection of formats as representatives of draw objects in SwClient and the objects themselves in Drawing (SDrObjUserCall).
Definition at line 302 of file dcontact.hxx.
bool CheckControlLayer | ( | const SdrObject * | pObj | ) |
Definition at line 658 of file dcontact.cxx.
References CheckControlLayer(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::GetObjInventor(), and i.
Referenced by SwFrame::AppendDrawObj(), AppendObj(), SwDrawView::CalcAnchor(), SwDrawContact::Changed_(), SwFEShell::ChangeOpaque(), CheckControlLayer(), SwDrawContact::ConnectToLayout(), SwFEShell::FindAnchorPos(), sw::DocumentContentOperationsManager::InsertDrawObj(), SwFEShell::IsSelContainsControl(), SwContact::MoveObjToLayer(), SwFEShell::Paste(), SwDrawContact::SwClientNotify(), and SwDrawContact::SwDrawContact().
SW_DLLPUBLIC SwFrameFormat* FindFrameFormat | ( | SdrObject * | pObj | ) |
The other way round: Search format for given object.
If object is a SwVirtFlyDrawObj the format will be obtained from it. If not it is a simple DrawObject. It has a UserCall which is client of the format we are looking for. Implementation in dcontact.cxx.
The other way round: Search format for given object.
If the object is a SwVirtFlyDrawObj then the format of this will be acquired. Otherwise it is just a simple drawing object. This has a UserCall and is the client of the searched format.
Definition at line 120 of file dcontact.cxx.
References SwContact::GetFormat(), and GetUserCall().
Referenced by SwXDrawPage::add(), SwXGroupShape::add(), SwDrawView::AddCustomHdl(), SwXShape::AddExistingShapeToFormat(), SwFlyFreeFrame::CheckClip(), sw::AccessibilityCheck::checkObject(), SwDrawView::CheckPossibilities(), SwHTMLParser::DeleteSection(), SwAccessibleMap::DoInvalidateShapeSelection(), SwDrawShell::Execute(), SwDrawBaseShell::Execute(), FindFrameFormat(), sw::FindTextImpl(), SwAnchoredDrawObject::GetObjBoundRect(), SwFEShell::GetObjDescription(), SwFEShell::GetObjTitle(), SwFmDrawPage::GetShape(), SwDrawShell::GetState(), SwDrawBaseShell::GetState(), SwXDrawPage::group(), HasWrap(), IMPL_LINK(), objectpositioning::SwAnchoredObjectPosition::ImplAdjustHoriRelPos(), objectpositioning::SwAnchoredObjectPosition::ImplAdjustVertRelPos(), SwAccessibleMap::InvalidateShapeInParaSelection(), sw::access::SwAccessibleChild::IsBoundAsChar(), SwFEShell::IsFlyInFly(), lcl_goIntoTextBox(), SwFEShell::Paste(), HTMLTable::PendingDrawObjectsInPaM(), SwFEShell::ReplaceSdrObj(), SwFlyCntPortion::SetBase(), SwFEShell::SetDrawingAttr(), SwFEShell::SetObjDescription(), SwFEShell::SetObjTitle(), SwXShape::setPropertyValue(), RtfSdrExport::StartShape(), SwXShape::SwXShape(), WW8_WrPlcSubDoc::WriteGenericPlc(), and WW8_WrPlcSubDoc::WriteGenericText().
|
inline |
Definition at line 50 of file dcontact.hxx.
References FindFrameFormat().
returns the BoundRect inclusive distance of the object.
Definition at line 154 of file dcontact.cxx.
References SdrObject::GetCurrentBoundRect(), SwAnchoredObject::GetObjRectWithSpaces(), and GetUserCall().
Referenced by lcl_NotifyNeighbours().
Returns the UserCall if applicable from the group object.
Definition at line 171 of file dcontact.cxx.
References assert(), SdrObject::getParentSdrObjectFromSdrObject(), and SdrObject::GetUserCall().
Referenced by SwDrawView::AddCustomHdl(), docfunc::AllDrawObjsOnPage(), SwFrame::AppendDrawObj(), AppendObj(), SwDrawView::CalcAnchor(), CalcClipRect(), SwFEShell::ChangeOpaque(), SwLayHelper::CheckFlyCache_(), SwDrawView::CheckPossibilities(), SwFEShell::CheckUnboundObjects(), SwDoc::ChgAnchor(), SwFEShell::Copy(), SwFEShell::CopyDrawSel(), SwFlyFrame::DeleteCnt(), SwDrawView::DeleteMarked(), SwDoc::DeleteSelection(), SwFEShell::EndTextEdit(), SwFEShell::FindAnchorPos(), FindFrameFormat(), SwFlyDrawContact::GetAnchoredObj(), SwDrawContact::GetAnchoredObj(), SwDrawContact::GetAnchorFrame(), SwFEShell::GetAnchorId(), GetBoundRectOfAnchoredObj(), sw::access::SwAccessibleChild::GetBox(), SwAnchoredDrawObject::GetFrameFormat(), objectpositioning::SwAnchoredObjectPosition::GetInfoAboutObj(), SwDrawView::GetMaxToBtmObj(), SwDrawView::GetMaxToTopObj(), SwFEShell::GetObjAttr(), SwFEShell::GetObjCntType(), sw::access::SwAccessibleChild::GetParent(), SwFEShell::GetShapeBackgrd(), SwDoc::GroupSelection(), SwDoc::InsertDrawLabel(), Is_Lower_Of(), SwFEShell::IsFlyInFly(), SwFEShell::IsFrameVertical(), SwFEShell::IsGroupAllowed(), SwFEShell::IsGroupSelected(), SwFlyFrame::IsPaint(), SwFEShell::IsSelObjProtected(), SwFEShell::IsShapeDefaultHoriTextDirR2L(), lcl_AdjustPositioningAttr(), lcl_FindAnchor(), lcl_MakeObjs(), lcl_NotifyNeighbours(), SwAnchoredDrawObject::MakeObjPos(), SwEditWin::MouseButtonUp(), SwFEShell::MoveAnchor(), SwDrawView::MoveRepeatedObjs(), Notify_Background(), SwViewShellImp::NotifySizeChg(), SwDrawView::ObjOrderChanged(), SwUndoDrawGroup::RedoImpl(), SwUndoDrawDelete::RedoImpl(), SwDPage::ReplaceObject(), SwFEShell::SelectObj(), SwTextFlyCnt::SetAnchor(), SwFEShell::SetObjAttr(), SwAnchoredDrawObject::SetPositioningAttr(), SwFEShell::ShouldObjectBeSelected(), SwObjPositioningInProgress::SwObjPositioningInProgress(), SwUndoDrawUnGroup::SwUndoDrawUnGroup(), SwDoc::UnGroupSelection(), SwLayoutCache::Write(), and SwFrameNotify::~SwFrameNotify().
bool HasWrap | ( | const SdrObject * | pObj | ) |
Definition at line 139 of file dcontact.cxx.
References FindFrameFormat(), SwFormatSurround::GetSurround(), and SwFormat::GetSurround().
Referenced by SwAnchoredDrawObject::AdjustPositioningAttr(), SwDrawView::CalcAnchor(), SwFEShell::FindAnchorPos(), lcl_AdjustPositioningAttr(), SwAnchoredDrawObject::MakeObjPosAnchoredAtLayout(), SwFEShell::Paste(), and SwAnchoredDrawObject::SetDrawObjAnchor().
bool IsMarqueeTextObj | ( | const SdrObject & | rObj | ) |
Returns true if the SrdObject is a Marquee-Object (scrolling text)
Definition at line 182 of file dcontact.cxx.
References SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), and OBJ_TEXT.
Referenced by SwHTMLWriter::GetMarqueeTextObj().
Definition at line 102 of file dcontact.cxx.
References SwFrame::IsRightToLeft(), SwFrame::IsVertical(), and SdrObject::SetContextWritingMode().
Referenced by SwFrame::CheckDirChange(), SwDrawContact::ConnectToLayout(), and SwContact::MoveObjToVisibleLayer().