[api-dev] Get the index of a named control in a form.
A FormComponenet service implements both the XIndexContainer and XNameContainer interfaces. Normally a script programmer wants to use the control name to initially find the control, and the control reference from that point on. However, the XEventAttacherManager methods require the index of the control rather than the control reference. If you have the control name, is there any way to get the index of that named control in the form. If you are forced to sequentially loop through the indexed container looking for a name match, you lose the efficiency of the hashed name lookup. The XEventAttacherManager methods ought to take a FormComponent argument instead of an index so you could find the control in whatever manner works best for your script arguments. -- The Snake Pit - Development www.TheSnakePitDev.com Curtis Clauson[EMAIL PROTECTED] Proprietor Any sufficiently over-complicated magic is indistinguishable from technology. -- Llelan D. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[api-dev] Re: Creating a resizeable dialog.
Curtis Clauson wrote: How do you create a resizeable OOo Basic dialog? There is no setting for this in the IDE form editor. I've tried setting the Sizeable property of the dialog Model to True before execution, but it has no effect. Still no progress on this. Even if you create the UNO dialog by creating a com.sun.star.awt.UnoControlDialog service instance and setting the model to a created com.sun.star.awt.UnoControlDialogModel with the Sizeable property set to True, the dialog is still not resizeable. Resizeable dialogs are such a fundamental requirement, there's got to be a way to do this. Anyone?? -- The Snake Pit - Development www.TheSnakePitDev.com Curtis Clauson[EMAIL PROTECTED] Proprietor Any sufficiently over-complicated magic is indistinguishable from technology. -- Llelan D. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[api-dev] Creating a resizeable dialog.
How do you create a resizeable OOo Basic dialog? There is no setting for this in the IDE form editor. I've tried setting the Sizeable property of the dialog Model to True before execution, but it has no effect. -- The Snake Pit - Development www.TheSnakePitDev.com Curtis Clauson[EMAIL PROTECTED] Proprietor Any sufficiently over-complicated magic is indistinguishable from technology. -- Llelan D. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[api-dev] Re: OOo Basic Specification
Stephan Wunderlich wrote: Hi Curtis, Is there a complete specification for the OOo Basic language? For OOo Basic you can just press F1 when you are in the Basic-IDE. For the OOo-API take a look at http://api.openoffice.org/ where you will find the idl-reference: http://api.openoffice.org/docs/common/ref/com/sun/star/module-ix.html and the Developers Guide: http://api.openoffice.org/DevelopersGuide/DevelopersGuide.html Hope that helps Regards Stephan Thanks for the attempt. Unfortunately the Basic IDE help files are both incomplete and full of error, the IDL reference is for the API and bindings, and not for the OOo Basic language, and the Developers Guide is out-of-date, incomplete, and is not a specification for the OOo Basic language. An an example: None of these references mention that you can use the user defined type keyword Type for compound data. There are a lot of omissions like this, and I am hoping to find the OOo Basic language specification upon which the interpreter implementation is based so that I don't burn man-hours on FAQs and guides built only on experimentation and guesswork. -- The Snake Pit - Development www.TheSnakePitDev.com Curtis Clauson[EMAIL PROTECTED] Proprietor Any sufficiently over-complicated magic is indistinguishable from technology. -- Llelan D. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]