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

Failed to convert docx to pdf #117

Closed SunjfGitHub closed 3 weeks ago

SunjfGitHub commented 9 months ago

my code:

builder.OpenFile("12.docx");
var oDocumenta = Api.GetDocument();
// GlobalVariable["aaa"] = oDocumenta.ToJSON(true, true, true, true, true, true);

var ca = oDocumenta.GetContent();
builder.SaveFile("pdf", "out.pdf")
builder.CloseFile();

but, exec script dir not exist out.pdf ? This is what the official website demo says: 2023-11-17_13-26

only office version :

documentbuilder -v

v7.5.0.128
sdk version:  7.5.0 (build:128)
askonev commented 4 months ago

@SunjfGitHub Update to the latest version of document builder Version: 8.0.0

Rita-Bubnova commented 3 weeks ago

This issue was closed due no response.