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

sasha.libreoff...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sasha.libreoff...@gmail.com

--- Comment #1 from sasha.libreoff...@gmail.com 2012-02-22 05:59:09 PST ---
As workaround, try write Basic script, something like this:

sub qwer

rem define variables
dim document   as object
dim dispatcher as object

rem get access to the document
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")

dispatcher.executeDispatch(document, ".uno:SendOutlineToStarImpress", _
 "", 0, Array())
rem TODO: add saving generated document
end sub

And start it from command line, using something like this:

libreoffice --nocrashreport --nodefault --nologo --nofirststartwizard
--norestore "macro:///Standard.Module1.qwer()"

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to