Alle 12:25, marted� 15 marzo 2005, Laurent Godard ha scritto:
> Hi Paolo,
>
> That's great
> Thanks for feeding us with such intrresting things
>
> a question about dealing with framles and windows.
> Do you have an idea how to make a windows dockable as the stylist or the
> navigator ?
I'm trying from years! but with any success ;-(
No sorry no idea...
some strange things can probably be done with the "_beamer" :
Open the datasource (F4)
in the OOBasic IDE add a new dialog and run the following code:
-------------------------
REM ***** BASIC *****
Sub Main
oFrames = ThisComponent.CurrentController.Frame.getFrames
For I = 0 To oFrames.Count - 1
oFrame = oFrames.getByIndex(I)
if oFrame.Name = "_beamer" Then
' Create the Property Browser Controller
oPropBrowser =
CreateUnoService("com.sun.star.form.PropertyBrowserController")
oPropBrowser.attachFrame(oFrame)
' Retrieve an UNO Control Model
oDlg = CreateUnoDialog(DialogLibraries.Standard.Dialog1)
oCtrlModel = oDlg.getModel
'also Form Controls works well(obvious)
' oCtrlModel = ThisComponent.DrawPage.Forms.Standard.PushButton
' Show Control properties in the browser
oPropBrowser.introspectedObject = oCtrlModel
End If
Next I
End Sub
-------------------------
Unfortunately, I've not been able to attach the beamer to the controller of a
normal document.
This would be very nice but causes ooo to close without any messages.
ciao
Paolo M.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]