LibreOffice Module sd (master) 1
|
This class implements the DrawViewShell specific part of the controller. More...
#include <SdUnoDrawView.hxx>
Public Member Functions | |
SdUnoDrawView (DrawViewShell &rViewShell, View &rView) noexcept | |
virtual | ~SdUnoDrawView () noexcept override |
virtual sal_Bool SAL_CALL | select (const css::uno::Any &aSelection) override |
virtual css::uno::Any SAL_CALL | getSelection () override |
virtual void SAL_CALL | addSelectionChangeListener (const css::uno::Reference< css::view::XSelectionChangeListener > &rxListener) override |
virtual void SAL_CALL | removeSelectionChangeListener (const css::uno::Reference< css::view::XSelectionChangeListener > &rxListener) override |
virtual void SAL_CALL | setCurrentPage (const css::uno::Reference< css::drawing::XDrawPage > &xPage) override |
virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL | getCurrentPage () override |
virtual void SAL_CALL | setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override |
virtual css::uno::Any SAL_CALL | getFastPropertyValue (sal_Int32 nHandle) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
css::uno::Reference< css::drawing::XLayer > | getActiveLayer () const |
Return a reference to the active layer object. More... | |
virtual OUString SAL_CALL | getImplementationName () override=0 |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override=0 |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override=0 |
Public Member Functions inherited from comphelper::WeakComponentImplHelper< css::drawing::XDrawSubController, css::lang::XServiceInfo > | |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual void SAL_CALL | dispose () noexcept final override |
virtual void SAL_CALL | addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override |
virtual void SAL_CALL | removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
Public Member Functions inherited from comphelper::WeakComponentImplHelperBase | |
virtual | ~WeakComponentImplHelperBase () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override |
virtual void SAL_CALL | removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) override |
virtual void | disposing (std::unique_lock< std::mutex > &) |
Public Member Functions inherited from comphelper::UnoImplBase | |
virtual | ~UnoImplBase () |
Private Member Functions | |
bool | getMasterPageMode () const noexcept |
void | setMasterPageMode (bool MasterPageMode_) noexcept |
bool | getLayerMode () const noexcept |
void | setLayerMode (bool LayerMode_) noexcept |
void | setActiveLayer (const css::uno::Reference< css::drawing::XLayer > &rxLayer) |
Make the specified object the active layer. More... | |
void | SetZoom (sal_Int16 nZoom) |
sal_Int16 | GetZoom () const |
void | SetViewOffset (const css::awt::Point &rWinPos) |
css::awt::Point | GetViewOffset () const |
void | SetZoomType (sal_Int16 nType) |
css::uno::Any | getDrawViewMode () const |
SdXImpressDocument * | GetModel () const noexcept |
Private Attributes | |
DrawViewShell & | mrDrawViewShell |
sd::View & | mrView |
Additional Inherited Members | |
Protected Member Functions inherited from comphelper::WeakComponentImplHelperBase | |
void | throwIfDisposed (std::unique_lock< std::mutex > &) |
Protected Attributes inherited from comphelper::WeakComponentImplHelperBase | |
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > | maEventListeners |
Protected Attributes inherited from comphelper::UnoImplBase | |
std::mutex | m_aMutex |
bool | m_bDisposed |
This class implements the DrawViewShell specific part of the controller.
Definition at line 34 of file SdUnoDrawView.hxx.
|
noexcept |
Definition at line 51 of file SdUnoDrawView.cxx.
|
overridevirtualnoexcept |
Definition at line 59 of file SdUnoDrawView.cxx.
|
overridevirtual |
Definition at line 283 of file SdUnoDrawView.cxx.
Reference< drawing::XLayer > sd::SdUnoDrawView::getActiveLayer | ( | ) | const |
Return a reference to the active layer object.
Definition at line 93 of file SdUnoDrawView.cxx.
References SdrPaintView::GetActiveLayer(), SdXImpressDocument::GetDoc(), SdrLayerAdmin::GetLayer(), SdLayerManager::GetLayer(), SdrModel::GetLayerAdmin(), SdXImpressDocument::getLayerManager(), GetModel(), and mrView.
Referenced by getFastPropertyValue().
|
overridevirtual |
Definition at line 416 of file SdUnoDrawView.cxx.
References SdrPageView::GetPage(), SdrPaintView::GetSdrPageView(), SdrPage::getUnoPage(), and mrView.
Referenced by getFastPropertyValue().
|
private |
Definition at line 517 of file SdUnoDrawView.cxx.
References Any, sd::DrawViewShell::GetPageKind(), Handout, mrDrawViewShell, Notes, and Standard.
Referenced by getFastPropertyValue().
|
overridevirtual |
Definition at line 353 of file SdUnoDrawView.cxx.
References Any, getActiveLayer(), getCurrentPage(), getDrawViewMode(), getLayerMode(), getMasterPageMode(), GetViewOffset(), GetZoom(), nHandle, sd::DrawController::PROPERTY_ACTIVE_LAYER, sd::DrawController::PROPERTY_CURRENTPAGE, sd::DrawController::PROPERTY_DRAWVIEWMODE, sd::DrawController::PROPERTY_LAYERMODE, sd::DrawController::PROPERTY_MASTERPAGEMODE, sd::DrawController::PROPERTY_VIEWOFFSET, sd::DrawController::PROPERTY_ZOOMTYPE, and sd::DrawController::PROPERTY_ZOOMVALUE.
|
overridevirtual |
Implements sd::DrawSubControllerInterfaceBase.
Definition at line 530 of file SdUnoDrawView.cxx.
|
privatenoexcept |
Definition at line 78 of file SdUnoDrawView.cxx.
References sd::DrawViewShell::IsLayerModeActive(), and mrDrawViewShell.
Referenced by getFastPropertyValue().
|
privatenoexcept |
Definition at line 63 of file SdUnoDrawView.cxx.
References sd::DrawViewShell::GetEditMode(), MasterPage, and mrDrawViewShell.
Referenced by getFastPropertyValue().
|
privatenoexcept |
Definition at line 506 of file SdUnoDrawView.cxx.
References sd::View::GetDocSh(), SfxObjectShell::GetModel(), mrView, and xModel.
Referenced by getActiveLayer().
|
overridevirtual |
Definition at line 236 of file SdUnoDrawView.cxx.
References Any, SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), comphelper::getProcessComponentContext(), SdrObject::getSdrPageFromSdrObject(), SdrObjEditView::getTextSelection(), SdrPage::getUnoPage(), SdrObject::getUnoShape(), SdrObjEditView::IsTextEdit(), mrView, and nCount.
|
overridevirtual |
Implements sd::DrawSubControllerInterfaceBase.
Definition at line 540 of file SdUnoDrawView.cxx.
|
private |
Definition at line 464 of file SdUnoDrawView.cxx.
References sd::ViewShell::GetViewOrigin(), sd::ViewShell::GetWinViewPos(), mrDrawViewShell, Point::X(), and Point::Y().
Referenced by getFastPropertyValue().
|
private |
Definition at line 429 of file SdUnoDrawView.cxx.
References sd::ViewShell::GetActiveWindow(), sd::Window::GetZoom(), and mrDrawViewShell.
Referenced by getFastPropertyValue().
|
overridevirtual |
Definition at line 287 of file SdUnoDrawView.cxx.
|
overridevirtual |
Definition at line 147 of file SdUnoDrawView.cxx.
References SdrPage::GetPageNum(), SdrObject::getSdrObjectFromXShape(), SdrObject::getSdrPageFromSdrObject(), SdrPaintView::GetSdrPageView(), i, SdrPage::IsMasterPage(), SdrMarkView::MarkObj(), mrDrawViewShell, mrView, nCount, setMasterPageMode(), sd::DrawViewShell::SwitchPage(), SdrMarkView::UnmarkAllObj(), and sd::DrawViewShell::WriteFrameViewData().
|
private |
Make the specified object the active layer.
rxLayer | The new layer object. |
css::uno::RuntimeException |
Definition at line 126 of file SdUnoDrawView.cxx.
References SdrLayer::GetName(), SdLayer::GetSdrLayer(), mrDrawViewShell, mrView, sd::DrawViewShell::ResetActualLayer(), and SdrPaintView::SetActiveLayer().
Referenced by setFastPropertyValue().
|
overridevirtual |
Definition at line 398 of file SdUnoDrawView.cxx.
References SdrPage::GetPageNum(), SvxDrawPage::GetSdrPage(), sd::ViewShell::GetView(), SdrPage::IsMasterPage(), mrDrawViewShell, sd::View::SdrEndTextEdit(), setMasterPageMode(), sd::DrawViewShell::SwitchPage(), and sd::DrawViewShell::WriteFrameViewData().
Referenced by setFastPropertyValue().
|
overridevirtual |
Definition at line 291 of file SdUnoDrawView.cxx.
References nHandle, nType, sd::DrawController::PROPERTY_ACTIVE_LAYER, sd::DrawController::PROPERTY_CURRENTPAGE, sd::DrawController::PROPERTY_LAYERMODE, sd::DrawController::PROPERTY_MASTERPAGEMODE, sd::DrawController::PROPERTY_VIEWOFFSET, sd::DrawController::PROPERTY_ZOOMTYPE, sd::DrawController::PROPERTY_ZOOMVALUE, setActiveLayer(), setCurrentPage(), setLayerMode(), setMasterPageMode(), SetViewOffset(), SetZoom(), and SetZoomType().
|
privatenoexcept |
Definition at line 83 of file SdUnoDrawView.cxx.
Referenced by setFastPropertyValue().
|
privatenoexcept |
Definition at line 68 of file SdUnoDrawView.cxx.
References MasterPage, and Page.
Referenced by select(), setCurrentPage(), and setFastPropertyValue().
|
private |
Definition at line 457 of file SdUnoDrawView.cxx.
References sd::ViewShell::GetViewOrigin(), mrDrawViewShell, and sd::ViewShell::SetWinViewPos().
Referenced by setFastPropertyValue().
|
private |
Definition at line 441 of file SdUnoDrawView.cxx.
References SfxDispatcher::ExecuteList(), SfxViewFrame::GetDispatcher(), sd::ViewShell::GetViewFrame(), and mrDrawViewShell.
Referenced by setFastPropertyValue().
|
private |
Definition at line 472 of file SdUnoDrawView.cxx.
References SfxDispatcher::ExecuteList(), SfxViewFrame::GetDispatcher(), sd::ViewShell::GetViewFrame(), mrDrawViewShell, and nType.
Referenced by setFastPropertyValue().
|
overridevirtual |
Implements sd::DrawSubControllerInterfaceBase.
Definition at line 535 of file SdUnoDrawView.cxx.
References ServiceName, and cppu::supportsService().
|
private |
Definition at line 107 of file SdUnoDrawView.hxx.
Referenced by getDrawViewMode(), getLayerMode(), getMasterPageMode(), GetViewOffset(), GetZoom(), select(), setActiveLayer(), setCurrentPage(), SetViewOffset(), SetZoom(), and SetZoomType().
|
private |
Definition at line 108 of file SdUnoDrawView.hxx.
Referenced by getActiveLayer(), getCurrentPage(), GetModel(), getSelection(), select(), and setActiveLayer().