The front end is fundamentally some buttons to launch working sheets and unchanging except that today's date is filled in when it starts, or the user can enter a different date. Mass of macros to handle it all.
Closing the front end is by doc.close()ing in a Goodbye macro but this leaves an soffice.bin process running and you get a 'Program is still running' dialogue box when the machine shuts down; it goes away after a bit but it will alarm the user. I can get rid of that by putting 'stardesktop.terminate' (is 'xdesktop.terminate' preferrred?) in the shutdown macro but then when it next starts it wants to Recover the front end; that's a big no-no.
Under Lenny/Openoffice there isn't this problem, when you've doc.close()d it shuts down happily and when it's next switched on loads the front end without complaint. I've tried doc.setmodified(FALSE) but no joy. I suppose I could get the shutdown macro to save it and the startup script to then delete that and copy the master back but that's pretty horrible. Is there a sensible way to fix this?
-- Dick Georgeson -- To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted