10#ifndef INCLUDED_VCL_SOURCE_FILTER_IPDF_PDFREAD_HXX
11#define INCLUDED_VCL_SOURCE_FILTER_IPDF_PDFREAD_HXX
19#include <com/sun/star/util/DateTime.hpp>
34 std::vector<BitmapEx>& rBitmaps,
size_t nFirstPage = 0,
40 std::shared_ptr<VectorGraphicData>& rVectorGraphicData);
74 std::shared_ptr<pdf::PDFAnnotationMarker>
mpMarker;
87 std::vector<PDFGraphicAnnotation> aAnnotations)
102 std::vector<PDFGraphicResult>& rGraphics);
const Size & GetSize() const
const Graphic & GetGraphic() const
std::vector< PDFGraphicAnnotation > maAnnotations
PDFGraphicResult(Graphic aGraphic, Size const &rSize, std::vector< PDFGraphicAnnotation > aAnnotations)
const std::vector< PDFGraphicAnnotation > & GetAnnotations() const
size_t RenderPDFBitmaps(const void *pBuffer, int nSize, std::vector< BitmapEx > &rBitmaps, const size_t nFirstPage, int nPages, const basegfx::B2DTuple *pSizeHint)
Fills the rBitmaps vector with rendered pages.
bool ImportPDF(SvStream &rStream, Graphic &rGraphic)
Imports a PDF stream into rGraphic.
bool importPdfVectorGraphicData(SvStream &rStream, std::shared_ptr< VectorGraphicData > &rVectorGraphicData)
Imports a PDF stream as a VectorGraphicData.
constexpr int PDF_INSERT_MAGIC_SCALE_FACTOR
size_t ImportPDFUnloaded(const OUString &rURL, std::vector< PDFGraphicResult > &rGraphics)
Import PDF as Graphic images (1 per page), but not loaded yet.
basegfx::B2DRectangle maRectangle
pdf::PDFAnnotationSubType meSubType
css::util::DateTime maDateTime
std::shared_ptr< pdf::PDFAnnotationMarker > mpMarker