Repository navigation
Replies: 1 comment
|
From the source (docling 2.152.0 / docling-core 2.108.0, the versions you used), the DOCX header/footer and PPTX notes results come from export-time filtering, not missing extraction:
from docling_core.types.doc import ContentLayer
text = result.document.export_to_text(
included_content_layers={ContentLayer.BODY, ContentLayer.FURNITURE, ContentLayer.NOTES}
)I haven't rerun your files, but I'd expect this call to bring the headers, footers and notes back. That would be worth checking before the note is cited, since "excluded from the default export, available via a parameter" is a different finding than "missing". There's also a |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I am writing before releasing a short measurement note. Docling may leave these parts out of the default export on purpose; I am reporting what the call returned.
Version: docling 2.152.0 (docling-core 2.108.0, docling-parse 7.27.1), Python 3.12.13, macOS. Call: DocumentConverter().convert(path).document.export_to_text(), defaults. Constructed files, 5 seeds, no exception. ConversionResult.status was SUCCESS with no errors (checked afterwards).
DOCX body and tables, PPTX body, plain PDFs and HTML were returned in full. I did not test a setting for headers, footers or notes.
A short note describing these measurements will be posted on arXiv, with a public test-file bundle (link to follow). Please tell me of any correction before it is cited.
Adam Faust
MOBLUEHQ, Inc.
adam@mobluehq.com
All reactions