LibreOffice Module svx (master) 1
|
#include <viewobjectcontactofsdrobj.hxx>
Protected Member Functions | |
const SdrObject & | getSdrObject () const |
Protected Member Functions inherited from sdr::contact::ViewObjectContact | |
void | checkForPrimitive2DAnimations () |
virtual void | createPrimitive2DSequence (const DisplayInfo &rDisplayInfo, drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) const |
void | flushPrimitive2DSequence () |
Private Member Functions | |
virtual bool | isPrimitiveVisibleOnAnyLayer (const SdrLayerIDSet &aLayers) const |
Test whether the primitive is visible on any layer from aLayers . More... | |
Definition at line 31 of file viewobjectcontactofsdrobj.hxx.
sdr::contact::ViewObjectContactOfSdrObj::ViewObjectContactOfSdrObj | ( | ObjectContact & | rObjectContact, |
ViewContact & | rViewContact | ||
) |
Definition at line 44 of file viewobjectcontactofsdrobj.cxx.
|
overridevirtual |
Definition at line 49 of file viewobjectcontactofsdrobj.cxx.
const OutputDevice * sdr::contact::ViewObjectContactOfSdrObj::getPageViewOutputDevice | ( | ) | const |
retrieves the device which a PageView belongs to, starting from its ObjectContactOfPageView
Since #i72752#, the PaintWindow (and thus the OutputDevice) associated with a PageView is not constant over its lifetime. Instead, during some paint operations, the PaintWindow/OutputDevice might be temporarily patched.
This method cares for this, by retrieving the very original OutputDevice.
Definition at line 173 of file viewobjectcontactofsdrobj.cxx.
References sdr::contact::ViewObjectContact::GetObjectContact(), SdrPageWindow::GetOriginalPaintWindow(), SdrPaintWindow::GetOutputDevice(), sdr::contact::ObjectContactOfPageView::GetPageWindow(), and SdrPageWindow::GetPaintWindow().
Referenced by sdr::contact::ViewObjectContactOfUnoControl_Impl::ensureControl(), sdr::contact::ViewObjectContactOfSdrMediaObj::getWindow(), and sdr::contact::ViewObjectContactOfUnoControl_Impl::impl_getOutputDevice_throw().
|
protected |
Definition at line 39 of file viewobjectcontactofsdrobj.cxx.
References sdr::contact::ViewObjectContact::GetViewContact().
Referenced by sdr::contact::ViewObjectContactOfUnoControl::ActionChanged(), isPrimitiveVisible(), isPrimitiveVisibleOnAnyLayer(), and sdr::contact::ViewObjectContactOfGroup::isPrimitiveVisibleOnAnyLayer().
|
overridevirtual |
Reimplemented from sdr::contact::ViewObjectContact.
Reimplemented in sdr::contact::ViewObjectContactOfUnoControl.
Definition at line 58 of file viewobjectcontactofsdrobj.cxx.
References vcl::unotools::b2IPointFromPoint(), bVisible, SdrPaintView::getHideChart(), SdrPaintView::getHideDraw(), SdrPaintView::getHideFormControl(), SdrPaintView::getHideOle(), sdr::contact::ViewObjectContact::GetObjectContact(), SdrObject::GetObjIdentifier(), sdr::contact::DisplayInfo::GetProcessLayers(), sdr::contact::ViewContact::getRange(), getSdrObject(), sdr::contact::DisplayInfo::GetSubContentActive(), SdrPageView::GetView(), sdr::contact::ViewObjectContact::GetViewContact(), sdr::contact::ObjectContact::getViewInformation2D(), drawinglayer::geometry::ViewInformation2D::getViewport(), sdr::contact::DisplayInfo::GetWriterPageFrame(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), Graphic, basegfx::Range2D< typename TYPE, typename TRAITS >::isEmpty(), basegfx::Range2D< typename TYPE, typename TRAITS >::isInside(), SdrObject::IsNotVisibleAsMaster(), isPrimitiveVisibleOnAnyLayer(), SdrObject::IsPrintable(), SdrObject::IsVisible(), OLE2, basegfx::Range2D< typename TYPE, typename TRAITS >::overlaps(), and sdr::contact::ObjectContact::TryToGetSdrPageView().
Referenced by sdr::contact::ViewObjectContactOfGroup::getPrimitive2DSequenceHierarchy(), and sdr::contact::ViewObjectContactOfUnoControl::isPrimitiveVisible().
|
privatevirtual |
Test whether the primitive is visible on any layer from aLayers
.
This should be overridden by ViewObjectContacts of SDR classes that have subparts which can be on different layers (that is, SdrObjGroup .-)
Reimplemented in sdr::contact::ViewObjectContactOfGroup.
Definition at line 53 of file viewobjectcontactofsdrobj.cxx.
References getSdrObject(), and SdrLayerIDSet::IsSet().
Referenced by isPrimitiveVisible().