Skip to main content

Module office

Module office 

Source
Expand description

Office document extractor (OOXML and ODT).

Reads ZIP containers and pulls visible text from XML parts. Supported: .docx, .xlsx, .pptx, .odt. Not supported: legacy binary .doc / .xls / .ppt, RTF, EPUB.

Structsยง

OfficeExtractor
Office/OpenDocument text extractor.

Enumsยง

OfficeKind ๐Ÿ”’

Constantsยง

DOCX_MIME ๐Ÿ”’
MAX_ENTRY_UNCOMPRESSED ๐Ÿ”’
Per-entry uncompressed cap (zip-bomb guard).
MAX_ODT_SPACES ๐Ÿ”’
Upper bound on spaces expanded from one ODT text:c count.
MAX_TOTAL_UNCOMPRESSED ๐Ÿ”’
Aggregate uncompressed cap across extracted XML parts.
ODT_MIME ๐Ÿ”’
PPTX_MIME ๐Ÿ”’
XLSX_MIME ๐Ÿ”’

Functionsยง

cell_is_shared_string ๐Ÿ”’
collect_part_names ๐Ÿ”’
decode_utf16 ๐Ÿ”’
decode_xml_part ๐Ÿ”’
extract_kind ๐Ÿ”’
extract_named_parts ๐Ÿ”’
extract_xlsx ๐Ÿ”’
find_close_local ๐Ÿ”’
inner_elements ๐Ÿ”’
is_block_local ๐Ÿ”’
local_name ๐Ÿ”’
natural_cmp ๐Ÿ”’
normalize_ws ๐Ÿ”’
odt_space_count ๐Ÿ”’
open_zip ๐Ÿ”’
parse_shared_strings ๐Ÿ”’
push_decoded ๐Ÿ”’
read_entry_bytes ๐Ÿ”’
read_xml_part ๐Ÿ”’
tag_name ๐Ÿ”’
vanish_disabled ๐Ÿ”’
xlsx_sheet_to_text ๐Ÿ”’
xml_to_text ๐Ÿ”’