https://bz.apache.org/ooo/show_bug.cgi?id=127395

peterB <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|IRREPRODUCIBLE              |---

--- Comment #9 from peterB <[email protected]> ---
Minor typo in your code: Arg2(0).Name and Arg2(0).Value assignments near the
end should be Arg(0).Name and Arg(0).Value

I can see that that works using a Basic macro, but can't get it to work in the
Python unoconv.py script.

I replaced the document.CurrentController.setActiveSheet(sheet) FOR loop block
in my code with:

oFrame = document.CurrentController.Frame
dispatcher =
self.unosvcmgr.createInstanceWithContext("com.sun.star.frame.DispatchHelper",
self.unocontext)
patchProps = UnoProps(NameError="Tables", Value=tuple([2]))
dispatcher.executeDispatch(oFrame, ".uno:SelectTables", "", 0, patchProps)


to no avail.
So this is still a bug!

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

Reply via email to