mirror of
https://github.com/ONLYOFFICE/sdkjs-forms.git
synced 2026-03-31 10:23:35 +08:00
[oform] Fix test function for writing oform to xml
This commit is contained in:
@ -106,10 +106,15 @@
|
||||
}
|
||||
AscOForm.TestWrite = function()
|
||||
{
|
||||
let jsZlibToSave = new AscCommon.ZLib();
|
||||
jsZlibToSave.create();
|
||||
model.toZip(jsZlibToSave, context);
|
||||
let jsZlib = new AscCommon.ZLib();
|
||||
jsZlib.create();
|
||||
|
||||
let logicDocument = editor.WordControl.m_oLogicDocument;
|
||||
let oform = logicDocument.GetOFormDocument();
|
||||
|
||||
oform.toZip(jsZlib);
|
||||
|
||||
console.log(jsZlib);
|
||||
}
|
||||
|
||||
})(window);
|
||||
|
||||
Reference in New Issue
Block a user