org.modeshape.sequencer.msoffice.word
Class WordMetadataReader

java.lang.Object
  extended by 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
WordMetadataReader()
           
 
Method Summary
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-2010 JBoss, a division of Red Hat. All Rights Reserved.