diff options
Diffstat (limited to 'slideshow/source/inc')
-rw-r--r-- | slideshow/source/inc/shapeimporter.hxx | 13 | ||||
-rw-r--r-- | slideshow/source/inc/slide.hxx | 10 |
2 files changed, 23 insertions, 0 deletions
diff --git a/slideshow/source/inc/shapeimporter.hxx b/slideshow/source/inc/shapeimporter.hxx index 37598aa476bf..f4463e39c425 100644 --- a/slideshow/source/inc/shapeimporter.hxx +++ b/slideshow/source/inc/shapeimporter.hxx @@ -95,6 +95,17 @@ public: const PolyPolygonVector& getPolygons() const; double getImportedShapesCount() const{ return mnAscendingPrio; } + + void setMasterPageObjectsOnly(bool bMasterPageObjectsOnly) + { + mbMasterPageObjectsOnly = bMasterPageObjectsOnly; + } + + void setTextFieldsOnly(bool bTextFieldsOnly) + { + mbTextFieldsOnly = bTextFieldsOnly; + } + private: bool isSkip( css::uno::Reference<css::beans::XPropertySet> const& xPropSet, std::u16string_view shapeType, @@ -132,6 +143,8 @@ private: ::std::stack<XShapesEntry> maShapesStack; double mnAscendingPrio; bool mbConvertingMasterPage; + bool mbMasterPageObjectsOnly; + bool mbTextFieldsOnly; }; } // namespace presentation::internal diff --git a/slideshow/source/inc/slide.hxx b/slideshow/source/inc/slide.hxx index ea460582d120..f49a4713d30f 100644 --- a/slideshow/source/inc/slide.hxx +++ b/slideshow/source/inc/slide.hxx @@ -44,6 +44,8 @@ namespace basegfx class B2IVector; } +class Size; + /* Definition of Slide interface */ namespace slideshow::internal @@ -141,6 +143,14 @@ namespace slideshow::internal virtual SlideBitmapSharedPtr getCurrentSlideBitmap( const UnoViewSharedPtr& rView ) const = 0; + virtual Size createLOKSlideRenderer(int nViewWidth, int nViewHeight, + bool bRenderBackground, + bool bRenderMasterPageObjects) = 0; + + virtual bool renderNextLOKSlideLayer(unsigned char* buffer, + bool& bIsBitmapLayer, + OString& rJsonMsg) = 0; + protected: ~Slide() {} }; |