[Libreoffice-bugs] [Bug 30879] New: Libreoffice StarDesktop.terminate() macro behaviour

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 14 20:59:06 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=30879

           Summary: Libreoffice StarDesktop.terminate() macro behaviour
           Product: LibreOffice
           Version: unspecified
          Platform: Other
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libreoffice
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: sergio.callegari at gmail.com


Hi

I have a document containing just a couple of macros which I use for document
conversion. The macros are

SaveSlidesAsPDF(<filename>) 

Shutdown()

the first one opens the file passed as an argument and exports it as PDF
/including the notes pages/. The second one simply quits
openoffice/libreoffice.

With openoffice I can use this nicely to perform document conversion with
customized options wrt standard ones. Also I find it very convenient to have
the macros in a file, rather than to install them directly inside the
application.

In this way, carrying with me just the macro file and a script I can do my
conversions regardless of the specific instance of openoffice I am on.

Now this thing that works perfectly in openoffice, does not work with
libreoffice. The issue seems to be the Shutdown macro not working in libre.
Its content is

Sub Shutdown()
oDoc=ThisComponent
oDoc.close(True)
StarDesktop.terminate()
End Sub

Any clue why does this not work in libreoffice and works in openoffice?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list