DocumentBuilder icon indicating copy to clipboard operation
DocumentBuilder copied to clipboard

Api.GetDocument().ToJSON(...) failed Footnotes are not supported?

Open SunjfGitHub opened this issue 1 year ago • 4 comments

docx file: 12.zip

file content: 2023-11-17_13-35

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: 2023-11-17_13-37

exec command:

documentbuilder a1.docbuilder

SunjfGitHub avatar Nov 17 '23 05:11 SunjfGitHub

@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

askonev avatar Apr 16 '24 15:04 askonev

I close this issue. Feel free to comment or reopen it if you got further questions.

Rita-Bubnova avatar Apr 16 '24 15:04 Rita-Bubnova

image 这个bug还没有解决,还是有问题

laowengdiaodayu avatar Apr 26 '24 03:04 laowengdiaodayu

@laowengdiaodayu Thank you for the open issue. I created a bug on our closed bug tracker #67794

askonev avatar Apr 29 '24 12:04 askonev