Am 29.11.2007 13:55 schrieb Manolis Christodoulou:
>> 1. Move the libraries from the embedded document to the main document
>> and rename the library so that the document name leads the old library
>> name: MyLibrary -> My_Form_MyLibrary. Thus all library names should be
>> distinct.
>> 2. Replace all ThisComponent with ThisComponent.getByName( "My Form" )
>> (or the new equivalent).
>> 3. Change the assignments of the macros to the events of the embedded
>> documents and there objects (forms, controls, frames, ...).
>
> Nothing must be changed in Form Documents functionality, except the 
> ability to assign macros in document events. The base macros if not 
> already accessible, should be loaded as libraries IMHO.

Not only the document itself also the objects on it (forms, controls,
frames, ...) have events. Because the macros assigned to this events are
moved and the libraries are renamed the assignments must be changed so
that now refers to the new location.


Mathias
-- 
·-· cut here ·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·->8·-·

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to