|
List Info
Thread: Prebuild Macros into OO
|
|
| Prebuild Macros into OO |

|
2006-06-23 02:01:50 |
|
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.32;_______________________________________ YM - Â÷½u°T®§ ´Nºâ§A¨S¦³¤Wºô¡A§AªºªB¤Í¤´¥i¥H¯d¤U°T®§µ¹§A¡A·í§A¤Wºô®É´N¯à¥ß§Y¬Ý¨ì¡A¥ô¦ó»¡¸Ü³£ÉN¨«¥¢¡C http://messenger.yahoo.com.hk |
| Prebuild Macros into OO |

|
2006-06-23 14:51:14 |
|
Actually I find out I cannot have the two macros in the share\basic directory. I must have them in the user directory.
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 <workklo yahoo.com.hk> speak¡G 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 - Â÷½u°T®§ ´Nºâ§A¨S¦³¤Wºô¡A§AªºªB¤Í¤´¥i¥H¯d¤U°T®§µ¹§A¡A·í§A¤Wºô®É´N¯à¥ß§Y¬Ý¨ì¡A¥ô¦ó»¡¸Ü³£ÉN¨«¥¢¡C http://messenger.yahoo.com.hk |
| Prebuild Macros into OO |

|
2006-06-24 21:29:19 |
Hello Work Klo,
Work Klo wrote:
> Actually I find out I cannot have the two macros in the
share\basic
> directory. I must have them in the user directory.
>
> 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.
Have a look at the files sript.xlc and dialog.xlc in
user\basic\.
Those contain a reference to the libraries.
So when you copy the folders from/to the share, there also
must be a
reference in these files.
>
> 2) The second one - extendedPDF
> Have to use unopkg.exe (in OpenOffice.2\program
directory) to install.
[...]
> 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.
>
I think that this thread:
http://api.openoffice.org/s
ervlets/BrowseList?list=dev&by=thread&from=1394594
a>
might bring you further.
Kind regards,
Cor
--
Cor Nouws
Open . For business
www.bsooo.nl
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe installation.openoffice.org
For additional commands, e-mail: dev-help installation.openoffice.org
|
|
[1-3]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|