init_scan
Initializes document scanning in HWP files to extract all text. Specify a document ID and scan option to prepare text retrieval for subsequent get_text operations.
Instructions
Initialize document scanning for text extraction.
option=0x0077(119) scans all text. Use with get_text/release_scan.
Args: doc_id: Document ID from open_document option: Scan option flags (default 119 = all text) range: Scan range (0=entire document)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | ||
| doc_id | Yes | ||
| option | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||