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