bump product version to 6.3.0.0.beta1
[LibreOffice.git] / include / vcl / pdfread.hxx
blob346c39a3a897989250b0771e9c9cd912488a4142
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef INCLUDED_VCL_SOURCE_FILTER_IPDF_PDFREAD_HXX
11 #define INCLUDED_VCL_SOURCE_FILTER_IPDF_PDFREAD_HXX
13 #include <vector>
14 #include <tools/stream.hxx>
16 namespace com
18 namespace sun
20 namespace star
22 namespace uno
24 template <typename> class Sequence;
29 class Bitmap;
30 class Graphic;
32 namespace vcl
34 /// Imports a PDF stream into rGraphic as a GDIMetaFile.
35 VCL_DLLPUBLIC bool ImportPDF(SvStream& rStream, Bitmap& rBitmap, size_t nPageIndex,
36 css::uno::Sequence<sal_Int8>& rPdfData,
37 sal_uInt64 nPos = STREAM_SEEK_TO_BEGIN,
38 sal_uInt64 nSize = STREAM_SEEK_TO_END, double fResolutionDPI = 96.);
40 VCL_DLLPUBLIC bool ImportPDF(SvStream& rStream, Graphic& rGraphic, double fResolutionDPI = 96.);
42 VCL_DLLPUBLIC size_t ImportPDF(const OUString& rURL, std::vector<Bitmap>& rBitmaps,
43 css::uno::Sequence<sal_Int8>& rPdfData, double fResolutionDPI = 96.);
46 #endif // INCLUDED_VCL_SOURCE_FILTER_IPDF_PDFREAD_HXX
48 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */