Uses of Class
org.docx4j.openpackaging.exceptions.Docx4JException
-
Uses of Docx4JException in org.docx4j
Methods in org.docx4j that throw Docx4JException Modifier and Type Method Description static voidDocx4J. bind(WordprocessingMLPackage wmlPackage, java.io.InputStream xmlDocument, int flags)Bind the content controls of the passed document to the xml.static voidDocx4J. bind(WordprocessingMLPackage wmlPackage, java.lang.String xmlDocument, int flags)Bind the content controls of the passed document to the xml.static voidDocx4J. bind(WordprocessingMLPackage wmlPackage, Answers answers, int flags)Bind the content controls of the passed document to the xml (here using optional standardised Answers format).static voidDocx4J. bind(WordprocessingMLPackage wmlPackage, org.w3c.dom.Document xmlDocument, int flags)Bind the content controls of the passed document to the xml.static voidDocx4J. bind(WordprocessingMLPackage wmlPackage, org.w3c.dom.Document xmlDocument, int flags, DocxFetcher docxFetcher)Bind the content controls of the passed document to the xml.static voidDocx4J. bind(WordprocessingMLPackage wmlPackage, org.w3c.dom.Document xmlDocument, int flags, DocxFetcher docxFetcher, XsltProvider xsltProvider, java.lang.String xsltFinisherfilename, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> finisherParams)Bind the content controls of the passed document to the xml, applying some formatting finishing touches to the final docx.static WordprocessingMLPackageDocx4J. clone(WordprocessingMLPackage wmlPackage)Duplicate the documentprotected static Exporter<FOSettings>Docx4J. getFOExporter(int flags)protected static voidDocx4J. insertXMLData(CustomXmlPart customXmlDataStoragePart, org.w3c.dom.Document xmlDocument)static WordprocessingMLPackageDocx4J. load(java.io.File inFile)Load a Docx Document from a Filestatic OpcPackageDocx4J. load(java.io.File inFile, Filetype type)Load a docx/pptx/xlsx from a File, where you know in advance what type (zip, compound, flat opc) it is.static WordprocessingMLPackageDocx4J. load(java.io.InputStream inStream)Load a Docx Document from an InputStreamstatic WordprocessingMLPackageDocx4J. load(PackageIdentifier pkgIdentifier, java.io.File inFile)Load a Docx Document from a File, assigning it an identifier for eventingstatic WordprocessingMLPackageDocx4J. load(PackageIdentifier pkgIdentifier, java.io.InputStream inStream)Load a Docx Document from an InputStream, assigning it an identifier for eventingstatic javax.xml.bind.util.JAXBResultXmlUtils. prepareJAXBResult(javax.xml.bind.JAXBContext context)Prepare a JAXB transformation result for some given context.protected static voidDocx4J. removeSDTs(WordprocessingMLPackage wmlPackage)static voidDocx4J. save(OpcPackage pkg, java.io.File outFile)Save a Ddocx/pptx/xlsx to a File.static voidDocx4J. save(OpcPackage pkg, java.io.File outFile, int flags)Save a docx/pptx/xlsx to a File.static voidDocx4J. save(OpcPackage pkg, java.io.File outFile, int flags, java.lang.String password)Save a docx/pptx/xlsx to a File.static voidDocx4J. save(OpcPackage pkg, java.io.OutputStream outStream)Save a docx/pptx/xlsx to an OutputStream using flag Docx4J.FLAG_SAVE_ZIP_FILEstatic voidDocx4J. save(OpcPackage pkg, java.io.OutputStream outStream, int flags)Save a docx/pptx/xlsx to an OutputStream.static voidDocx4J. save(OpcPackage pkg, java.io.OutputStream outStream, int flags, java.lang.String password)Save this pkg to an OutputStream.static voidDocx4J. toFO(FOSettings settings, java.io.OutputStream outputStream, int flags)Convert the document via xsl-fostatic voidDocx4J. toHTML(HTMLSettings settings, java.io.OutputStream outputStream, int flags)Convert the document to HTMLstatic voidDocx4J. toHTML(WordprocessingMLPackage wmlPackage, java.lang.String imageDirPath, java.lang.String imageTargetUri, java.io.OutputStream outputStream)Convert the document to HTMLstatic voidDocx4J. toPDF(WordprocessingMLPackage wmlPackage, java.io.OutputStream outputStream)Convenience method to convert the document to PDFstatic voidXmlUtils. transform(javax.xml.transform.Source source, javax.xml.transform.Templates template, java.util.Map<java.lang.String,java.lang.Object> transformParameters, javax.xml.transform.Result result)Transform an input document using XSLTstatic voidXmlUtils. transform(org.w3c.dom.Document doc, javax.xml.transform.Templates template, java.util.Map<java.lang.String,java.lang.Object> transformParameters, javax.xml.transform.Result result)static voidXmlUtils. w3CDomNodeToOutputStream(org.w3c.dom.Node n, java.io.OutputStream os) -
Uses of Docx4JException in org.docx4j.convert.in
Methods in org.docx4j.convert.in that throw Docx4JException Modifier and Type Method Description OpcPackageFlatOpcXmlImporter. get()PartFlatOpcXmlImporter. getRawPart(ContentTypeManager ctm, java.lang.String resolvedPartUri, Relationship rel)static PartFlatOpcXmlImporter. getRawPart(ContentTypeManager ctm, Part pkgPart, Relationship rel)Get a Part (except a relationships part), but not its relationships part or related parts.RelationshipsPartFlatOpcXmlImporter. getRelationshipsPart(Part part)Get the Relationships Part (if there is one) for a given Part. -
Uses of Docx4JException in org.docx4j.convert.in.word2003xml
Methods in org.docx4j.convert.in.word2003xml that throw Docx4JException Modifier and Type Method Description static voidWord2003XmlConverter. main(java.lang.String[] args)Example of usageConstructors in org.docx4j.convert.in.word2003xml that throw Docx4JException Constructor Description Word2003XmlConverter(javax.xml.transform.Source source) -
Uses of Docx4JException in org.docx4j.convert.in.xhtml
Methods in org.docx4j.convert.in.xhtml that throw Docx4JException Modifier and Type Method Description java.util.List<java.lang.Object>XHTMLImporter. convert(java.io.File file, java.lang.String baseUrl)Convert the well formed XHTML contained in file to a list of WML objects.java.util.List<java.lang.Object>XHTMLImporter. convert(java.io.InputStream is, java.lang.String baseUrl)java.util.List<java.lang.Object>XHTMLImporter. convert(java.io.Reader reader, java.lang.String baseUrl)java.util.List<java.lang.Object>XHTMLImporter. convert(java.lang.String content, java.lang.String baseUrl)Convert the well formed XHTML contained in the string to a list of WML objects.java.util.List<java.lang.Object>XHTMLImporter. convert(java.net.URL url)Convert the well formed XHTML found at the specified URI to a list of WML objects.java.util.List<java.lang.Object>XHTMLImporter. convert(javax.xml.transform.Source source, java.lang.String baseUrl)java.util.List<java.lang.Object>XHTMLImporter. convert(org.w3c.dom.Node node, java.lang.String baseUrl)java.util.List<java.lang.Object>XHTMLImporter. convert(org.xml.sax.InputSource is, java.lang.String baseUrl)Convert the well formed XHTML from the specified SAX InputSource -
Uses of Docx4JException in org.docx4j.convert.out
Methods in org.docx4j.convert.out that throw Docx4JException Modifier and Type Method Description voidConversionHyperlinkHandler. handleHyperlink(ConversionHyperlinkHandler.Model hyperlinkModel, OpcPackage opcPackage, Part currentPart)voidOutput. output(javax.xml.transform.Result result)voidFORenderer. render(java.lang.String foDocument, FOSettings settings, boolean twoPass, java.util.List<FORenderer.SectionPageInformation> pageNumberInformation, java.io.OutputStream outputStream)Render the foDocument to the requested format, if needed do a 2 pass conversion. -
Uses of Docx4JException in org.docx4j.convert.out.common
Methods in org.docx4j.convert.out.common that throw Docx4JException Modifier and Type Method Description protected voidAbstractVisitorExporterDelegate. appendDocumentFooter(CC conversionContext, org.w3c.dom.Document document, org.w3c.dom.Element documentRoot)protected voidAbstractVisitorExporterDelegate. appendDocumentHeader(CC conversionContext, org.w3c.dom.Document document, org.w3c.dom.Element documentRoot)protected voidAbstractVisitorExporterDelegate. appendPartContent(CC conversionContext, org.w3c.dom.Document document, Part part, java.util.List<java.lang.Object> content, org.w3c.dom.Element currentParent)protected voidAbstractVisitorExporterDelegate. appendSectionFooter(CC conversionContext, org.w3c.dom.Document document, ConversionSectionWrapper sectionWrapper, org.w3c.dom.Element currentParent)protected voidAbstractVisitorExporterDelegate. appendSectionHeader(CC conversionContext, org.w3c.dom.Document document, ConversionSectionWrapper sectionWrapper, org.w3c.dom.Element currentParent)protected abstract org.w3c.dom.ElementAbstractVisitorExporterDelegate. createDocumentRoot(CC conversionContext, org.w3c.dom.Document document)protected java.io.OutputStreamAbstractExporter. createIntermediateOutputStream(java.io.OutputStream outputStream)protected org.w3c.dom.ElementAbstractVisitorExporterDelegate. createSectionBody(CC conversionContext, org.w3c.dom.Document document, ConversionSectionWrapper sectionWrapper, org.w3c.dom.Element currentParent)protected org.w3c.dom.ElementAbstractVisitorExporterDelegate. createSectionRoot(CC conversionContext, org.w3c.dom.Document document, ConversionSectionWrapper sectionWrapper, org.w3c.dom.Element currentParent)protected abstract ConversionSectionWrappersAbstractExporter. createWrappers(CS conversionSettings, PK preprocessedPackage)protected ConversionSectionWrappersAbstractWmlExporter. createWrappers(CS conversionSettings, WordprocessingMLPackage preprocessedPackage)voidAbstractExporter. export(CS conversionSettings, java.io.OutputStream outputStream)voidExporter. export(T conversionSettings, java.io.OutputStream outputStream)protected voidAbstractVisitorExporterDelegate. generateBodyContent(CC conversionContext, org.w3c.dom.Document document, java.util.List<java.lang.Object> content, org.w3c.dom.Element currentParent)protected javax.xml.transform.TemplatesAbstractXsltExporterDelegate. getDefaultTemplate()protected abstract org.w3c.dom.DocumentAbstractXsltExporterDelegate. getSourceDocument(CS conversionSettings, CC conversionContext)protected org.w3c.dom.DocumentWmlXsltExporterDelegate. getSourceDocument(CS conversionSettings, CC conversionContext)protected javax.xml.transform.TemplatesAbstractXsltExporterDelegate. getTemplates(CS conversionSettings, CC conversionContext)voidAbstractConversionContext. handleHyperlink(ConversionHyperlinkHandler.Model model)voidAbstractWmlConversionContext. handleHyperlink(ConversionHyperlinkHandler.Model model)protected javax.xml.transform.TemplatesAbstractXsltExporterDelegate. loadDefaultTemplates()protected voidAbstractExporter. postprocess(CS conversionSettings, AbstractConversionContext conversionContext, java.io.OutputStream intermediateOutputStream, java.io.OutputStream outputStream)protected abstract PKAbstractExporter. preprocess(CS conversionSettings)protected WordprocessingMLPackageAbstractWmlExporter. preprocess(CS conversionSettings)protected abstract voidAbstractExporter. process(CS conversionSettings, CC conversionContext, java.io.OutputStream outputStream)abstract voidAbstractExporterDelegate. process(CS conversionSettings, CC conversionContext, java.io.OutputStream outputStream)voidAbstractVisitorExporterDelegate. process(CS conversionSettings, CC conversionContext, java.io.OutputStream outputStream)protected voidAbstractWmlExporter. process(CS conversionSettings, CC conversionContext, java.io.OutputStream outputStream)voidAbstractXsltExporterDelegate. process(CS conversionSettings, CC conversionContext, java.io.OutputStream outputStream)static ConversionSectionWrappersCreateWrappers. process(WordprocessingMLPackage wmlPackage, java.util.Set<java.lang.String> features)This method creates the Sections for the conversion.static OpcPackagePreprocess. process(OpcPackage opcPackage, java.util.Set<java.lang.String> features)This method applies those features in the preprocessing, that may be used with an OpcPackage.
Features processed: PP_COMMON_DEEP_COPYstatic WordprocessingMLPackagePreprocess. process(WordprocessingMLPackage wmlPackage, java.util.Set<java.lang.String> features)This method applies those features in the preprocessing, that may be used with an WordprocessingMLPackage.protected voidAbstractVisitorExporterDelegate. writeDocument(CC conversionContext, org.w3c.dom.Document document, java.io.OutputStream outputStream) -
Uses of Docx4JException in org.docx4j.convert.out.common.preprocess
Methods in org.docx4j.convert.out.common.preprocess that throw Docx4JException Modifier and Type Method Description protected static PartPartialDeepCopy. copyPart(Part part, OpcPackage targetPackage, boolean deepCopy)protected static OpcPackagePartialDeepCopy. createPackage(OpcPackage opcPackage)protected static voidPartialDeepCopy. deepCopyContent(Part source, Part destination)protected static PartPartialDeepCopy. deepCopyPart(OpcPackage opcPackage, Base targetParent, Part sourcePart, java.util.Set<java.lang.String> relationshipTypes)protected static voidPartialDeepCopy. deepCopyRelationships(OpcPackage opcPackage, Base sourcePart, Base targetPart, java.util.Set<java.lang.String> relationshipTypes)static OpcPackagePartialDeepCopy. process(OpcPackage opcPackage, java.util.Set<java.lang.String> relationshipTypes)protected static voidPartialDeepCopy. shallowCopyContent(Part source, Part destination) -
Uses of Docx4JException in org.docx4j.convert.out.common.wrappers
Methods in org.docx4j.convert.out.common.wrappers that throw Docx4JException Modifier and Type Method Description static ConversionSectionWrappersConversionSectionWrapperFactory. process(WordprocessingMLPackage wmlPackage, boolean dummySections, boolean dummyPageNumbering) -
Uses of Docx4JException in org.docx4j.convert.out.flatOpcXml
Methods in org.docx4j.convert.out.flatOpcXml that throw Docx4JException Modifier and Type Method Description voidFlatOpcXmlCreator. addPartsFromRelationships(RelationshipsPart rp)static PartFlatOpcXmlCreator. createRawBinaryPart(Part part)static PartFlatOpcXmlCreator. createRawXmlPart(Part part)PackageFlatOpcXmlCreator. get()static org.w3c.dom.DocumentFlatOpcXmlCreator. getFlatDomDocument(WordprocessingMLPackage wordMLPackage)Return the WordML package in Flat OPC format, as a W3C DOM documentvoidFlatOpcXmlCreator. marshal(java.io.OutputStream os)voidFlatOpcXmlCreator. output(javax.xml.transform.Result result)voidFlatOpcXmlCreator. savePart(Part part)protected voidFlatOpcXmlCreator. saveRawBinaryPart(Part part)voidFlatOpcXmlCreator. saveRawXmlPart(Part part) -
Uses of Docx4JException in org.docx4j.convert.out.html
Methods in org.docx4j.convert.out.html that throw Docx4JException Modifier and Type Method Description protected voidHTMLExporterVisitorDelegate. appendDocumentFooter(HTMLConversionContext conversionContext, org.w3c.dom.Document document, org.w3c.dom.Element documentRoot)protected voidHTMLExporterVisitorDelegate. appendDocumentHeader(HTMLConversionContext conversionContext, org.w3c.dom.Document document, org.w3c.dom.Element documentRoot)protected voidHTMLExporterVisitorDelegate. appendPartContent(HTMLConversionContext conversionContext, org.w3c.dom.Document document, ConversionSectionWrapper sectionWrapper, org.w3c.dom.Element currentParent, java.lang.String className, Part part, java.util.List<java.lang.Object> content)protected voidHTMLExporterVisitorDelegate. appendSectionFooter(HTMLConversionContext conversionContext, org.w3c.dom.Document document, ConversionSectionWrapper sectionWrapper, org.w3c.dom.Element currentParent)protected voidHTMLExporterVisitorDelegate. appendSectionHeader(HTMLConversionContext conversionContext, org.w3c.dom.Document document, ConversionSectionWrapper sectionWrapper, org.w3c.dom.Element currentParent)protected org.w3c.dom.ElementHTMLExporterVisitorDelegate. createDocumentRoot(HTMLConversionContext conversionContext, org.w3c.dom.Document document)protected org.w3c.dom.ElementHTMLExporterVisitorDelegate. createSectionBody(HTMLConversionContext conversionContext, org.w3c.dom.Document document, ConversionSectionWrapper sectionWrapper, org.w3c.dom.Element currentParent)protected org.w3c.dom.ElementHTMLExporterVisitorDelegate. createSectionRoot(HTMLConversionContext conversionContext, org.w3c.dom.Document document, ConversionSectionWrapper sectionWrapper, org.w3c.dom.Element currentParent)protected org.w3c.dom.DocumentHTMLExporterXslt.HTMLExporterXsltDelegate. getSourceDocument(HTMLSettings conversionSettings, HTMLConversionContext conversionContext)protected javax.xml.transform.TemplatesHTMLExporterXslt.HTMLExporterXsltDelegate. loadDefaultTemplates()voidHtmlExporterNG2. output(javax.xml.transform.Result result)Deprecated.voidHTMLExporterXslt.HTMLExporterXsltDelegate. process(HTMLSettings conversionSettings, HTMLConversionContext conversionContext, java.io.OutputStream outputStream) -
Uses of Docx4JException in org.docx4j.fonts.fop.util
Methods in org.docx4j.fonts.fop.util that throw Docx4JException Modifier and Type Method Description static java.lang.StringFopConfigUtil. createDefaultConfiguration(Mapper fontMapper, java.util.Set<java.lang.String> fontsInUse) -
Uses of Docx4JException in org.docx4j.jaxb
Subclasses of Docx4JException in org.docx4j.jaxb Modifier and Type Class Description classXPathBinderAssociationIsPartialException -
Uses of Docx4JException in org.docx4j.model
Constructors in org.docx4j.model that throw Docx4JException Constructor Description ImmutablePropertyResolver(WordprocessingMLPackage wordMLPackage)PropertyResolver(WordprocessingMLPackage wordMLPackage) -
Uses of Docx4JException in org.docx4j.model.datastorage
Subclasses of Docx4JException in org.docx4j.model.datastorage Modifier and Type Class Description classW15RepeatZeroExceptionIn the case where the item is to be repeated zero times (ie the bound XML is empty), Word 2016 Preview leaves the document surface unaltered (eg if there were 3 rows there, it would leave those 3 rows).Methods in org.docx4j.model.datastorage that throw Docx4JException Modifier and Type Method Description protected voidValueInserterPlainTextImpl. addBrRunToDocFrag(org.w3c.dom.DocumentFragment docfrag, RPr rPr)protected voidValueInserterPlainTextForOpenAPI3. addHyperlinkToDocFrag(JaxbXmlPart sourcePart, org.w3c.dom.DocumentFragment docfrag, java.lang.String url)protected voidValueInserterPlainTextImpl. addHyperlinkToDocFrag(JaxbXmlPart sourcePart, org.w3c.dom.DocumentFragment docfrag, java.lang.String url)voidXsltFinisher. apply(JaxbXmlPart part, java.util.Map<java.lang.String,Xpaths.Xpath> xpathsMap, java.lang.String filename, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> finisherParams)finisherParams is a map of parameter values you can pass in, which named templates can be sensitive to (eg to set a color).voidBindingHandler. applyBindings()static voidBindingHandler. applyBindings(WordprocessingMLPackage wordMLPackage)Deprecated.voidBindingHandler. applyBindings(JaxbXmlPart part)java.lang.StringCustomXmlDataStorage. cachedXPathGetString(java.lang.String xpath, java.lang.String prefixMappings)(Unless you are using Saxon as your XPath implementation (XPathFactoryUtil.setxPathFactory)) this uses org.apache.xpath.CachedXPathAPI for better performance, since Apache's old XPathAPI class, have the drawback of instantiating a new XPathContext (and thus building a new DTMManager, and new DTMs) each time it was called.WordprocessingMLPackageOpenDoPEHandlerComponents. fetchComponents()Component processingstatic CustomXmlPartCustomXmlDataStoragePartSelector. getCustomXmlDataStoragePart(WordprocessingMLPackage wordMLPackage)We need the item id of the custom xml part.org.w3c.dom.DocumentCustomXmlDataStorage. getDocument()Write the contents of this object to the org.w3c.dom.Documentorg.w3c.dom.DocumentCustomXmlDataStorageImpl. getDocument()java.io.InputStreamDocxFetcher. getDocxFromIRI(java.lang.String iri)java.lang.StringCustomXmlDataStorage. getXML()Get the XML as a String.static voidUpdateXmlFromDocumentSurface. main(java.lang.String[] args)WordprocessingMLPackageOpenDoPEHandler. preprocess()Preprocess content controls which have tag "od:condition|od:repeat|od:component".voidOpenDoPEIntegrity. process(WordprocessingMLPackage wordMLPackage)voidOpenDoPEIntegrityAfterBinding. process(WordprocessingMLPackage wordMLPackage)protected voidValueInserterPlainTextImpl. processString(JaxbXmlPart sourcePart, org.w3c.dom.DocumentFragment docfrag, java.lang.String text, RPr rPr)voidRemovalHandler. removeSDTs(WordprocessingMLPackage wordMLPackage)Removes Structured Document Tags from the main document part, headers, and footer, preserving their contents.voidRemovalHandler. removeSDTs(WordprocessingMLPackage wordMLPackage, RemovalHandler.Quantifier quantifier, java.lang.String... keys)Removes Structured Document Tags from the main document part, headers, and footer, preserving their contents.voidRemovalHandler. removeSDTs(JaxbXmlPart<? extends java.lang.Object> part)Removes Structured Document Tags from a document part, preserving their contents.voidRemovalHandler. removeSDTs(JaxbXmlPart<? extends java.lang.Object> part, RemovalHandler.Quantifier quantifier, java.lang.String... keys)Removes Structured Document Tags from a document part, preserving their contents.booleanOpenDoPEReverter. revert()voidCustomXmlDataStorage. setDocument(java.io.InputStream is)Set the contents of this object from the input streamvoidCustomXmlDataStorage. setDocument(org.w3c.dom.Document doc)booleanCustomXmlDataStorage. setNodeValueAtXPath(java.lang.String xpath, java.lang.String value, java.lang.String prefixMappings)org.w3c.dom.DocumentFragmentValueInserterPlainText. toOpenXml(Xpaths.Xpath.DataBinding dataBinding, RPr rPr, boolean multiLine, BindingTraverserXSLT.BookmarkCounter bookmarkCounter, java.lang.String result, JaxbXmlPart sourcePart)org.w3c.dom.DocumentFragmentValueInserterPlainTextForOpenAPI3. toOpenXml(Xpaths.Xpath.DataBinding dataBinding, RPr rPr, boolean multiLine, BindingTraverserXSLT.BookmarkCounter bookmarkCounter, java.lang.String val, JaxbXmlPart sourcePart)org.w3c.dom.DocumentFragmentValueInserterPlainTextImpl. toOpenXml(Xpaths.Xpath.DataBinding dataBinding, RPr rPr, boolean multiLine, BindingTraverserXSLT.BookmarkCounter bookmarkCounter, java.lang.String val, JaxbXmlPart sourcePart)abstract java.lang.ObjectBindingTraverserCommonImpl. traverseToBind(JaxbXmlPart part, OpcPackage pkg, java.util.Map<java.lang.String,Xpaths.Xpath> xpathsMap)java.lang.ObjectBindingTraverserInterface. traverseToBind(JaxbXmlPart part, OpcPackage pkg, java.util.Map<java.lang.String,Xpaths.Xpath> xpathsMap)java.lang.ObjectBindingTraverserNonXSLT. traverseToBind(JaxbXmlPart part, OpcPackage pkg, java.util.Map<java.lang.String,Xpaths.Xpath> xpathsMap)java.lang.ObjectBindingTraverserXSLT. traverseToBind(JaxbXmlPart part, OpcPackage pkg, java.util.Map<java.lang.String,Xpaths.Xpath> xpathsMap)java.util.List<CustomXmlPart>UpdateXmlFromDocumentSurface. updateCustomXmlParts()Update the contents of the relevant custom XML parts, with any edits made by the user in a rich text content control with a tag containing od:progid=Word.Document (and an OpenDoPE XPath, of course).voidCustomXmlDataStorage. writeDocument(java.io.OutputStream os)Write the contents of this object to the output streamvoidCustomXmlDataStorageImpl. writeDocument(java.io.OutputStream os)java.lang.StringCustomXmlDataStorage. xpathGetString(java.lang.String xpath, java.lang.String prefixMappings)Get the data pointed to by the xpath.Constructors in org.docx4j.model.datastorage that throw Docx4JException Constructor Description OpenDoPEHandler(WordprocessingMLPackage wordMLPackage)OpenDoPEHandlerComponents(WordprocessingMLPackage wordMLPackage)UpdateXmlFromDocumentSurface(WordprocessingMLPackage wordMLPackage, boolean supportStylesInWordAltChunkProcessing)Copy contents of OpenDoPE content controls, including rich text content controls with tag 'od:progid=Word.Document' (ie as escaped Flat OPC XML), back into their associated custom XML part element. -
Uses of Docx4JException in org.docx4j.model.fields
Subclasses of Docx4JException in org.docx4j.model.fields Modifier and Type Class Description classFieldFormattingExceptionclassFieldValueExceptionMethods in org.docx4j.model.fields that throw Docx4JException Modifier and Type Method Description static java.lang.StringFormattingSwitchHelper. applyFormattingSwitch(WordprocessingMLPackage wmlPackage, FldSimpleModel model, java.lang.String value)static java.lang.StringFormattingSwitchHelper. applyFormattingSwitch(WordprocessingMLPackage wmlPackage, FldSimpleModel model, java.lang.String value, java.lang.String lang)static voidFieldsPreprocessor. complexifyFields(JaxbXmlPart part)Convert any w:fldSimple in this part to complex field.voidFieldUpdater. update(boolean processHeadersAndFooters)voidFieldUpdater. updateComplex(JaxbXmlPart part)voidFieldUpdater. updatePart(JaxbXmlPart part)voidFieldUpdater. updateSimple(JaxbXmlPart part) -
Uses of Docx4JException in org.docx4j.model.fields.merge
Methods in org.docx4j.model.fields.merge that throw Docx4JException Modifier and Type Method Description protected static voidMailMerger. canonicaliseStarts(ComplexFieldLocator fl, java.util.List<FieldRef> fieldRefs)static WordprocessingMLPackageMailMerger. getConsolidatedResultCrude(WordprocessingMLPackage input, java.util.List<java.util.Map<DataFieldName,java.lang.String>> data)A "poor man's" approach, which generates the mail merge results as a single docx, and just hopes for the best.static WordprocessingMLPackageMailMerger. getConsolidatedResultCrude(WordprocessingMLPackage input, java.util.List<java.util.Map<DataFieldName,java.lang.String>> data, boolean processHeadersAndFooters)A "poor man's" approach, which generates the mail merge results as a single docx, and just hopes for the best.static voidMailMergerWithNext. performLabelMerge(WordprocessingMLPackage input, java.util.List<java.util.Map<DataFieldName,java.lang.String>> data)Similar to performMerge method but better to merge labels template because of using the NEXT instruction to go to the next item.static voidMailMerger. performMerge(WordprocessingMLPackage input, java.util.Map<DataFieldName,java.lang.String> data, boolean processHeadersAndFooters)Perform merge on a single instance. -
Uses of Docx4JException in org.docx4j.model.images
Methods in org.docx4j.model.images that throw Docx4JException Modifier and Type Method Description protected java.lang.StringAbstractConversionImageHandler. createEncodedImage(BinaryPart binaryPart, byte[] bytes)protected abstract java.lang.StringAbstractConversionImageHandler. createStoredImage(BinaryPart binaryPart, byte[] bytes)protected java.lang.StringFileConversionImageHandler. createStoredImage(BinaryPart binaryPart, byte[] bytes)protected java.lang.StringAbstractConversionImageHandler. doHandleImage(AbstractWordXmlPicture picture, Relationship relationship, BinaryPart part)java.lang.StringAbstractConversionImageHandler. handleImage(AbstractWordXmlPicture picture, Relationship relationship, BinaryPart part)java.lang.StringConversionImageHandler. handleImage(AbstractWordXmlPicture picture, Relationship relationship, BinaryPart part)protected java.lang.StringAbstractConversionImageHandler. handleInternalImage(AbstractWordXmlPicture picture, Relationship relationship, BinaryPart binaryPart)protected booleanAbstractConversionImageHandler. isInternalImage(AbstractWordXmlPicture picture, Relationship relationship, BinaryPart part)protected java.io.FileFileConversionImageHandler. setupRootFolder(BinaryPart binaryPart)protected java.lang.StringFileConversionImageHandler. storeImage(BinaryPart binaryPart, byte[] bytes, java.io.File folder, java.lang.String filename) -
Uses of Docx4JException in org.docx4j.openpackaging
Methods in org.docx4j.openpackaging that throw Docx4JException Modifier and Type Method Description static java.lang.StringPackageRelsUtil. getNameOfMainPart(RelationshipsPart packageRels) -
Uses of Docx4JException in org.docx4j.openpackaging.contenttype
Methods in org.docx4j.openpackaging.contenttype that throw Docx4JException Modifier and Type Method Description booleanContentTypeManager. isContentEqual(ContentTypeManager other) -
Uses of Docx4JException in org.docx4j.openpackaging.exceptions
Subclasses of Docx4JException in org.docx4j.openpackaging.exceptions Modifier and Type Class Description classInvalidFormatExceptionclassPartTooLargeExceptionclassPartUnrecognisedException -
Uses of Docx4JException in org.docx4j.openpackaging.io
Methods in org.docx4j.openpackaging.io that throw Docx4JException Modifier and Type Method Description voidSaveToZipFile. addPartsFromRelationships(java.util.zip.ZipOutputStream out, RelationshipsPart rp)Deprecated.OpcPackageLoadFromZipNG. get(java.io.File f)Deprecated.OpcPackageLoadFromZipNG. get(java.io.InputStream is)Deprecated.OpcPackageLoadFromZipNG. get(java.lang.String filepath)Deprecated.static PartLoadFromZipNG. getBinaryPart(java.util.HashMap<java.lang.String,LoadFromZipNG.ByteArray> partByteArrays, ContentTypeManager ctm, java.lang.String resolvedPartUri)Deprecated.static BinaryPartExternalResourceUtils. getExternalResource(java.lang.String absoluteTarget)static PartLoad. getRawPart(java.io.InputStream is, ContentTypeManager ctm, java.lang.String resolvedPartUri, Relationship rel)Deprecated.Get a Part (except a relationships part), but not its relationships part or related parts.static PartLoadFromZipNG. getRawPart(java.util.HashMap<java.lang.String,LoadFromZipNG.ByteArray> partByteArrays, ContentTypeManager ctm, java.lang.String resolvedPartUri, Relationship rel)Deprecated.Get a Part (except a relationships part), but not its relationships part or related parts.RelationshipsPartLoadFromZipNG. getRelationshipsPart(java.util.HashMap<java.lang.String,LoadFromZipNG.ByteArray> partByteArrays, Part part)Deprecated.Get the Relationships Part (if there is one) for a given Part.booleanSaveToZipFile. save(java.io.File docxFile)Deprecated.booleanSaveToZipFile. save(java.io.OutputStream realOS)Deprecated.booleanSaveToZipFile. save(java.lang.String filepath)Deprecated.booleanSaveToZipFile. saveFlatOPC(java.io.OutputStream realOS)Deprecated.voidSaveToZipFile. savePart(java.util.zip.ZipOutputStream out, Part part)Deprecated.protected voidSaveToZipFile. saveRawBinaryPart(java.util.zip.ZipOutputStream out, Part part)Deprecated.voidSaveToZipFile. saveRawXmlPart(java.util.zip.ZipOutputStream out, Part part)Deprecated.voidSaveToZipFile. saveRawXmlPart(java.util.zip.ZipOutputStream out, Part part, java.lang.String zipEntryName)Deprecated. -
Uses of Docx4JException in org.docx4j.openpackaging.io3
Methods in org.docx4j.openpackaging.io3 that throw Docx4JException Modifier and Type Method Description voidSave. addPartsFromRelationships(RelationshipsPart rp)OpcPackageLoad3. get()PartLoad3. getBinaryPart(ContentTypeManager ctm, java.lang.String resolvedPartUri)PartLoad3. getRawPart(ContentTypeManager ctm, java.lang.String resolvedPartUri, Relationship rel, RelationshipsPart rp)Get a Part (except a relationships part), but not its relationships part or related parts.RelationshipsPartLoad3. getRelationshipsPart(Part part)Get the Relationships Part (if there is one) for a given Part.booleanSave. save(java.io.OutputStream realOS)voidSave. savePart(Part part)voidSaveSlides. savePart(Part part)voidSave. saveRawXmlPart(Part part) -
Uses of Docx4JException in org.docx4j.openpackaging.io3.stores
Methods in org.docx4j.openpackaging.io3.stores that throw Docx4JException Modifier and Type Method Description voidPartStore. finishSave()Anything necessary to perfect the save operation.voidUnzippedPartStore. finishSave()voidZipPartStore. finishSave()ZipPartStore.ByteArrayZipPartStore. getByteArray(java.lang.String partName)This method is to facilitate updating the part without JAXB unmarshalling then marshalling.longPartStore. getPartSize(java.lang.String partName)The size of this part in bytes.longUnzippedPartStore. getPartSize(java.lang.String partName)longZipPartStore. getPartSize(java.lang.String partName)java.io.InputStreamPartStore. loadPart(java.lang.String partName)Returns null if the part does not exist.java.io.InputStreamUnzippedPartStore. loadPart(java.lang.String partName)java.io.InputStreamZipPartStore. loadPart(java.lang.String partName)voidPartStore. saveBinaryPart(Part part)voidUnzippedPartStore. saveBinaryPart(Part part)voidZipPartStore. saveBinaryPart(Part part)voidPartStore. saveContentTypes(ContentTypeManager ctm)voidUnzippedPartStore. saveContentTypes(ContentTypeManager ctm)voidZipPartStore. saveContentTypes(ContentTypeManager ctm)voidPartStore. saveCustomXmlDataStoragePart(CustomXmlDataStoragePart part)voidUnzippedPartStore. saveCustomXmlDataStoragePart(CustomXmlDataStoragePart part)voidZipPartStore. saveCustomXmlDataStoragePart(CustomXmlDataStoragePart part)voidPartStore. saveJaxbXmlPart(JaxbXmlPart part)voidUnzippedPartStore. saveJaxbXmlPart(JaxbXmlPart part)voidZipPartStore. saveJaxbXmlPart(JaxbXmlPart part)voidPartStore. saveXmlPart(XmlPart part)voidUnzippedPartStore. saveXmlPart(XmlPart part)voidZipPartStore. saveXmlPart(XmlPart part)voidPartStore. setOutputStream(java.io.OutputStream os)Constructors in org.docx4j.openpackaging.io3.stores that throw Docx4JException Constructor Description UnzippedPartStore(java.io.File dir)ZipPartStore(java.io.File f)ZipPartStore(java.io.InputStream is) -
Uses of Docx4JException in org.docx4j.openpackaging.packages
Methods in org.docx4j.openpackaging.packages that throw Docx4JException Modifier and Type Method Description OpcPackageOpcPackage. cloneAs(java.lang.String targetContentType)java.lang.ObjectProtectionSettings. getSignatureHelper()get the SignatureHelper object, so you can sign the package using custom settings.static OpcPackageOpcPackage. load(java.io.File docxFile)Convenience method to create a WordprocessingMLPackage or PresentationMLPackage from an existing File (.docx/.docxm, .ppxtx or Flat OPC .xml).static OpcPackageOpcPackage. load(java.io.File docxFile, java.lang.String password)Convenience method to create a WordprocessingMLPackage or PresentationMLPackage from an existing File (.docx/.docxm, .ppxtx or Flat OPC .xml).static OpcPackageOpcPackage. load(java.io.File file, Filetype type)convenience method to load from a file, where you know the Filetype (if it is Filetype.ZippedPackage, ZipFile will be used instead of ZipArchiveInputStream)static OpcPackageOpcPackage. load(java.io.File file, Filetype type, java.lang.String password)convenience method to load from a file, where you know the Filetype (if it is Filetype.ZippedPackage, ZipFile will be used instead of ZipArchiveInputStream)static OpcPackageOpcPackage. load(java.io.InputStream inputStream)Convenience method to create a WordprocessingMLPackage or PresentationMLPackage from an inputstream (.docx/.docxm, .ppxtx or Flat OPC .xml).static OpcPackageOpcPackage. load(java.io.InputStream is, boolean docxFormat)Deprecated.static OpcPackageOpcPackage. load(java.io.InputStream inputStream, java.lang.String password)Convenience method to create a WordprocessingMLPackage or PresentationMLPackage from an inputstream (.docx/.docxm, .ppxtx or Flat OPC .xml).static OpcPackageOpcPackage. load(java.io.InputStream is, Filetype type)convenience method to load a word2007 document from an existing inputstream (.docx/.docxm, .ppxtx or Flat OPC .xml).static OpcPackageOpcPackage. load(java.io.InputStream is, Filetype type, java.lang.String password)convenience method to load a word2007 document from an existing inputstream (.docx/.docxm, .ppxtx or Flat OPC .xml).static OpcPackageOpcPackage. load(PackageIdentifier pkgIdentifier, java.io.File docxFile)Convenience method to create a WordprocessingMLPackage or PresentationMLPackage from an existing File (.docx/.docxm, .ppxtx or Flat OPC .xml).static OpcPackageOpcPackage. load(PackageIdentifier pkgIdentifier, java.io.File docxFile, java.lang.String password)Convenience method to create a WordprocessingMLPackage or PresentationMLPackage from an existing File (.docx/.docxm, .ppxtx or Flat OPC .xml).static OpcPackageOpcPackage. load(PackageIdentifier pkgIdentifier, java.io.InputStream inputStream)Convenience method to create a WordprocessingMLPackage or PresentationMLPackage from an inputstream (.docx/.docxm, .ppxtx or Flat OPC .xml).static PresentationMLPackagePresentationMLPackage. load(java.io.File pptxFile)Convenience method to create a PresentationMLPackage from an existing File (.pptx or .xml Flat OPC).static PresentationMLPackagePresentationMLPackage. load(java.io.InputStream pptxInputStream)Creates aPresentationMLPackagefrom anInputStream.static SpreadsheetMLPackageSpreadsheetMLPackage. load(java.io.File xlsxFile)Convenience method to create a SpreadsheetMLPackage from an existing File (.xlsx or .xml Flat OPC).static SpreadsheetMLPackageSpreadsheetMLPackage. load(java.io.InputStream xlsxInputStream)Creates aSpreadsheetMLPackagefrom anInputStream.static WordprocessingMLPackageWordprocessingMLPackage. load(java.io.File docxFile)Convenience method to create a WordprocessingMLPackage from an existing File (.docx zip or .xml Flat OPC).static WordprocessingMLPackageWordprocessingMLPackage. load(java.io.InputStream is)Convenience method to create a WordprocessingMLPackage from an existing stream(.docx zip or .xml Flat OPC).voidProtectDocument. restrictFormatting(java.util.List<java.lang.String> allowedStyleNames, boolean removedNotAllowedFormatting, boolean autoFormatOverride, boolean styleLockTheme, boolean styleLockQFSet)Restrict allowed formatting to specified styles, no password.voidProtectDocument. restrictFormatting(java.util.List<java.lang.String> allowedStyleNames, boolean removedNotAllowedFormatting, boolean autoFormatOverride, boolean styleLockTheme, boolean styleLockQFSet, java.lang.String password)Restrict allowed formatting to specified styles, password protected.voidProtectDocument. restrictFormatting(java.util.List<java.lang.String> allowedStyleNames, boolean removedNotAllowedFormatting, boolean autoFormatOverride, boolean styleLockTheme, boolean styleLockQFSet, java.lang.String password, HashAlgorithm hashAlgo)Restrict allowed formatting to specified styles.voidOpcPackage. save(java.io.File file)Convenience method to save a WordprocessingMLPackage or PresentationMLPackage to a File.voidOpcPackage. save(java.io.File outFile, int flags)Save this pkg to a File.voidOpcPackage. save(java.io.File outFile, int flags, java.lang.String password)Save this pkg to a file.voidOpcPackage. save(java.io.OutputStream outStream)Save this pkg to an OutputStream in the usual zipped up format (Docx4J.FLAG_SAVE_ZIP_FILE)voidOpcPackage. save(java.io.OutputStream outStream, int flags)Save this pkg to an OutputStream.voidOpcPackage. save(java.io.OutputStream outStream, int flags, java.lang.String password)Save this pkg to an OutputStream. -
Uses of Docx4JException in org.docx4j.openpackaging.parts
Methods in org.docx4j.openpackaging.parts that throw Docx4JException Modifier and Type Method Description AlternativeFormatInputPartJaxbXmlPartAltChunkHost. addAltChunk(AltChunkType type, byte[] bytes)AlternativeFormatInputPartJaxbXmlPartAltChunkHost. addAltChunk(AltChunkType type, byte[] bytes, int index)AlternativeFormatInputPartJaxbXmlPartAltChunkHost. addAltChunk(AltChunkType type, byte[] bytes, ContentAccessor attachmentPoint)AlternativeFormatInputPartJaxbXmlPartAltChunkHost. addAltChunk(AltChunkType type, byte[] bytes, ContentAccessor attachmentPoint, int index)AlternativeFormatInputPartJaxbXmlPartAltChunkHost. addAltChunk(AltChunkType type, java.io.InputStream is)AlternativeFormatInputPartJaxbXmlPartAltChunkHost. addAltChunk(AltChunkType type, java.io.InputStream is, int index)AlternativeFormatInputPartJaxbXmlPartAltChunkHost. addAltChunk(AltChunkType type, java.io.InputStream is, ContentAccessor attachmentPoint)AlternativeFormatInputPartJaxbXmlPartAltChunkHost. addAltChunk(AltChunkType type, java.io.InputStream is, ContentAccessor attachmentPoint, int index)java.lang.StringCustomXmlDataStoragePart. cachedXPathGetString(java.lang.String xpath, java.lang.String prefixMappings)java.lang.StringCustomXmlPart. cachedXPathGetString(java.lang.String xpath, java.lang.String prefixMappings)Use org.apache.xpath.CachedXPathAPI, since this is much quicker than default javax.xml.xpath.XPath implementations (Apache's anyway) for large XML files.java.lang.StringXmlPart. cachedXPathGetString(java.lang.String xpath, java.lang.String prefixMappings)(Unless you are using Saxon as your XPath implementation (XPathFactoryUtil.setxPathFactory)) this uses org.apache.xpath.CachedXPathAPI for better performance, since Apache's old XPathAPI class, have the drawback of instantiating a new XPathContext (and thus building a new DTMManager, and new DTMs) each time it was called.WordprocessingMLPackageJaxbXmlPartAltChunkHost. convertAltChunks()To convert an altChunk of type XHTML, this method requires docx4j-XHTMLImport.jar (LGPL) and its dependencies.EJaxbXmlPart. getContents()Get the live contents of this part (the JAXB object model).org.w3c.dom.DocumentActiveXControlXmlPart. getDocument()org.w3c.dom.DocumentDefaultXmlPart. getDocument()abstract org.w3c.dom.DocumentXmlPart. getDocument()java.lang.StringThemePart. getFont(STTheme type, CTLanguage themeFontLang)java.lang.StringThemePart. getFontFromTheme(STTheme type)TextFontThemePart. getMajorLatin()java.lang.StringCustomXmlDataStoragePart. getXML()Get the XML as a String.java.lang.StringCustomXmlPart. getXML()Get the XML as a String.java.lang.StringXmlPart. getXML()Get the XML as a String.booleanCustomXmlDataStoragePart. isContentEqual(Part other)booleanJaxbXmlPart. isContentEqual(Part other)abstract booleanPart. isContentEqual(Part other)booleanXmlPart. isContentEqual(Part other)voidJaxbXmlPart. pipe(SAXHandler saxHandler)Replace the contents of this part with the output of passing it through your SAXHandler.voidJaxbXmlPart. pipe(StAXHandlerInterface handler)Replace the contents of this part with the output of passing it through your StAXHandler.voidJaxbXmlPart. pipe(StAXHandlerInterface handler, javax.xml.stream.StreamFilter filter)Replace the contents of this part with the output of passing it through your StAXHandler.voidXmlPart. setDocument(java.io.InputStream is)booleanCustomXmlDataStoragePart. setNodeValueAtXPath(java.lang.String xpath, java.lang.String value, java.lang.String prefixMappings)booleanCustomXmlPart. setNodeValueAtXPath(java.lang.String xpath, java.lang.String value, java.lang.String prefixMappings)booleanXmlPart. setNodeValueAtXPath(java.lang.String xpath, java.lang.String value, java.lang.String prefixMappings)Set the value of the node referenced in the xpath expression.voidCustomXmlDataStoragePart. setXML(org.w3c.dom.Document xmlDocument)Set the XMLvoidCustomXmlPart. setXML(org.w3c.dom.Document xmlDocument)Set the XML datavoidJaxbXmlPart. transform(javax.xml.transform.Templates xslt, java.util.Map<java.lang.String,java.lang.Object> transformParameters, javax.xml.transform.Result result)Use an XSLT to alter the contents of this part.voidJaxbXmlPart. variableReplace(java.util.Map<java.lang.String,java.lang.String> mappings)unmarshallFromTemplate.java.util.List<org.w3c.dom.Node>CustomXmlDataStoragePart. xpathGetNodes(java.lang.String xpathString, java.lang.String prefixMappings)java.util.List<org.w3c.dom.Node>CustomXmlPart. xpathGetNodes(java.lang.String xpathString, java.lang.String prefixMappings)java.lang.StringCustomXmlDataStoragePart. xpathGetString(java.lang.String xpath, java.lang.String prefixMappings)java.lang.StringCustomXmlPart. xpathGetString(java.lang.String xpath, java.lang.String prefixMappings)java.lang.StringDocPropsCorePart. xpathGetString(java.lang.String xpathString, java.lang.String prefixMappings)java.lang.StringDocPropsExtendedPart. xpathGetString(java.lang.String xpathString, java.lang.String prefixMappings)java.lang.StringXmlPart. xpathGetString(java.lang.String xpathString, java.lang.String prefixMappings)Note: If the result is an empty node-set, it will be converted to an empty string, rather than null. -
Uses of Docx4JException in org.docx4j.openpackaging.parts.opendope
Methods in org.docx4j.openpackaging.parts.opendope that throw Docx4JException Modifier and Type Method Description java.lang.StringJaxbCustomXmlDataStoragePart. cachedXPathGetString(java.lang.String xpath, java.lang.String prefixMappings)booleanJaxbCustomXmlDataStoragePart. setNodeValueAtXPath(java.lang.String xpath, java.lang.String value, java.lang.String prefixMappings)voidJaxbCustomXmlDataStoragePart. setXML(org.w3c.dom.Document xmlDocument)java.util.List<org.w3c.dom.Node>JaxbCustomXmlDataStoragePart. xpathGetNodes(java.lang.String xpathString, java.lang.String prefixMappings)java.lang.StringJaxbCustomXmlDataStoragePart. xpathGetString(java.lang.String xpathString, java.lang.String prefixMappings) -
Uses of Docx4JException in org.docx4j.openpackaging.parts.relationships
Methods in org.docx4j.openpackaging.parts.relationships that throw Docx4JException Modifier and Type Method Description static voidPatcher. apply(WordprocessingMLPackage otherPackage, AlteredParts.Alterations alterations)java.util.List<Relationship>RelationshipsPart. differingContent(RelationshipsPart otherRP)Identify rels common to both parts, but where rels have different content.static voidAlteredParts. recurse(AlteredParts.Alterations alterations, RelationshipsPart thisRP, RelationshipsPart otherRP)static AlteredParts.AlterationsAlteredParts. start(WordprocessingMLPackage thisPackage, WordprocessingMLPackage otherPackage) -
Uses of Docx4JException in org.docx4j.openpackaging.parts.WordprocessingML
Methods in org.docx4j.openpackaging.parts.WordprocessingML that throw Docx4JException Modifier and Type Method Description AlternativeFormatInputPartAltChunkInterface. addAltChunk(AltChunkType type, byte[] bytes)Add content from byte array of type AltChunkType, in a way that leaves it up to downstream application (eg Word) to convert the content to docx content.AlternativeFormatInputPartAltChunkInterface. addAltChunk(AltChunkType type, byte[] bytes, int index)Add at index content from byte array of type AltChunkType, in a way that leaves it up to downstream application (eg Word) to convert the content to docx content.AlternativeFormatInputPartAltChunkInterface. addAltChunk(AltChunkType type, byte[] bytes, ContentAccessor attachmentPoint)Add content from byte array of type AltChunkType, in a way that leaves it up to downstream application (eg Word) to convert the content to docx content.AlternativeFormatInputPartAltChunkInterface. addAltChunk(AltChunkType type, byte[] bytes, ContentAccessor attachmentPoint, int index)Add at index content from byte array of type AltChunkType, in a way that leaves it up to downstream application (eg Word) to convert the content to docx content.AlternativeFormatInputPartAltChunkInterface. addAltChunk(AltChunkType type, java.io.InputStream is)Add content from InputStream of type AltChunkType, in a way that leaves it up to downstream application (eg Word) to convert the content to docx content.AlternativeFormatInputPartAltChunkInterface. addAltChunk(AltChunkType type, java.io.InputStream is, int index)Add at index content from InputStream of type AltChunkType, in a way that leaves it up to downstream application (eg Word) to convert the content to docx content.AlternativeFormatInputPartAltChunkInterface. addAltChunk(AltChunkType type, java.io.InputStream is, ContentAccessor attachmentPoint)Add content from InputStream of type AltChunkType, in a way that leaves it up to downstream application (eg Word) to convert the content to docx content.AlternativeFormatInputPartAltChunkInterface. addAltChunk(AltChunkType type, java.io.InputStream is, ContentAccessor attachmentPoint, int index)Add at index content from InputStream of type AltChunkType, in a way that leaves it up to downstream application (eg Word) to convert the content to docx content.WordprocessingMLPackageAltChunkInterface. convertAltChunks()Convert the AltChunks to ordinary docx WordML content, returning result as a new WordprocessingMLPackage.OpcPackageEmbeddedPackagePart. extractPackage()booleanBinaryPart. isContentEqual(Part other)voidDocumentSettingsPart. protectRestrictFormatting(boolean autoFormatOverride, boolean styleLockTheme, boolean styleLockQFSet, java.lang.String password, HashAlgorithm hashAlgo)Restrict allowed formatting to specified styles.voidStyleDefinitionsPart. protectRestrictFormatting(java.util.List<java.lang.String> allowedStyleNames, boolean removedNotAllowedFormatting, java.util.Set<java.lang.String> stylesInUse)Restrict allowed formatting to specified styles. -
Uses of Docx4JException in org.docx4j.toc
Subclasses of Docx4JException in org.docx4j.toc Modifier and Type Class Description classTocException -
Uses of Docx4JException in org.docx4j.utils
Methods in org.docx4j.utils that throw Docx4JException Modifier and Type Method Description static voidXmlSerializerUtil. serialize(javax.xml.transform.Source source, javax.xml.transform.Result result, boolean omit_xml_declaration, boolean method_xml)static voidXmlSerializerUtil. serialize(javax.xml.transform.Source source, javax.xml.transform.Result result, boolean omit_xml_declaration, boolean method_xml, boolean indent) -
Uses of Docx4JException in org.glox4j.openpackaging.packages
Methods in org.glox4j.openpackaging.packages that throw Docx4JException Modifier and Type Method Description static GloxPackageGloxPackage. load(java.io.File gloxFile) -
Uses of Docx4JException in org.pptx4j.convert.out.svginhtml
Methods in org.pptx4j.convert.out.svginhtml that throw Docx4JException Modifier and Type Method Description static java.lang.ObjectSvgExporter. nodeToObjectModel(org.w3c.dom.Node n, java.lang.Class declaredType)