Hello all,
I am in the process of researching ways to convert old word documents (in .doc form) into the new word form (.docx). I came across your software and am wondering if this is capable using your tools?
Thanks.
It is currently Tue Jan 28, 2025 1:01 am
...
String hpl = "<w:p xmlns:w=\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\" " +
"xmlns:r=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships\" >" +
"<w:hyperlink r:id=\"rId" + counter + "\">" +
"<w:r>" +
"<w:rPr>" +
"<w:rStyle w:val=\"Title\" />" +
"</w:rPr>" +
"<w:t>Link</w:t>" +
"</w:r>" +
"</w:hyperlink>" +
"</w:p>";
// wmlPack is WordprocessingMLPackage
wmlPack.getMainDocumentPart().addObject(XmlUtils.unmarshalString(hpl));
P p = this.wmlPack.getMainDocumentPart().createParagraphOfText("text");
BooleanDefaultTrue b = new BooleanDefaultTrue();
b.setVal(true);
p.getPPr().getRPr().setB(b);
this.wmlPack.getMainDocumentPart().addObject(p);
Total posts 10120 • Total topics 2847 • Total members 2077