summaryrefslogtreecommitdiff
path: root/include/vcl/graph.hxx
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2018-03-13 23:55:26 -0400
committerJan Holesovsky <kendy@collabora.com>2018-06-07 10:45:18 +0200
commit7939efc7136987fad348baca2cd686a00aee73cd (patch)
treec142fd2770bb97d83fa91b971e370cf3b4acc73c /include/vcl/graph.hxx
parent9b11fdd36ec80f9d1ae0a05455745361e0ce9ced (diff)
sd: import PDFs as images using Pdfium new SdPdfFilter
LOK now opens PDFs as images using Pdfium, which has a superior accuracy and support to poppler, the default pdf reader. Change-Id: Ifbbecf7f048f001836fb98886705cba47e6bed4e
Diffstat (limited to 'include/vcl/graph.hxx')
-rw-r--r--include/vcl/graph.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx
index 847e20e202ab..cd2e48c273f7 100644
--- a/include/vcl/graph.hxx
+++ b/include/vcl/graph.hxx
@@ -231,10 +231,14 @@ public:
const VectorGraphicDataPtr& getVectorGraphicData() const;
void setPdfData(const std::shared_ptr<css::uno::Sequence<sal_Int8>>& rPdfData);
- void setPdfData(const css::uno::Sequence<sal_Int8>& rPdfData) { setPdfData(std::make_shared<css::uno::Sequence<sal_Int8>>(rPdfData)); }
std::shared_ptr<css::uno::Sequence<sal_Int8>> getPdfData() const;
bool hasPdfData() const;
+ /// Set the page number of the multi-page source this Graphic is rendered from.
+ void setPageNumber(sal_Int32 nPageNumber);
+ /// Get the page number of the multi-page source this Graphic is rendered from.
+ sal_Int32 getPageNumber() const;
+
static css::uno::Sequence<sal_Int8> getUnoTunnelId();
};