Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/docling-project/docling-parse
/ functions
Functions
1,406 in github.com/docling-project/docling-parse
⨍
Functions
1,406
◇
Types & classes
184
Method
sanitise_contents
src/parse/pdf_decoders/page.h:1341
Method
save_to_file
src/parse/pdf_resources/page_xobject_image.h:1227
Method
set
src/parse/pdf_resources/page_fonts.h:129
Method
set
src/parse/pdf_resources/page_font.h:674
Method
set
src/parse/pdf_resources/page_xobjects.h:333
Method
set
src/parse/pdf_resources/page_xobject_postscript.h:60
Method
set
src/parse/pdf_resources/page_grphs.h:123
Method
set
src/parse/pdf_resources/page_colorspaces.h:107
Method
set
src/parse/pdf_resources/page_colorspace.h:78
Method
set
src/parse/pdf_resources/page_xobject_form.h:88
Method
set_color
src/parse/pdf_states/grph.h:368
Method
set_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
Method
set_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
Method
set_loglevel_with_label
src/pybind/docling_threaded_base.h:170
Method
set_loglevel_with_label
src/pybind/docling_parser.h:112
Method
set_mapping
src/parse/pdf_resources/page_font/cmap.h:794
Method
set_range
src/parse/pdf_resources/page_font/cmap.h:819
Method
set_resources_dir
src/resources.h:29
Method
set_resources_path
src/pybind/docling_resources.h:36
Method
set_size
src/render/blend2d_renderer.h:752
Method
set_size
src/render/naive_renderer.h:47
Method
set_size
src/render/template_renderer.h:34
Method
set_size
app/pybind_parse.cpp:71
Method
set_size
app/pybind_parse.cpp:200
Method
set_size
app/analyse.cpp:39
Method
shape_instruction
src/parse/page_items/render_instructions.h:581
Method
shape_subpath
src/parse/page_items/render_instructions.h:547
Method
should_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
Method
significant_tokens
src/render/blend2d_font_resolver.h:388
Method
size
src/parse/pdf_resources/page_grphs.h:61
Method
size
src/parse/pdf_resources/page_colorspaces.h:45
Method
size
src/parse/page_items/render_instructions.h:53
Method
size
src/parse/page_items/page_hyperlinks.h:78
Method
size
src/parse/page_items/page_images.h:83
Method
size
src/parse/page_items/page_widgets.h:78
Method
split_tokens
src/render/blend2d_font_resolver.h:369
Method
start_workers
src/pybind/docling_threaded_base.h:445
Method
static_keys
Get all static timing key names.
docling_parse/pdf_parser.py:178
Function
stream_free
src/parse/utils/jpx/jpx_utils.h:79
Function
stream_read
src/parse/utils/jpx/jpx_utils.h:41
Function
stream_seek
src/parse/utils/jpx/jpx_utils.h:68
Function
stream_skip
src/parse/utils/jpx/jpx_utils.h:55
Method
strip_subset_prefix
src/render/blend2d_font_resolver.h:275
Method
stroke_text_bbox
src/render/blend2d_renderer.h:932
Method
system_font_directories
src/render/blend2d_font_resolver.h:426
Method
test_all_regression_pdfs_parse_without_error
Every regression PDF must parse without exception under French locale.
tests/test_locale_safety.py:242
Function
test_annotations_match_groundtruth
Test that annotations match parser groundtruth.
tests/test_parse.py:1045
Function
test_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
Function
test_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
Function
test_bitmap_no_materialization_has_no_image
include_bitmap_bytes=False produces placeholders with image=None.
tests/test_parse.py:1134
Function
test_bitmap_no_materialization_preserves_geometry
bitmap_resources count and rects match regardless of bitmap bytes.
tests/test_parse.py:1099
Function
test_boundary_types
Test loading PDF with different boundary types.
tests/test_parse.py:827
Method
test_bytesio_loading_under_comma_locale
Loading from BytesIO must work under comma locale.
tests/test_locale_safety.py:348
Method
test_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
Function
test_char_code_is_exported_for_single_char_cells
Single-character cells expose their decoded PDF character code.
tests/test_embedded_fonts.py:222
Function
test_content_escalation_redecodes_page
Opening without word cells, then requesting them, re-decodes the page.
tests/test_parse.py:1249
Method
test_coordinate_stability_across_repeated_locale_switches
Parse same PDF under alternating locales — results must be identical.
tests/test_locale_safety.py:448
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Function
test_extraction_attaches_embedded_font_metadata
Text instructions carry embedded font metadata (never the bytes).
tests/test_embedded_fonts.py:172
Function
test_get_annotations
Test accessing document annotations.
tests/test_parse.py:887
Function
test_get_image_canvas_size_is_accepted_for_canvas_config
()
tests/test_threaded_render.py:301
Function
test_get_image_canvas_size_is_accepted_for_scale_config
()
tests/test_threaded_render.py:319
Function
test_get_image_crops_using_page_coordinates
()
tests/test_threaded_render.py:367
Function
test_get_image_raises_without_rendering
Parse-only results must fail loudly when image access is requested.
tests/test_threaded_render.py:231
Function
test_get_image_rejects_scale_with_canvas_size
()
tests/test_threaded_render.py:344
Function
test_get_image_rerenders_non_default_scale
()
tests/test_threaded_render.py:282
Function
test_get_image_scale_rerenders_for_canvas_config
()
tests/test_threaded_render.py:265
Function
test_get_page_individually
Test accessing individual pages without iterating all pages.
tests/test_parse.py:782
Function
test_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
Method
test_guard_is_noop_under_c_locale
The guard must not change anything when LC_NUMERIC is already safe.
tests/test_locale_safety.py:545
Method
test_import_resets_numeric_locale
Importing docling_parse must ensure LC_NUMERIC uses '.' separator.
tests/test_locale_safety.py:527
Function
test_lazy_vs_eager_pages_identical
Verify that lazy and eager loading produce identical pages.
tests/test_parse.py:859
Function
test_list_loaded_keys_lifecycle
Test document key management through load/unload lifecycle.
tests/test_parse.py:750
Function
test_load_from_bytesio_eager
Test loading PDF from BytesIO with lazy=False.
tests/test_parse.py:725
Function
test_load_from_bytesio_lazy
Test loading PDF from BytesIO with lazy=True.
tests/test_parse.py:697
Function
test_load_lazy_or_eager
()
tests/test_parse.py:640
Function
test_load_two_distinct_docs
()
tests/test_parse.py:660
Method
test_multi_page_document_all_pages_valid
All pages of a multi-page PDF must parse correctly.
tests/test_locale_safety.py:367
Method
test_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
Method
test_page_count_consistent_across_locales
Page count must not depend on locale.
tests/test_locale_safety.py:270
Method
test_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
Function
test_reference_documents_from_filenames
(update_groundtruth: bool)
tests/test_parse.py:451
Function
test_render_backpressure
Verify rendering completes correctly with max_concurrent_results=1.
tests/test_threaded_render.py:209
Function
test_render_config_exposes_bbox_fit_flag
RenderConfig exposes the opt-in glyph bbox fit flag.
tests/test_threaded_render.py:411
Function
test_render_config_exposes_use_embedded_fonts
RenderConfig exposes the embedded-font opt-out, defaulting to on.
tests/test_embedded_fonts.py:63
Function
test_render_config_rejects_scale_with_canvas_dimensions
()
tests/test_threaded_render.py:358
Function
test_render_custom_render_config
Parser accepts a non-default RenderConfig without error.
tests/test_threaded_render.py:247
Function
test_render_from_bytesio
Render a document loaded from a BytesIO object.
tests/test_threaded_render.py:189
Function
test_render_image_dimensions_are_consistent
Verify rendered image dimensions are positive and stable.
tests/test_threaded_render.py:149
Function
test_render_multiple_documents
Load multiple PDFs and verify all pages are rendered.
tests/test_threaded_render.py:163
Function
test_render_reference_documents_from_filenames
Render all regression PDFs and verify parse output against groundtruth.
tests/test_threaded_render.py:420
Function
test_render_scale_config_handles_pages_with_different_sizes
(tmp_path: Path)
tests/test_threaded_render.py:391
Function
test_render_single_document
Render all pages of one document and verify each result is a valid RGBA image.
tests/test_threaded_render.py:119
Function
test_render_single_thread
Render with a single thread as a sequential baseline.
tests/test_threaded_render.py:220
Function
test_rendered_pages_match_groundtruth
Compare Blend2D threaded-render output with renderer groundtruth artifacts.
tests/test_threaded_render.py:531
← previous
next →
1,201–1,300 of 1,406, ranked by callers