summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/vcl/gfxlink.hxx5
-rw-r--r--include/vcl/graph.hxx3
-rw-r--r--include/vcl/graphicfilter.hxx1
3 files changed, 7 insertions, 2 deletions
diff --git a/include/vcl/gfxlink.hxx b/include/vcl/gfxlink.hxx
index 0fc6e0c26293..0fcca069bfbb 100644
--- a/include/vcl/gfxlink.hxx
+++ b/include/vcl/gfxlink.hxx
@@ -42,11 +42,12 @@ enum class GfxLinkType
NativePct = 8, // Don't forget to update the following defines
NativeSvg = 9, // Don't forget to update the following defines
NativeMov = 10, // Don't forget to update the following defines
- NativeBmp = 11 // Don't forget to update the following defines
+ NativeBmp = 11,
+ NativePdf = 12 // Don't forget to update the following defines
};
#define GFX_LINK_FIRST_NATIVE_ID GfxLinkType::NativeGif
-#define GFX_LINK_LAST_NATIVE_ID GfxLinkType::NativeBmp
+#define GFX_LINK_LAST_NATIVE_ID GfxLinkType::NativePdf
class Graphic;
diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx
index cffafa7660de..697565dbd1e6 100644
--- a/include/vcl/graph.hxx
+++ b/include/vcl/graph.hxx
@@ -220,6 +220,9 @@ public:
const SvgDataPtr& getSvgData() const;
+ void setPdfData(const css::uno::Sequence<sal_Int8>& rPdfData);
+ const css::uno::Sequence<sal_Int8>& getPdfData() const;
+
static css::uno::Sequence<sal_Int8> getUnoTunnelId();
};
diff --git a/include/vcl/graphicfilter.hxx b/include/vcl/graphicfilter.hxx
index 0a2f8d5cf628..ff8353c30146 100644
--- a/include/vcl/graphicfilter.hxx
+++ b/include/vcl/graphicfilter.hxx
@@ -82,6 +82,7 @@ namespace o3tl
#define EXP_EMF "SVEMF"
#define EXP_JPEG "SVEJPEG"
#define EXP_SVG "SVESVG"
+#define EXP_PDF "SVEPDF"
#define EXP_PNG "SVEPNG"
#define BMP_SHORTNAME "BMP"