17 lines
383 B
C++
17 lines
383 B
C++
#pragma once
|
|||
|
|
|
||
|
|
#include "pdfengine/pdf_document.hpp"
|
||
|
|
#include "pdfengine/document/raw_ocr_document.hpp"
|
||
|
|
|
||
|
|
namespace pdfengine::document {
|
||
|
|
|
||
|
|
class DocumentBuilder {
|
||
|
|
public:
|
||
|
|
DocumentBuilder() = default;
|
||
|
|
|
||
|
|
// Shared builder: converts raw OCR observation pages into native PageModel
|
||
|
|
PageModel buildFromOCR(const RawOCRPage& rawPage) const;
|
||
|
|
};
|
||
|
|
|
||
|
|
} // namespace pdfengine::document
|