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

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.apache.poi.xwpf.converter.core.openxmlformats.RelashionShipsHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class RelashionShipsHandler
extends org.xml.sax.helpers.DefaultHandler


Method Summary
static RelashionShipsHandler create(String partName, AbstractOpenXMLFormatsPartProvider provider)
           
 List<org.openxmlformats.schemas.wordprocessingml.x2006.main.FontsDocument> getFontsDocument()
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.FtrDocument getFtrDocument(String relId)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.HdrDocument getHdrDocument(String relId)
           
 InputStream getInputStreamByRelId(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()
           
 void startElement(String uri, String localName, String name, Attributes attributes)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static RelashionShipsHandler create(String partName,
                                           AbstractOpenXMLFormatsPartProvider provider)
                                    throws SAXException,
                                           IOException
Throws:
SAXException
IOException

startElement

public final void startElement(String uri,
                               String localName,
                               String name,
                               Attributes attributes)
                        throws SAXException
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class org.xml.sax.helpers.DefaultHandler
Throws:
SAXException

getInputStreamByRelId

public InputStream getInputStreamByRelId(String relId)

getThemeDocuments

public List<org.openxmlformats.schemas.drawingml.x2006.main.ThemeDocument> getThemeDocuments()

getFontsDocument

public List<org.openxmlformats.schemas.wordprocessingml.x2006.main.FontsDocument> getFontsDocument()

getSettings

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSettings getSettings()

getStyle

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyles getStyle()

getFtrDocument

public org.openxmlformats.schemas.wordprocessingml.x2006.main.FtrDocument getFtrDocument(String relId)
                                                                                  throws org.apache.xmlbeans.XmlException,
                                                                                         IOException
Throws:
org.apache.xmlbeans.XmlException
IOException

getHdrDocument

public org.openxmlformats.schemas.wordprocessingml.x2006.main.HdrDocument getHdrDocument(String relId)
                                                                                  throws org.apache.xmlbeans.XmlException,
                                                                                         IOException
Throws:
org.apache.xmlbeans.XmlException
IOException


Copyright © 2013. All rights reserved.