1) The first one.
To install the first one, I just have to copy two folders, basic and config, over the existing two in the user directory. Restart OO and it works.
I try to put the two folders in program share directory (C:\Program Files\OpenOffice.2\share). It does not work. Toolbar appears but click on button on it does not work. Nothing happens.
2) The second one - extendedPDF
Have to use unopkg.exe (in OpenOffice.2\program directory) to install. It creates some directories in user\uno_packages\cache. This cache directory is used to be empty. Inside this cache, it will create a uno_packages directory. Inside that, I am going to another directory with name seems random each time it is installed. That is user\uno_packages\cache\uno_packages\<directory with random name>.
Anyone care to explain how to prebuild macro in OO? Or how about anyone know the mechanism of creating the user directory? I have searched the source code for many days... Nothing meaningful comes up.
Please help!!!
Work Klo <[EMAIL PROTECTED]> speak:
Dear all,
I have found two macros that I would like to provide to my group of users. As I am building OO myself, I would like to add the two macros in. When user install OO, they would have the macros installed for them already.
So far, I have figured out macros can go into user directory (as in C:\Document and Settings\<user>\Application Data\OpenOffice.org2\user). They can also be in a system wide directory in share\basic directory (C:\Program Files\OpenOffice.2\share\basic).
=> Question 1: Am I right on this? There is a system wide macro directory. There is also a per-user macro directory?
As I want those macros to be available to everyone (who use that machine with OO intalled), it sounds better that installed macros go to the share\basic directory.
I figured out the folders in share\basic are similiar to those in the <source>\share\basic directory.
=> Question 2: If I want to create a new system wide macro directory, I just have to create a new folder in <source>\share\basic directory? (Of course write an appropriate makefile.mk as well.)
Many thanks.
_______________________________________
YM - 離線訊息
就算你沒有上網,你的朋友仍可以留下訊息給你,當你上網時就能立即看到,任何說話都冇走失。
http://messenger.yahoo.com.hk
