Hi, I have libreoffice 5.3 and I am programming in PowerBuilder 10.5. The problem is that It not recognize the getByName ("") with which I try to access the bookmarker in Writer. Has anyone succeeded? I guess the writer’s version is indifferent.
-The error he gives is: Name not found calling external object funtion getbyname.
-The code I use is the following:
li_ret=iole_serviceManager.ConnecttoNewObject(“com.sun.star.ServiceManager”)
…
iole_objDeskTop = iole_serviceManager.createInstance(“com.sun.star.frame.Desktop”)
…
iole_objDocumento = iole_objDeskTop.loadComponentFromURL(“file:///” + as_ruta, ‘_blank’, 0, iole_propertyValue[])
…
obookmark = iole_objDocumento.Bookmarks.getByNamex(“MARCADOR1”)
Does anyone have any idea that where I may be failing? Thank you very much in advance for your time reading me.