org.modeshape.sequencer.msoffice.word

## Class WordMetadataReader

- java.lang.Object
- - org.modeshape.sequencer.msoffice.word.WordMetadataReader

-     public class WordMetadataReader
      extends Object

  Infers table of contents from Word document by reading all paragraphs with style `Heading*`. This is analogous to the default behavior of Word when generating a table of contents.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `WordMetadataReader()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static WordMetadata` | `instance(InputStream stream)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### WordMetadataReader

          public WordMetadataReader()

  - ### Method Detail

    - #### instance

          public static WordMetadata instance(InputStream stream)
                                       throws IOException

      Throws:
        `IOException`

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.