summaryrefslogtreecommitdiffstats
path: root/filter/source/svg/svgfilter.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/svg/svgfilter.hxx')
-rw-r--r--filter/source/svg/svgfilter.hxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/filter/source/svg/svgfilter.hxx b/filter/source/svg/svgfilter.hxx
index eb889e81662e..916bd9d263ad 100644
--- a/filter/source/svg/svgfilter.hxx
+++ b/filter/source/svg/svgfilter.hxx
@@ -28,6 +28,7 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <com/sun/star/task/XStatusIndicator.hpp>
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/xml/sax/XWriter.hpp>
#include <com/sun/star/view/XSelectionSupplier.hpp>
@@ -52,11 +53,12 @@ using namespace ::com::sun::star::xml::sax;
#define SVG_EXPORT_ALLPAGES ((sal_Int32)-1)
+namespace com::sun::star::frame { class XController; }
// Placeholder tag used into the ImplWriteActions method to filter text placeholder fields
-inline constexpr OUStringLiteral sPlaceholderTag = u"<[:isPlaceholder:]>";
+inline constexpr OUString sPlaceholderTag = u"<[:isPlaceholder:]>"_ustr;
// This tag is used for exporting a slide background made of tiled bitmaps
-inline constexpr OStringLiteral sTiledBackgroundTag = "SLIDE_BACKGROUND";
+inline constexpr OString sTiledBackgroundTag = "SLIDE_BACKGROUND"_ostr;
class SVGExport : public SvXMLExport
{
@@ -208,7 +210,10 @@ private:
bool mbExportShapeSelection;
Sequence< PropertyValue > maFilterData;
Reference< css::drawing::XDrawPage > mxDefaultPage;
+ Reference<css::task::XStatusIndicator> mxStatusIndicator;
std::vector< Reference< css::drawing::XDrawPage > > mSelectedPages;
+ bool mbIsPreview;
+ bool mbShouldCompress;
bool mbWriterFilter;
bool mbCalcFilter;
@@ -291,6 +296,8 @@ private:
bool filterImpressOrDraw( const Sequence< PropertyValue >& rDescriptor );
bool filterWriterOrCalc( const Sequence< PropertyValue >& rDescriptor );
+ css::uno::Reference<css::frame::XController> fillDrawImpressSelectedPages();
+
protected:
// XFilter