Hi,
I now also faced a similar problem. I want to access dialogs in
another document via Starbasic so that I don't have to include them
in the document in which I use the dialog. I can access the
BasicLibraries but there is no DialogLibraries available. When I use
getLibraryContainer.DialogContainer I get the null value in return.
Can you roughly estimate when this will be possible?
Thanks!
Regards
Helge
--
Helge Kraak
Frauenlobstr. 78a
60487 Frankfurt am Main
Germany
Mobil: +49 (0)178 828 80 90
Telefon: +49 (0)69 979 466 23
Fax: +49 (0)69 133 046 094 11
Email: [EMAIL PROTECTED]
Internet: www.helge.kraak.info
ICQ: 348131950
Von: Peter Eberlein <[EMAIL PROTECTED]>
Datum: 6. Dezember 2006 09:19:50 MEZ
An: [email protected]
Betreff: Re: Re: [api-dev] Copy/insert a DialogLibrary into a
WriterDocument
Hi Andreas,
Andreas Bregas schrieb:
<..snip..>
Documents support a property "BasicLibraries" referencing
the document's Basic library container.
But a corresponding "DialogLibraries" property is missing.
The reason is that there's nearly no use in accessing dia-
log libraries by API because the content type is a XInput-
StreamProvider interface providing access to the dialog's
XML representation. This can only be used by a dialog loa-
der that is accessible via C++ API only.
But your copying scenario of course makes sense, so the
"DialogLibraries" property is a missing feature. But proba-
bly it will be available soon as it has become important in
a completely different context.
can you tell us a CWS and a target milestone for this issue?
Converting dozens of templates with VB-UserForms could be
automated, if you write the UserForm properties in xml-files
(msxml2) and then build all the dialogs in ott-templates
dynamically with the new api and sax or dom and store them to the
documents.
Even tabstrips/multipages could be reproduced by setting the step-
property for the controls corresponding to the page number.
Of course you need a conversion table for height/width/position
properties.
And last, wouldn't this be a task for the import filter?
Regards
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]