FOSSredder 0.5.0
Loading...
Searching...
No Matches
PdfRenderingRequest.h
Go to the documentation of this file.
1
5#pragma once
6
7#include <atomic>
8#include <filesystem>
9#include <memory>
10#include <string>
11
13
15 std::filesystem::path pdfPath;
16 double dpi = 300.0;
17 std::filesystem::path outputDir;
18 std::string uniqIdPrefix;
19 std::string filePrefix;
20 std::shared_ptr<std::atomic<bool>> cancelFlag;
21};
22
24 std::filesystem::path pdfPath;
25 double dpi = 300.0;
26 int fromPage = 0;
27 int toPage = -1;
28 std::filesystem::path outputDir;
29 std::string uniqIdPrefix;
30 std::string filePrefix;
31 std::shared_ptr<std::atomic<bool>> cancelFlag;
32};
33
34} // namespace core::ports::pdf_rendering
std::shared_ptr< std::atomic< bool > > cancelFlag
std::shared_ptr< std::atomic< bool > > cancelFlag