https://issues.apache.org/ooo/show_bug.cgi?id=120061
Priority: P3
Bug ID: 120061
Assignee: [email protected]
Summary: Methods of css::awt::tab::XTabPageModel interface are
not visible through introspection on tab page model
Severity: normal
Issue Type: DEFECT
Classification: Code
OS: All
Reporter: [email protected]
Hardware: All
Status: CONFIRMED
Version: AOO 3.4.0
Component: code
Product: framework
setTitle method of css::awt::tab::XTabPageModel interface should be callable
on created tab page model by css::awt::tab::XTabPageContainerModel interface.
It works on Java but not work on Basic and Python.
Sub TabPageTest
DialogLibraries.loadLibrary("Standard")
d = CreateUnoDialog(DialogLibraries.Standard.Dialog1)
dialogModel = d.getModel()
tabContainerModel =
dialogModel.createInstance("com.sun.star.awt.tab.UnoControlTabPageContainerModel")
tabContainerModel.setPropertyValues(_
Array("Height", "PositionX", "PositionY", "Width"), Array(100, 5, 5, 100))
dialogModel.insertByName("tabpages", tabContainerModel)
tabPageModel = tabContainerModel.createTabPage(1)
tabPageModel.Title = "Bar"
tabContainerModel.insertByIndex(0, tabPageModel)
tabPageModel.setTitle("Foo") ' <- Error: Property or method not found:
setTitle
d.execute()
d.dispose()
End Sub
--
You are receiving this mail because:
You are the assignee for the bug.