incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120358] Some properties of tab page model do not work
Date Tue, 24 Jul 2012 17:33:25 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120358

--- Comment #3 from hanya <hanya.runo@gmail.com> ---
Here is workaround for Basic.

  cr = CreateUnoService("com.sun.star.reflection.CoreReflection")
  idl = cr.forName("com.sun.star.awt.tab.XTabPageModel")
  field = idl.getField("ImageURL")

  tab1 = tabs.createTabPage(1)
  tab1.Title = "Page1" ' works
  'tab1.setImageURL("private:graphicrepository/res/harddisk_16.png")
  field.set(tab1, "private:graphicrepository/res/harddisk_16.png")
  tabs.insertByIndex(0, tab1)

css.awt.tab.UnoControlTabPageModel service and css.awt.tab.XTabPageModel
interface 
are now published and no properties related to tab model is defined in the
service idl. 
But attributes are published API. 
To remove these un-documented properties from the implementation is collect
solution?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message