LibreOffice Module vcl (master)  1
Namespaces | Functions
pdfread.cxx File Reference
#include <vcl/pdfread.hxx>
#include <config_features.h>
#include <vcl/graph.hxx>
#include <bitmapwriteaccess.hxx>
#include <unotools/ucbstreamhelper.hxx>
Include dependency graph for pdfread.cxx:

Go to the source code of this file.

Namespaces

 vcl
 

Functions

size_t vcl::RenderPDFBitmaps (const void *pBuffer, int nSize, std::vector< Bitmap > &rBitmaps, size_t nFirstPage=0, int nPages=1, double fResolutionDPI=96.)
 Fills the rBitmaps vector with rendered pages. More...
 
bool vcl::ImportPDF (SvStream &rStream, Bitmap &rBitmap, size_t nPageIndex, std::vector< sal_Int8 > &rPdfData, sal_uInt64 nPos=STREAM_SEEK_TO_BEGIN, sal_uInt64 nSize=STREAM_SEEK_TO_END, double fResolutionDPI=96.)
 Imports a PDF stream into rGraphic as a GDIMetaFile. More...
 
bool vcl::ImportPDF (SvStream &rStream, Graphic &rGraphic, const double fResolutionDPI)
 
size_t vcl::ImportPDF (const OUString &rURL, std::vector< Bitmap > &rBitmaps, std::vector< sal_Int8 > &rPdfData, const double fResolutionDPI)
 
size_t vcl::ImportPDFUnloaded (const OUString &rURL, std::vector< std::pair< Graphic, Size >> &rGraphics, double fResolutionDPI=96.)
 Import PDF as Graphic images (1 per page), all unloaded. More...