FOSSredder 0.5.0
Loading...
Searching...
No Matches
PdfRenderingTypes.h
Go to the documentation of this file.
1
5#pragma once
6
7#include <cstdint>
8#include <string>
9#include <vector>
10
12
14 std::string text;
15 double x = 0.0;
16 double y = 0.0;
17 double width = 0.0;
18 double height = 0.0;
19};
20
22 std::string imagePath;
23 std::vector<uint8_t> imageBytes;
24 int imageWidthPx = 0;
26 std::string metadataJson;
27 double pageWidthPts = 0.0;
28 double pageHeightPts = 0.0;
29 double dpiX = 0.0;
30 double dpiY = 0.0;
31 std::vector<TextElement> textElements;
32};
33
34} // namespace core::ports::pdf_rendering