https://issues.apache.org/ooo/show_bug.cgi?id=123876
--- Comment #2 from Dmitriy Samborskiy <[email protected]> --- > What is Module1.xba? Module1.xba is a file with user's standard macro library which is located in ~/.openoffice/3/user/basic/Standard folder. The conversion commands call macro function SaveAsMSO which is defined in this file (AFAIK there is no other way to call a macro function from a command line than to use user's macro library defined in this file). > ./test.sh gives: > No protocol specified > No protocol specified > /opt/openoffice4/program/soffice.bin X11 error: Can't open display: > Set DISPLAY environment variable, use -display option > or check permissions of your X-Server > (See "man X" resp. "man xhost" for details) Perhaps you are running it without X display. It's necessary for the first command soffice macro:///Standard.Module1.SaveAsMSO\($FILE\) to have access to graphic display. It shows OO logo window for a second and then the resulted file.xls is made (the correct one). Only the second command gives the wrong file.xls (with wrong column1 size): DISPLAY="" soffice -headless macro:///Standard.Module1.SaveAsMSO\($FILE\) -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. You are watching all bug changes.
