DocumentBuilder
DocumentBuilder copied to clipboard
Api.GetDocument().ToJSON(...) failed Footnotes are not supported?
docx file: 12.zip
file content:
script code:
builder.OpenFile("12.docx");
var oDocumenta = Api.GetDocument();
console.log("--------0")
var aaa = oDocumenta.ToJSON(true, true, true, true, true, true);
console.log("--------1")
GlobalVariable["aaa"] = aaa;
console.log("--------2")
var ca = oDocumenta.GetContent();
builder.SaveFile("docx", "out.docx")
builder.CloseFile();
result:
exec command:
documentbuilder a1.docbuilder
@SunjfGitHub This bug has already been fixed in the current version #60996
of documentbuidler
Version: 8.0.0 What’s new Release Date: 2/5/2024
I close this issue. Feel free to comment or reopen it if you got further questions.
这个bug还没有解决,还是有问题
@laowengdiaodayu Thank you for the open issue. I created a bug on our closed bug tracker #67794