org.apache.poi.xwpf.converter.core.openxmlformats
Class AbstractOpenXMLFormatsPartProvider

java.lang.Object
  extended by org.apache.poi.xwpf.converter.core.openxmlformats.AbstractOpenXMLFormatsPartProvider
All Implemented Interfaces:
IOpenXMLFormatsPartProvider
Direct Known Subclasses:
ZipArchive

public abstract class AbstractOpenXMLFormatsPartProvider
extends Object
implements IOpenXMLFormatsPartProvider


Constructor Summary
AbstractOpenXMLFormatsPartProvider()
           
 
Method Summary
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTDocument1 getDocument()
           
protected abstract  InputStream getEntryInputStream(String entryName)
           
 List<org.openxmlformats.schemas.wordprocessingml.x2006.main.FontsDocument> getFontsDocument()
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.FtrDocument getFtrDocumentByPartId(String relId)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.HdrDocument getHdrDocumentByPartId(String relId)
           
 InputStream getInputStreamByRelId(String partName, String relId)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSettings getSettings()
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyles getStyle()
           
 List<org.openxmlformats.schemas.drawingml.x2006.main.ThemeDocument> getThemeDocuments()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractOpenXMLFormatsPartProvider

public AbstractOpenXMLFormatsPartProvider()
Method Detail

getDocument

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTDocument1 getDocument()
                                                                               throws Exception
Specified by:
getDocument in interface IOpenXMLFormatsPartProvider
Throws:
Exception

getStyle

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyles getStyle()
                                                                         throws Exception
Specified by:
getStyle in interface IOpenXMLFormatsPartProvider
Throws:
Exception

getFontsDocument

public List<org.openxmlformats.schemas.wordprocessingml.x2006.main.FontsDocument> getFontsDocument()
                                                                                            throws Exception
Specified by:
getFontsDocument in interface IOpenXMLFormatsPartProvider
Throws:
Exception

getSettings

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSettings getSettings()
                                                                              throws Exception
Specified by:
getSettings in interface IOpenXMLFormatsPartProvider
Throws:
Exception

getThemeDocuments

public List<org.openxmlformats.schemas.drawingml.x2006.main.ThemeDocument> getThemeDocuments()
                                                                                      throws Exception
Specified by:
getThemeDocuments in interface IOpenXMLFormatsPartProvider
Throws:
Exception

getFtrDocumentByPartId

public org.openxmlformats.schemas.wordprocessingml.x2006.main.FtrDocument getFtrDocumentByPartId(String relId)
                                                                                          throws Exception
Specified by:
getFtrDocumentByPartId in interface IOpenXMLFormatsPartProvider
Throws:
Exception

getHdrDocumentByPartId

public org.openxmlformats.schemas.wordprocessingml.x2006.main.HdrDocument getHdrDocumentByPartId(String relId)
                                                                                          throws Exception
Specified by:
getHdrDocumentByPartId in interface IOpenXMLFormatsPartProvider
Throws:
Exception

getInputStreamByRelId

public InputStream getInputStreamByRelId(String partName,
                                         String relId)
                                  throws Exception
Specified by:
getInputStreamByRelId in interface IOpenXMLFormatsPartProvider
Throws:
Exception

getEntryInputStream

protected abstract InputStream getEntryInputStream(String entryName)


Copyright © 2013. All rights reserved.