Skip to main content

Supported segment types for Excel files

The Excel parser maps identified elements to Chunkr’s existing segment types, ensuring seamless integration with your current workflow. The following segment types are supported:

Excel Segment Output Structure

When processing Excel files, Chunkr returns segments with both standard properties (common to all document types) and Excel-specific metadata. Understanding this structure is crucial for working with Excel parsing results effectively.

Standard Segment Properties

Each Excel segment contains the core properties found in all Chunkr outputs:

Excel-Specific Properties: The ss_ Keys

The key difference between Excel outputs and regular document outputs are the ss_ (spreadsheet-specific) keys. These properties provide essential Excel context that doesn’t exist in PDF or other document formats:

Why Excel Needs Special Keys

The ss_ fields exist to work with native Excel values and maintain the mapping between identified content and the original Excel structure. These fields only exist for spreadsheet files. The ss_ keys hold state for what was identified and map it back to Excel cells and ranges, enabling you to:
  1. Map to original Excel cells: Access the exact cells (ss_cells) that were identified as part of each segment
  2. Preserve Excel ranges: Know the exact cell range (ss_range) each segment corresponds to
  3. Track sheet context: Identify which worksheet (ss_sheet_name) the content came from
  4. Maintain Excel structure: Work with native Excel data like formulas, cell values, and styling

Complete Excel Segment Example

Here’s what a complete Excel Table segment looks like:

Excel Chart Example

Charts and graphs in Excel are identified as Picture segments with spreadsheet context:

Accessing Excel Metadata in Code

This Excel-specific metadata makes Chunkr’s Excel parser uniquely powerful for AI applications that need to understand and work with spreadsheet structure and context.