diff options
Diffstat (limited to 'sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx')
-rw-r--r-- | sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx b/sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx index 729788e888be..dc92d007ec0e 100644 --- a/sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx +++ b/sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx @@ -98,18 +98,29 @@ public: @param eCoodinateSystem The bounding box can be returned in model and in pixel (window) coordinates. + @param bIgnoreLocation + Return a position ignoring the slides' location, ie. as if + we were the first slide. */ Rectangle GetBoundingBox ( const model::SharedPageDescriptor& rpPageDescriptor, const Part ePart, - const CoordinateSystem eCoordinateSystem); + const CoordinateSystem eCoordinateSystem, + bool bIgnoreLocation = false); + + /// the size of the embedded preview: position independent + Size GetPreviewSize(const CoordinateSystem eCoordinateSystem); + + /// the maximum size of each tile, also position independent + Size GetGridMaxSize(const CoordinateSystem eCoordinateSystem); + + Image GetTransitionEffectIcon (void) const; + +private: Rectangle GetBoundingBox ( const Point& rPageObjectLocation, const Part ePart, const CoordinateSystem eCoordinateSystem); - Size GetSize ( - const Part ePart, - const CoordinateSystem eCoordinateSystem); Image GetTransitionEffectIcon (void) const { return maTransitionEffectIcon;} Image GetCustomAnimationEffectIcon (void) const { return maCustomAnimationEffectIcon;} |