https://bugs.documentfoundation.org/show_bug.cgi?id=40227
--- Comment #15 from Boris Kheyfets <[email protected]> ---
Here's a bash function to create empty spreadsheet:
function lo-create-spreadsheet () {
# usage:
# lo-create-spreadsheet test.xlsx
# lo-create-spreadsheet test.xls
# lo-create-spreadsheet test.ods
baseName=${1%.*}
ext=${1#*.}
csvFile="${baseName}.csv"
touch "$csvFile"
loffice --convert-to "$ext" "$csvFile"
rm "$csvFile"
}
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs