20#ifndef INCLUDED_SVX_SOURCE_SVDRAW_SVDPDF_HXX
21#define INCLUDED_SVX_SOURCE_SVDRAW_SVDPDF_HXX
60 static constexpr css::drawing::LineCap
gaLineCap = css::drawing::LineCap_BUTT;
100 void ImportPdfObject(std::unique_ptr<vcl::pdf::PDFiumPageObject>
const& pPageObject,
101 std::unique_ptr<vcl::pdf::PDFiumTextPage>
const& pTextPage,
102 int nPageObjectIndex);
103 void ImportForm(std::unique_ptr<vcl::pdf::PDFiumPageObject>
const& pPageObject,
104 std::unique_ptr<vcl::pdf::PDFiumTextPage>
const& pTextPage,
105 int nPageObjectIndex);
106 void ImportImage(std::unique_ptr<vcl::pdf::PDFiumPageObject>
const& pPageObject,
107 int nPageObjectIndex);
108 void ImportPath(std::unique_ptr<vcl::pdf::PDFiumPageObject>
const& pPageObject,
109 int nPageObjectIndex);
110 void ImportText(std::unique_ptr<vcl::pdf::PDFiumPageObject>
const& pPageObject,
111 std::unique_ptr<vcl::pdf::PDFiumTextPage>
const& pTextPage,
112 int nPageObjectIndex);
115 void SetupPageScale(
const double dPageWidth,
const double dPageHeight);
std::unique_ptr< SfxItemSet > mpFillAttr
void ImportText(std::unique_ptr< vcl::pdf::PDFiumPageObject > const &pPageObject, std::unique_ptr< vcl::pdf::PDFiumTextPage > const &pTextPage, int nPageObjectIndex)
std::unique_ptr< SfxItemSet > mpTextAttr
std::unique_ptr< vcl::pdf::PDFiumDocument > mpPdfDocument
ImpSdrPdfImport(const ImpSdrPdfImport &)=delete
tools::Rectangle PointsToLogic(double left, double right, double top, double bottom) const
Convert PDF points to logic (twips).
void ImportPath(std::unique_ptr< vcl::pdf::PDFiumPageObject > const &pPageObject, int nPageObjectIndex)
void InsertObj(SdrObject *pObj, bool bScale=true)
void InsertTextObject(const Point &rPos, const Size &rSize, const OUString &rStr)
std::unique_ptr< SfxItemSet > mpLineAttr
ScopedVclPtr< VirtualDevice > mpVD
bool CheckLastPolyLineAndFillMerge(const basegfx::B2DPolyPolygon &rPolyPolygon)
void ImportPdfObject(std::unique_ptr< vcl::pdf::PDFiumPageObject > const &pPageObject, std::unique_ptr< vcl::pdf::PDFiumTextPage > const &pTextPage, int nPageObjectIndex)
void DoObjects(SvdProgressInfo *pProgrInfo, sal_uInt32 *pActionsToReport, int nPageIndex)
size_t DoImport(SdrObjList &rDestList, size_t nInsPos, int nPageNumber, SvdProgressInfo *pProgrInfo=nullptr)
void SetAttributes(SdrObject *pObj, bool bForceTextAttr=false)
bool mbLastObjWasPolyWithoutLine
void ImportForm(std::unique_ptr< vcl::pdf::PDFiumPageObject > const &pPageObject, std::unique_ptr< vcl::pdf::PDFiumTextPage > const &pTextPage, int nPageObjectIndex)
basegfx::B2DHomMatrix maCurrentMatrix
The current transformation matrix, typically used with Form objects.
void SetupPageScale(const double dPageWidth, const double dPageHeight)
double correctVertOrigin(double offsetPts) const
Correct the vertical coordinate to start at the top.
static constexpr css::drawing::LineCap gaLineCap
std::vector< rtl::Reference< SdrObject > > maTmpList
tools::Rectangle maScaleRect
std::shared_ptr< vcl::pdf::PDFium > mpPDFium
void ImportImage(std::unique_ptr< vcl::pdf::PDFiumPageObject > const &pPageObject, int nPageObjectIndex)
basegfx::B2DPolyPolygon maClip
ImpSdrPdfImport & operator=(const ImpSdrPdfImport &)=delete
A SdrPage contains exactly one SdrObjList and a description of the physical page dimensions (size / m...
Helper class for the communication between the dialog In order to break open Metafiles (sd/source/ui/...