FOSSredder 0.5.0
Loading...
Searching...
No Matches
IImportStatement.h
Go to the documentation of this file.
1
5
6#pragma once
7
11
12#include <memory>
13
23
25
30public:
34 virtual ~IImportStatement() = default;
35
42};
43
52std::shared_ptr<IImportStatement> createImportStatement(std::shared_ptr<core::ports::pdf_rendering::IPdfRenderer> poppler,
53 std::shared_ptr<core::ports::document_image_processing::IDocumentImageProcessor> documentImageProcessor,
54 std::shared_ptr<core::ports::text_recognition::ITextRecognizer> tesseract,
55 std::shared_ptr<core::ports::diagnostics::IErrorReporter> errorReporter);
56
57}
Declares the structured diagnostics reporting port.
Declares the import execution request contract.
Declares the import execution result contract.
Public statement import service used by the import job orchestration.
virtual ~IImportStatement()=default
Destroy the import service interface.
virtual ImportResult importStatement(const ImportRequest &req)=0
Execute the import workflow.
Processes document images for the import pipeline.
Renders and extracts PDF content.
Extracts recognized text from image data.
std::shared_ptr< IImportStatement > createImportStatement(std::shared_ptr< core::ports::pdf_rendering::IPdfRenderer > poppler, std::shared_ptr< core::ports::document_image_processing::IDocumentImageProcessor > documentImageProcessor, std::shared_ptr< core::ports::text_recognition::ITextRecognizer > tesseract, std::shared_ptr< core::ports::diagnostics::IErrorReporter > errorReporter)
Creates the default statement import service over the configured adapters.