Re: How to specify the path to a file

Oliver Brinzing <[email protected]>
Newsgroups gmane.comp.openoffice.devel.general
Message-ID <[email protected]>
Hi,

try:

import com.sun.star.deployment.PackageInformationProvider;
PackageInformationProvider.get(xComponentContext).getPackageLocation(extension_identifier);

to find out, where your extension is installed,

Regards

Oliver
-- 

GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45
signature.asc (application/pgp-signature, 260 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk09tSgACgkQTiyrQM/QSkWzgACfS6AXkygLO+4WdASn0aomXBgH
VcEAnidvRjir50tV5J8utPvd2fs0MZ3O
=3FZj
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.