Docx4j export style from one .docx and use it in another .docx
问题 I am creating new Word document with the code below: Tidy tidy = new Tidy(); tidy.setShowWarnings(true); tidy.setInputEncoding("UTF-8"); tidy.setOutputEncoding("UTF-8"); tidy.setXHTML(true); tidy.setMakeClean(true); tidy.setQuoteNbsp(false); WordprocessingMLPackage wordMLPackage = WordprocessingMLPackage.createPackage(); XHTMLImporterImpl XHTMLImporter = new XHTMLImporterImpl(wordMLPackage); for (Value v : res.getRules()) { System.out.println(v.toString()); ByteArrayOutputStream ou = new