Power Document Extractor icon

Power Document Extractor

Extract structured blocks from any document format locally

Extract ODG

AI-generated

Summary

Extracts ODG file blocks and metadata at the specified detail level, using LibreOffice conversion when a server URL is provided and falling back to text extraction otherwise.

Inputs

  • binaryPropertyName — Name of the binary property containing the file; defaults to 'data'.

Output shape

An array containing one item with a json property. json.blocks holds the extracted content blocks; json.metadata holds file information including fileName, fileSize, fileType, mimeType, and originalFileSize if available, plus libreOfficeError if fallback text extraction was used.

The structuredLevel parameter (Raw/Basic/Full) controls the granularity of blocks. The libreOfficeUrl parameter is optional; if left empty, conversion falls back to text extraction and may set libreOfficeError in metadata.

Examples

Example 1: Extract ODG from binary property 'data' at Full detail

binaryPropertyName: 'data', structuredLevel: 'full', libreOfficeUrl: ''

Discussion