MCPcopy Create free account

hub / github.com/docling-project/docling-parse / functions

Functions1,406 in github.com/docling-project/docling-parse

Methodsanitise_contents
src/parse/pdf_decoders/page.h:1341
Methodsave_to_file
src/parse/pdf_resources/page_xobject_image.h:1227
Methodset
src/parse/pdf_resources/page_fonts.h:129
Methodset
src/parse/pdf_resources/page_font.h:674
Methodset
src/parse/pdf_resources/page_xobjects.h:333
Methodset
src/parse/pdf_resources/page_xobject_postscript.h:60
Methodset
src/parse/pdf_resources/page_grphs.h:123
Methodset
src/parse/pdf_resources/page_colorspaces.h:107
Methodset
src/parse/pdf_resources/page_colorspace.h:78
Methodset
src/parse/pdf_resources/page_xobject_form.h:88
Methodset_color
src/parse/pdf_states/grph.h:368
Methodset_color_space
Per PDF spec, CS/cs also reset the current color to the color space's initial value: black for the device spaces and the resolved resource spaces we a
src/parse/pdf_states/grph.h:570
Methodset_loglevel
Set the log level using a string label. Parameters: level (str): Logging level as a string. One of ['fatal', 'er
docling_parse/pdf_parser.py:965
Methodset_loglevel_with_label
src/pybind/docling_threaded_base.h:170
Methodset_loglevel_with_label
src/pybind/docling_parser.h:112
Methodset_mapping
src/parse/pdf_resources/page_font/cmap.h:794
Methodset_range
src/parse/pdf_resources/page_font/cmap.h:819
Methodset_resources_dir
src/resources.h:29
Methodset_resources_path
src/pybind/docling_resources.h:36
Methodset_size
src/render/blend2d_renderer.h:752
Methodset_size
src/render/naive_renderer.h:47
Methodset_size
src/render/template_renderer.h:34
Methodset_size
app/pybind_parse.cpp:71
Methodset_size
app/pybind_parse.cpp:200
Methodset_size
app/analyse.cpp:39
Methodshape_instruction
src/parse/page_items/render_instructions.h:581
Methodshape_subpath
src/parse/page_items/render_instructions.h:547
Methodshould_fit_glyph_bbox_to_target
Decides whether a text cell should use glyph-bbox fitting when glyph bbox metadata is available. ASCII alphanumeric/punctuation/space text usually ren
src/render/blend2d_renderer.h:174
Methodsignificant_tokens
src/render/blend2d_font_resolver.h:388
Methodsize
src/parse/pdf_resources/page_grphs.h:61
Methodsize
src/parse/pdf_resources/page_colorspaces.h:45
Methodsize
src/parse/page_items/render_instructions.h:53
Methodsize
src/parse/page_items/page_hyperlinks.h:78
Methodsize
src/parse/page_items/page_images.h:83
Methodsize
src/parse/page_items/page_widgets.h:78
Methodsplit_tokens
src/render/blend2d_font_resolver.h:369
Methodstart_workers
src/pybind/docling_threaded_base.h:445
Methodstatic_keys
Get all static timing key names.
docling_parse/pdf_parser.py:178
Functionstream_free
src/parse/utils/jpx/jpx_utils.h:79
Functionstream_read
src/parse/utils/jpx/jpx_utils.h:41
Functionstream_seek
src/parse/utils/jpx/jpx_utils.h:68
Functionstream_skip
src/parse/utils/jpx/jpx_utils.h:55
Methodstrip_subset_prefix
src/render/blend2d_font_resolver.h:275
Methodstroke_text_bbox
src/render/blend2d_renderer.h:932
Methodsystem_font_directories
src/render/blend2d_font_resolver.h:426
Methodtest_all_regression_pdfs_parse_without_error
Every regression PDF must parse without exception under French locale.
tests/test_locale_safety.py:242
Functiontest_annotations_match_groundtruth
Test that annotations match parser groundtruth.
tests/test_parse.py:1045
Functiontest_bitmap_materialization_cache_false_then_true
Requesting False then True for the same page returns the correct result each time.
tests/test_parse.py:1155
Functiontest_bitmap_materialization_cache_true_then_false
Requesting True then False for the same page returns the correct result each time.
tests/test_parse.py:1182
Functiontest_bitmap_no_materialization_has_no_image
include_bitmap_bytes=False produces placeholders with image=None.
tests/test_parse.py:1134
Functiontest_bitmap_no_materialization_preserves_geometry
bitmap_resources count and rects match regardless of bitmap bytes.
tests/test_parse.py:1099
Functiontest_boundary_types
Test loading PDF with different boundary types.
tests/test_parse.py:827
Methodtest_bytesio_loading_under_comma_locale
Loading from BytesIO must work under comma locale.
tests/test_locale_safety.py:348
Methodtest_cell_text_content_unaffected_by_locale
Text content extraction must not depend on locale. While the primary bug is coordinate corruption, we verify that the text itself is
tests/test_locale_safety.py:488
Functiontest_char_code_is_exported_for_single_char_cells
Single-character cells expose their decoded PDF character code.
tests/test_embedded_fonts.py:222
Functiontest_content_escalation_redecodes_page
Opening without word cells, then requesting them, re-decodes the page.
tests/test_parse.py:1249
Methodtest_coordinate_stability_across_repeated_locale_switches
Parse same PDF under alternating locales — results must be identical.
tests/test_locale_safety.py:448
Functiontest_decode_page_config_exposes_extract_font_programs
The C++ decode config exposes extraction, defaulting to off. Parse-only pipelines must not pay for font stream decoding; the threaded render
tests/test_embedded_fonts.py:72
Functiontest_embedded_face_cache_is_shared_across_documents
Two documents with identical fonts share one embedded-face cache. The cache inside one parser is shared by all workers and documents and is k
tests/test_embedded_fonts.py:247
Functiontest_embedded_font_blob_is_shared_per_font
All instructions of one PDF font reference the same blob. The content-hash cache key is the observable identity of the shared blob: one font
tests/test_embedded_fonts.py:199
Functiontest_embedded_fonts_render_all_font_pages
Smoke test: every embedded-font-bearing page renders successfully. Covers the .notdef fallback (subset fonts missing glyphs must not produce
tests/test_embedded_fonts.py:137
Functiontest_embedded_truetype_changes_rendering
An embedded TrueType face must actually be used for drawing. With resolve_fonts=False the only alternatives are the hardcoded fallback font o
tests/test_embedded_fonts.py:85
Functiontest_embedded_type1_changes_rendering
Type 1 embedded fonts render through the FreeType outline path. Blend2D rejects raw /FontFile programs, so the renderer decomposes their glyp
tests/test_embedded_fonts.py:111
Functiontest_extraction_attaches_embedded_font_metadata
Text instructions carry embedded font metadata (never the bytes).
tests/test_embedded_fonts.py:172
Functiontest_get_annotations
Test accessing document annotations.
tests/test_parse.py:887
Functiontest_get_image_canvas_size_is_accepted_for_canvas_config
()
tests/test_threaded_render.py:301
Functiontest_get_image_canvas_size_is_accepted_for_scale_config
()
tests/test_threaded_render.py:319
Functiontest_get_image_crops_using_page_coordinates
()
tests/test_threaded_render.py:367
Functiontest_get_image_raises_without_rendering
Parse-only results must fail loudly when image access is requested.
tests/test_threaded_render.py:231
Functiontest_get_image_rejects_scale_with_canvas_size
()
tests/test_threaded_render.py:344
Functiontest_get_image_rerenders_non_default_scale
()
tests/test_threaded_render.py:282
Functiontest_get_image_scale_rerenders_for_canvas_config
()
tests/test_threaded_render.py:265
Functiontest_get_page_individually
Test accessing individual pages without iterating all pages.
tests/test_parse.py:782
Functiontest_glyph_names_are_exported_for_differences_encodings
Cells of fonts with /Encoding /Differences expose their glyph name. The page-1 NimbusRomNo9L fonts carry a /Differences array, so at least so
tests/test_embedded_fonts.py:230
Methodtest_guard_is_noop_under_c_locale
The guard must not change anything when LC_NUMERIC is already safe.
tests/test_locale_safety.py:545
Methodtest_import_resets_numeric_locale
Importing docling_parse must ensure LC_NUMERIC uses '.' separator.
tests/test_locale_safety.py:527
Functiontest_lazy_vs_eager_pages_identical
Verify that lazy and eager loading produce identical pages.
tests/test_parse.py:859
Functiontest_list_loaded_keys_lifecycle
Test document key management through load/unload lifecycle.
tests/test_parse.py:750
Functiontest_load_from_bytesio_eager
Test loading PDF from BytesIO with lazy=False.
tests/test_parse.py:725
Functiontest_load_from_bytesio_lazy
Test loading PDF from BytesIO with lazy=True.
tests/test_parse.py:697
Functiontest_load_lazy_or_eager
()
tests/test_parse.py:640
Functiontest_load_two_distinct_docs
()
tests/test_parse.py:660
Methodtest_multi_page_document_all_pages_valid
All pages of a multi-page PDF must parse correctly.
tests/test_locale_safety.py:367
Methodtest_nonzero_fractional_dimensions
Page dimensions must retain their fractional part. The pre-fix bug would truncate 612.0 → 612 (benign) but 595.276 → 595 (wrong by 0.
tests/test_locale_safety.py:162
Methodtest_page_count_consistent_across_locales
Page count must not depend on locale.
tests/test_locale_safety.py:270
Methodtest_page_dimensions_under_comma_locale
Page dimensions must not be truncated under French locale. This is the core bug: a page width of 612.0 points would be parsed as 612
tests/test_locale_safety.py:129
Functiontest_reference_documents_from_filenames
(update_groundtruth: bool)
tests/test_parse.py:451
Functiontest_render_backpressure
Verify rendering completes correctly with max_concurrent_results=1.
tests/test_threaded_render.py:209
Functiontest_render_config_exposes_bbox_fit_flag
RenderConfig exposes the opt-in glyph bbox fit flag.
tests/test_threaded_render.py:411
Functiontest_render_config_exposes_use_embedded_fonts
RenderConfig exposes the embedded-font opt-out, defaulting to on.
tests/test_embedded_fonts.py:63
Functiontest_render_config_rejects_scale_with_canvas_dimensions
()
tests/test_threaded_render.py:358
Functiontest_render_custom_render_config
Parser accepts a non-default RenderConfig without error.
tests/test_threaded_render.py:247
Functiontest_render_from_bytesio
Render a document loaded from a BytesIO object.
tests/test_threaded_render.py:189
Functiontest_render_image_dimensions_are_consistent
Verify rendered image dimensions are positive and stable.
tests/test_threaded_render.py:149
Functiontest_render_multiple_documents
Load multiple PDFs and verify all pages are rendered.
tests/test_threaded_render.py:163
Functiontest_render_reference_documents_from_filenames
Render all regression PDFs and verify parse output against groundtruth.
tests/test_threaded_render.py:420
Functiontest_render_scale_config_handles_pages_with_different_sizes
(tmp_path: Path)
tests/test_threaded_render.py:391
Functiontest_render_single_document
Render all pages of one document and verify each result is a valid RGBA image.
tests/test_threaded_render.py:119
Functiontest_render_single_thread
Render with a single thread as a sequential baseline.
tests/test_threaded_render.py:220
Functiontest_rendered_pages_match_groundtruth
Compare Blend2D threaded-render output with renderer groundtruth artifacts.
tests/test_threaded_render.py:531
← previousnext →1,201–1,300 of 1,406, ranked by callers