LibreOffice Module svx (master) 1
|
#include <viewobjectcontactofunocontrol.hxx>
Classes | |
struct | ImplAccess |
to be called when any aspect of the control which requires view updates changed More... | |
Public Member Functions | |
ViewObjectContactOfUnoControl (ObjectContact &_rObjectContact, ViewContactOfUnoControl &_rViewContact) | |
css::uno::Reference< css::awt::XControl > | getControl () |
returns the ->XControl instance belonging to the instance, creates it if necessary More... | |
void | ensureControlVisibility (bool _bVisible) const |
ensures that the control belonging to this instances has a given visibility More... | |
void | setControlDesignMode (bool _bDesignMode) const |
sets the design/alive mode of the control More... | |
void | propertyChange () |
callback from impl class to react on changes of properties form the XControlModel More... | |
virtual void | ActionChanged () override |
React on changes of the object of this ViewContact. More... | |
void | onControlChangedOrModified (ImplAccess) |
Public Member Functions inherited from sdr::contact::ViewObjectContactOfSdrObj | |
ViewObjectContactOfSdrObj (ObjectContact &rObjectContact, ViewContact &rViewContact) | |
virtual | ~ViewObjectContactOfSdrObj () override |
virtual bool | isPrimitiveVisible (const DisplayInfo &rDisplayInfo) const override |
const OutputDevice * | getPageViewOutputDevice () const |
retrieves the device which a PageView belongs to, starting from its ObjectContactOfPageView More... | |
Public Member Functions inherited from sdr::contact::ViewObjectContact | |
ViewObjectContact (ObjectContact &rObjectContact, ViewContact &rViewContact) | |
virtual | ~ViewObjectContact () |
ObjectContact & | GetObjectContact () const |
ViewContact & | GetViewContact () const |
const basegfx::B2DRange & | getObjectRange () const |
virtual void | ActionChanged () |
void | triggerLazyInvalidate () |
bool | isAnimated () const |
void | ActionChildInserted (ViewContact &rChild) |
drawinglayer::primitive2d::Primitive2DContainer const & | getPrimitive2DSequence (const DisplayInfo &rDisplayInfo) const |
void | createStructureTag (drawinglayer::primitive2d::Primitive2DContainer &rNewPrimitiveSequence) const |
Check if we need to embed to a StructureTagPrimitive2D, too. More... | |
virtual bool | isExportPDFTags () const |
check if getPrimitive2DSequence() should create tag More... | |
virtual bool | isPrimitiveVisible (const DisplayInfo &rDisplayInfo) const |
virtual bool | isPrimitiveGhosted (const DisplayInfo &rDisplayInfo) const |
virtual void | getPrimitive2DSequenceHierarchy (DisplayInfo &rDisplayInfo, drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) const |
void | getPrimitive2DSequenceSubHierarchy (DisplayInfo &rDisplayInfo, drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) const |
const basegfx::B2DVector & | getGridOffset () const |
void | resetGridOffset () |
Static Public Member Functions | |
static css::uno::Reference< css::awt::XControl > | getTemporaryControlForWindow (const vcl::Window &_rWindow, css::uno::Reference< css::awt::XControlContainer > &_inout_ControlContainer, const SdrUnoObj &_rUnoObject) |
retrieves a temporary XControl instance, whose parent is the given device @seealso SdrUnoObj::GetTemporaryControlForWindow More... | |
Protected Member Functions | |
virtual | ~ViewObjectContactOfUnoControl () override |
virtual void | createPrimitive2DSequence (const DisplayInfo &rDisplayInfo, drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) const override |
virtual bool | isPrimitiveVisible (const DisplayInfo &_rDisplayInfo) const override |
void | impl_onControlChangedOrModified () |
to be called when any aspect of the control which requires view updates changed More... | |
Protected Member Functions inherited from sdr::contact::ViewObjectContactOfSdrObj | |
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 () |
Protected Attributes | |
::rtl::Reference< ViewObjectContactOfUnoControl_Impl > | m_pImpl |
Private Member Functions | |
ViewObjectContactOfUnoControl (const ViewObjectContactOfUnoControl &)=delete | |
ViewObjectContactOfUnoControl & | operator= (const ViewObjectContactOfUnoControl &)=delete |
Definition at line 48 of file viewobjectcontactofunocontrol.hxx.
sdr::contact::ViewObjectContactOfUnoControl::ViewObjectContactOfUnoControl | ( | ObjectContact & | _rObjectContact, |
ViewContactOfUnoControl & | _rViewContact | ||
) |
Definition at line 1580 of file viewobjectcontactofunocontrol.cxx.
References m_pImpl.
|
overrideprotectedvirtual |
Definition at line 1587 of file viewobjectcontactofunocontrol.cxx.
References m_pImpl.
|
privatedelete |
|
overridevirtual |
React on changes of the object of this ViewContact.
Reimplemented from sdr::contact::ViewObjectContact.
Definition at line 1732 of file viewobjectcontactofunocontrol.cxx.
References sdr::contact::ViewObjectContact::ActionChanged(), SdrObject::GetLayer(), sdr::contact::ViewObjectContact::GetObjectContact(), sdr::contact::ViewObjectContactOfSdrObj::getSdrObject(), SdrPageView::GetVisibleLayers(), SdrLayerIDSet::IsSet(), SdrObject::IsVisible(), m_pImpl, and sdr::contact::ObjectContact::TryToGetSdrPageView().
Referenced by impl_onControlChangedOrModified(), and setControlDesignMode().
|
overrideprotectedvirtual |
Reimplemented from sdr::contact::ViewObjectContact.
Reimplemented in sdr::contact::UnoControlPrintOrPreviewContact.
Definition at line 1661 of file viewobjectcontactofunocontrol.cxx.
References sdr::contact::ViewObjectContact::GetObjectContact(), m_pImpl, and drawinglayer::primitive2d::Primitive2DDecompositionVisitor::visit().
Referenced by sdr::contact::UnoControlPrintOrPreviewContact::createPrimitive2DSequence().
void sdr::contact::ViewObjectContactOfUnoControl::ensureControlVisibility | ( | bool | _bVisible | ) | const |
ensures that the control belonging to this instances has a given visibility
Definition at line 1615 of file viewobjectcontactofunocontrol.cxx.
References DBG_ASSERT, DBG_UNHANDLED_EXCEPTION, Exception, and m_pImpl.
Reference< XControl > sdr::contact::ViewObjectContactOfUnoControl::getControl | ( | ) |
returns the ->XControl instance belonging to the instance, creates it if necessary
Definition at line 1595 of file viewobjectcontactofunocontrol.cxx.
References m_pImpl.
Referenced by SdrUnoObj::GetUnoControl().
|
static |
retrieves a temporary XControl instance, whose parent is the given device @seealso SdrUnoObj::GetTemporaryControlForWindow
Definition at line 1603 of file viewobjectcontactofunocontrol.cxx.
References sdr::contact::ViewObjectContactOfUnoControl_Impl::createControlForDevice(), OutputDevice::GetInverseViewTransformation(), vcl::Window::GetOutDev(), and OutputDevice::GetViewTransformation().
Referenced by sdr::contact::ViewContactOfUnoControl::getTemporaryControlForWindow().
|
protected |
to be called when any aspect of the control which requires view updates changed
Definition at line 1758 of file viewobjectcontactofunocontrol.cxx.
References ActionChanged(), and sdr::contact::ViewObjectContact::flushPrimitive2DSequence().
Referenced by onControlChangedOrModified(), and propertyChange().
|
overrideprotectedvirtual |
Reimplemented from sdr::contact::ViewObjectContactOfSdrObj.
Definition at line 1682 of file viewobjectcontactofunocontrol.cxx.
References basegfx::utils::createTranslateB2DHomMatrix(), sdr::contact::ViewObjectContact::getGridOffset(), sdr::contact::ViewObjectContact::GetObjectContact(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), sdr::contact::ViewObjectContactOfSdrObj::isPrimitiveVisible(), and m_pImpl.
|
inline |
Definition at line 88 of file viewobjectcontactofunocontrol.hxx.
References impl_onControlChangedOrModified().
Referenced by sdr::contact::ViewObjectContactOfUnoControl_Impl::elementReplaced().
|
privatedelete |
void sdr::contact::ViewObjectContactOfUnoControl::propertyChange | ( | ) |
callback from impl class to react on changes of properties form the XControlModel
Definition at line 1726 of file viewobjectcontactofunocontrol.cxx.
References impl_onControlChangedOrModified().
Referenced by sdr::contact::ViewObjectContactOfUnoControl_Impl::propertyChange().
void sdr::contact::ViewObjectContactOfUnoControl::setControlDesignMode | ( | bool | _bDesignMode | ) | const |
sets the design/alive mode of the control
Definition at line 1646 of file viewobjectcontactofunocontrol.cxx.
References ActionChanged(), and m_pImpl.
Referenced by sdr::contact::ObjectContactOfPageView::SetUNOControlsDesignMode().
|
protected |
Definition at line 51 of file viewobjectcontactofunocontrol.hxx.
Referenced by ActionChanged(), createPrimitive2DSequence(), sdr::contact::UnoControlPrintOrPreviewContact::createPrimitive2DSequence(), ensureControlVisibility(), getControl(), isPrimitiveVisible(), setControlDesignMode(), and ~ViewObjectContactOfUnoControl().