Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


Hi Paddy,

Hi,
   I am developing an LO database and I want to open a PDF document from a
button on a Base Form. I want a button on the form that will open a
specific, different PDF document for each record. I want it to open the
document in the default PDF reader? I have not been able to find anything
to help me. I would appreciate a pointer to where I might be able to find
instructions on how to do this.

This will work with a macro - here a part of it:
oShell = createUnoService("com.sun.star.system.SystemShellExecute")
oShell.execute(URL,,0)

It will open the program, which is linked to the type of file.

You could find it in the German Base Handbuch, but the translation into
English isn't finished since a long time ...

You could find a translated version from 1 1/2 years ago  here:
http://robert.familiegrosskopf.de/lo_hb_en/
Look for the chapter "Macros".

Regards

Robert
-- 
Homepage: http://robert.familiegrosskopf.de
LibreOffice Community: http://robert.familiegrosskopf.de/map_3


-- 
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.