Options: PDF import, OCR and licence
PDF import and OCR
Section titled “PDF import and OCR”| Option | Default | Effect |
|---|---|---|
PdfImportMaxOcrPages |
10 |
pages per PDF that go through OCR; the rest is skipped (latency protection) |
OcrResourceFolder |
(empty) | the folder holding the Tesseract language data. Empty = OCR off; scans then yield an empty extraction with a notice, while PDFs with a text layer carry on. Environment: OCR_RESOURCE_FOLDER |
PdfImportLexiconOverrideEnabled |
(not set) | not set = on when OnPremise; off otherwise |
PdfImportLexiconOverrideFile |
data/pdf-import-lexicon.custom.json |
your own field labels as a difference (added/removed per concept and language) from the bundled list |
Your own field labels
Section titled “Your own field labels”The vocabulary file is deliberately a difference and not a copy: a product update brings new terms and keeps your additions.
The concepts can be looked up in the read-only copy Resources\pdf-import-lexicon.json in the
target directory; changes to that file have no effect.
Optional refinement by a language model
Section titled “Optional refinement by a language model”| Option | Default | Effect |
|---|---|---|
PdfImportLlmEnabled |
false |
fills only empty or uncertain fields |
PdfImportLlmEndpoint |
(empty) | the base URL of the self-hosted model service (Ollama-compatible) |
PdfImportLlmModel |
(empty) | the model name in that service |
PdfImportLlmTimeoutMs |
10000 |
a hard time limit per call; after it, the heuristic alone counts |
PdfImportLlmMaxChars |
6000 |
the upper limit on page-text characters passed in |
The PDF engine licence
Section titled “The PDF engine licence”| Option | Default | Effect |
|---|---|---|
GdPictureLicenseKey |
(empty) | required for the DOCX-to-PDF step of template creation and for the OCR of scanned PDFs. Empty = both functions off, everything else runs. Environment: GDPICTURE_LICENSE_KEY |
The provider is resolved lazily; without a key the licence-free routes remain fully usable: the auto-layout PDF, ZUGFeRD/Factur-X embedding, all format conversions and validation.
Values verified against the code on 22 October 2026.