|
LibreOffice Module editeng (master) 1
|
Specialization for Draw/Impress. More...
#include <unoviwou.hxx>
Public Member Functions | |
| SvxDrawOutlinerViewForwarder (OutlinerView &rOutl) | |
| SvxDrawOutlinerViewForwarder (OutlinerView &rOutl, const Point &rShapePosTopLeft) | |
| virtual | ~SvxDrawOutlinerViewForwarder () override |
| virtual bool | IsValid () const override |
| Query state of forwarder. More... | |
| virtual Point | LogicToPixel (const Point &rPoint, const MapMode &rMapMode) const override |
| Convert from logical, EditEngine-relative coordinates to screen coordinates. More... | |
| virtual Point | PixelToLogic (const Point &rPoint, const MapMode &rMapMode) const override |
| Convert from screen to logical, EditEngine-relative coordinates. More... | |
| virtual bool | GetSelection (ESelection &rSelection) const override |
| Query current selection. More... | |
| virtual bool | SetSelection (const ESelection &rSelection) override |
| Set selection in view. More... | |
| virtual bool | Copy () override |
| Copy current selection to clipboard. More... | |
| virtual bool | Cut () override |
| Cut current selection to clipboard. More... | |
| virtual bool | Paste () override |
| Paste clipboard into current selection. More... | |
| virtual bool | GetSelection (ESelection &rSelection) const =0 |
| Query current selection. More... | |
| virtual bool | SetSelection (const ESelection &rSelection)=0 |
| Set selection in view. More... | |
| virtual bool | Copy ()=0 |
| Copy current selection to clipboard. More... | |
| virtual bool | Cut ()=0 |
| Cut current selection to clipboard. More... | |
| virtual bool | Paste ()=0 |
| Paste clipboard into current selection. More... | |
Public Member Functions inherited from SvxViewForwarder | |
| virtual | ~SvxViewForwarder () |
| virtual bool | IsValid () const =0 |
| Query state of forwarder. More... | |
| virtual Point | LogicToPixel (const Point &rPoint, const MapMode &rMapMode) const =0 |
| Convert from logical, EditEngine-relative coordinates to screen coordinates. More... | |
| virtual Point | PixelToLogic (const Point &rPoint, const MapMode &rMapMode) const =0 |
| Convert from screen to logical, EditEngine-relative coordinates. More... | |
Private Member Functions | |
| EDITENG_DLLPRIVATE Point | GetTextOffset () const |
Private Attributes | |
| OutlinerView & | mrOutlinerView |
| Point | maTextShapeTopLeft |
Specialization for Draw/Impress.
Definition at line 29 of file unoviwou.hxx.
|
explicit |
Definition at line 26 of file unoviwou.cxx.
| SvxDrawOutlinerViewForwarder::SvxDrawOutlinerViewForwarder | ( | OutlinerView & | rOutl, |
| const Point & | rShapePosTopLeft | ||
| ) |
Definition at line 31 of file unoviwou.cxx.
|
overridevirtual |
Definition at line 36 of file unoviwou.cxx.
|
overridevirtual |
Copy current selection to clipboard.
Implements SvxEditViewForwarder.
Definition at line 110 of file unoviwou.cxx.
References OutlinerView::Copy(), and mrOutlinerView.
|
overridevirtual |
Cut current selection to clipboard.
Implements SvxEditViewForwarder.
Definition at line 116 of file unoviwou.cxx.
References OutlinerView::Cut(), and mrOutlinerView.
|
overridevirtual |
Query current selection.
| rSelection | Contains the current selection after method call |
Implements SvxEditViewForwarder.
Definition at line 98 of file unoviwou.cxx.
References OutlinerView::GetSelection(), and mrOutlinerView.
|
private |
Definition at line 40 of file unoviwou.cxx.
References OutlinerView::GetOutputArea(), maTextShapeTopLeft, mrOutlinerView, and tools::Rectangle::TopLeft().
Referenced by LogicToPixel(), and PixelToLogic().
|
overridevirtual |
Query state of forwarder.
Implements SvxViewForwarder.
Definition at line 48 of file unoviwou.cxx.
|
overridevirtual |
Convert from logical, EditEngine-relative coordinates to screen coordinates.
| rPoint | Point in logical, EditEngine-relative coordinates. |
| rMapMode | The map mode to interpret the coordinates in. |
Implements SvxViewForwarder.
Definition at line 53 of file unoviwou.cxx.
References Point::AdjustX(), Point::AdjustY(), OutputDevice::GetMapMode(), MapMode::GetMapUnit(), vcl::Window::GetOutDev(), GetTextOffset(), OutlinerView::GetWindow(), OutputDevice::LogicToLogic(), OutputDevice::LogicToPixel(), mrOutlinerView, MapMode::SetOrigin(), Point::X(), and Point::Y().
|
overridevirtual |
Paste clipboard into current selection.
Implements SvxEditViewForwarder.
Definition at line 122 of file unoviwou.cxx.
References mrOutlinerView, and OutlinerView::PasteSpecial().
|
overridevirtual |
Convert from screen to logical, EditEngine-relative coordinates.
| rPoint | Point in screen coordinates |
| rMapMode | The map mode to interpret the coordinates in. |
Implements SvxViewForwarder.
Definition at line 75 of file unoviwou.cxx.
References Point::AdjustX(), Point::AdjustY(), OutputDevice::GetMapMode(), MapMode::GetMapUnit(), vcl::Window::GetOutDev(), GetTextOffset(), OutlinerView::GetWindow(), OutputDevice::LogicToLogic(), mrOutlinerView, OutputDevice::PixelToLogic(), MapMode::SetOrigin(), Point::X(), and Point::Y().
|
overridevirtual |
Set selection in view.
| rSelection | The selection to set |
Implements SvxEditViewForwarder.
Definition at line 104 of file unoviwou.cxx.
References mrOutlinerView, and OutlinerView::SetSelection().
|
private |
Definition at line 33 of file unoviwou.hxx.
Referenced by GetTextOffset().
|
private |
Definition at line 32 of file unoviwou.hxx.
Referenced by Copy(), Cut(), GetSelection(), GetTextOffset(), LogicToPixel(), Paste(), PixelToLogic(), and SetSelection().