indexer

indexer

ADVANCED / PREMIUM BASIC

Parses Word documents and return their contents.

Description
public Indexer(String source)

This class parses the content of DOCX documents and returns an array with these contents:

  • body
  • charts
  • comments
  • endnotes
  • fonts
  • footers
  • footnotes
  • headers
  • images
  • links
  • numberings
  • properties
  • sections
  • styles

Parameters

source

The path to the Word document to be parsed.

Return values

HashMap<String, IndexerElement>

Code samples

Example #1: