Copy link to clipboard
Copied
Hi, I've been trying to use powerpoint as a source for the cfpresentationslide tag, but it would always give me this error: Could not initialize class com.sun.star.lib.loader.WinRegKey. How do I fix this? I am using CF 9 and I'm pretty sure that it supports powerpoint. Thanks!
Copy link to clipboard
Copied
I know this is an old question, but in case anyone finds this (it comes up high in a Google search for this error), the problem is simply that you need to configure the CF Admin to point to an installation of OpenOffice. It can either be one you implemented on the server, or as found on some remote server (configured to allow remote access to its OpenOffice).
For implementing it on the server, note that it's not implemented automatically by CF. You need to download (http://download.openoffice.org/index.html ) and install it. Then in the CF Admin, on the "Document" page, you would the point to the directory where it was installed (such as, on Windows, C:\Program Files (x86)\OpenOffice 4\ --and yes, though that's where 32-bit Windows apps are installed, that works even with 64-bit CF)
For more in the CF docs on this need to get OpenOffice, see https://helpx.adobe.com/coldfusion/developing-applications/office-file-interoperability/using-cfdocu...