You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use document.SaveAs with "pdf" as the extension (and a .docx as the input file), the URL links are stripped:
// SaveAs saves document at desired path in desired format with applied filter rules// Actual (from libreoffice) error message can be read with Office.GetErrorfunc (document*Document) SaveAs(pathstring, formatstring, filterstring) error {
cPath:=C.CString(path)
deferC.free(unsafe.Pointer(cPath))
cFormat:=C.CString(format)
deferC.free(unsafe.Pointer(cFormat))
cFilter:=C.CString(filter)
deferC.free(unsafe.Pointer(cFilter))
status:=C.document_save(document.handle, cPath, cFormat, cFilter)
ifstatus!=1 {
returnfmt.Errorf("Failed to save document")
}
returnnil
}
Is it possible to retain these with a filter option?
The text was updated successfully, but these errors were encountered:
When I use document.SaveAs with "pdf" as the extension (and a .docx as the input file), the URL links are stripped:
Is it possible to retain these with a filter option?
The text was updated successfully, but these errors were encountered: