diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/pdfread.hxx | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/include/vcl/pdfread.hxx b/include/vcl/pdfread.hxx index b56e8139447d..ba0eb1ca85be 100644 --- a/include/vcl/pdfread.hxx +++ b/include/vcl/pdfread.hxx @@ -14,19 +14,10 @@ #include <tools/gen.hxx> #include <tools/stream.hxx> -namespace com -{ -namespace sun -{ -namespace star -{ -namespace uno +namespace com::sun::star::uno { template <typename> class Sequence; } -} -} -} class Bitmap; class Graphic; @@ -40,13 +31,10 @@ VCL_DLLPUBLIC size_t RenderPDFBitmaps(const void* pBuffer, int nSize, std::vecto /// Imports a PDF stream into rGraphic as VectorGraphicData. VCL_DLLPUBLIC bool ImportPDF(SvStream& rStream, Graphic& rGraphic); -/// Import PDF as Graphic images (1 per page), all unloaded. -/// Since Graphic is unloaded, we need to return the page size (in pixels) separately. -/// Does not set rPdfData if no conversion is done. +/// Import PDF as Graphic images (1 per page), but not loaded yet. /// Returns the number of pages read. VCL_DLLPUBLIC size_t ImportPDFUnloaded(const OUString& rURL, - std::vector<std::pair<Graphic, Size>>& rGraphics, - double fResolutionDPI = 96.); + std::vector<std::pair<Graphic, Size>>& rGraphics); } #endif // INCLUDED_VCL_SOURCE_FILTER_IPDF_PDFREAD_HXX |