ONLYOFFICE / DocumentBuilder

ONLYOFFICE Document Builder is powerful text, spreadsheet, presentation and PDF generating tool
https://www.onlyoffice.com/document-builder.aspx
GNU Affero General Public License v3.0
111 stars 54 forks source link

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

Open SunjfGitHub opened 10 months ago

SunjfGitHub commented 10 months ago

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
askonev commented 5 months ago

@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

Rita-Bubnova commented 5 months ago

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

laowengdiaodayu commented 4 months ago

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

askonev commented 4 months ago

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