scitex_msword.utils

Utility functions for processing MS Word documents.

These functions can be used as post_import_hooks or called directly to process document structures.

Functions

create_post_import_hook(*functions)

Create a composite post_import_hook from multiple functions.

link_captions_to_images(doc)

Link figure captions to images by matching order.

link_captions_to_images_by_proximity(doc)

Link figure captions to images by document proximity.

normalize_section_headings(doc)

Normalize section headings for consistency.

validate_document(doc)

Validate document structure and add warnings.