} else if (type.equals(AltChunkType.Xhtml) ) { } else if (type.equals(AltChunkType.Mht) ) { log.warn("Skipping altChunk of type MHT "); continue; } else if (type.equals(AltChunkType.Xml) ) { } else if (type.equals(AltChunkType.TextPlain) ) { } else if (type.equals(AltChunkType.WordprocessingML) || type.equals(AltChunkType.OfficeWordMacroEnabled) || type.equals(AltChunkType.OfficeWordTemplate) ||type.equals(AltChunkType.OfficeWordMacroEnabledTemplate) ) { encounteredDocxAltChunk = true; continue; } else if (type.equals(AltChunkType.Rtf) ) { log.warn("Skipping altChunk of type RTF "); continue; } else if (type.equals(AltChunkType.Html) ) { log.warn("Skipping altChunk of type HTML "); continue;
} else if (type.equals(AltChunkType.Xhtml) ) { } else if (type.equals(AltChunkType.Mht) ) { log.warn("Skipping altChunk of type MHT "); continue; } else if (type.equals(AltChunkType.Xml) ) { } else if (type.equals(AltChunkType.TextPlain) ) { } else if (type.equals(AltChunkType.WordprocessingML) || type.equals(AltChunkType.OfficeWordMacroEnabled) || type.equals(AltChunkType.OfficeWordTemplate) ||type.equals(AltChunkType.OfficeWordMacroEnabledTemplate) ) { encounteredDocxAltChunk = true; continue; } else if (type.equals(AltChunkType.Rtf) ) { log.warn("Skipping altChunk of type RTF "); continue; } else if (type.equals(AltChunkType.Html) ) { log.warn("Skipping altChunk of type HTML "); continue;
= (AlternativeFormatInputPart) mainDocumentPart.getRelationshipsPart().getPart( altChunk.getId()); if (part.getAltChunkType().equals(AltChunkType.Xhtml)) { try { XHTMLImporter xHTMLImporter = new XHTMLImporterImpl(wordprocessingMLPackage);
= (AlternativeFormatInputPart) mainDocumentPart.getRelationshipsPart().getPart( altChunk.getId()); if (part.getAltChunkType().equals(AltChunkType.Xhtml)) { try { XHTMLImporter xHTMLImporter = new XHTMLImporterImpl(wordprocessingMLPackage);