You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/02/28 14:08:39 UTC
DO NOT REPLY [Bug 118988] New: Calling a python macro assigned to a
dialog in the IDE does not work
https://issues.apache.org/ooo/show_bug.cgi?id=118988
Bug #: 118988
Issue Type: DEFECT
Summary: Calling a python macro assigned to a dialog in the IDE
does not work
Classification: Code
Product: scripting
Version: OOo 3.4 Beta
Platform: PC
OS/Version: Windows XP
Status: CONFIRMED
Severity: normal
Priority: P3
Component: code
AssignedTo: ooo-issues@incubator.apache.org
ReportedBy: plebihan@tekimmo.com
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 118988] Calling a python macro assigned to a
dialog in the IDE does not work
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118988
--- Comment #1 from plebihan@tekimmo.com 2012-02-28 13:10:49 UTC ---
>From the IDE, in a dialog containing a button, it is possible to add a python
macro in the 'execute action' event of the button (like a basic macro).
Unfortunately the python macro is not called during the execution of the
dialog.
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 118988] Calling a python macro assigned to a
dialog in the IDE does not work
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118988
--- Comment #2 from plebihan@tekimmo.com 2012-02-28 13:12:02 UTC ---
Created attachment 77259
--> https://issues.apache.org/ooo/attachment.cgi?id=77259
python macro assigned to a dialog control
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 118988] Calling a python macro assigned to a
dialog in the IDE does not work
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118988
hanya <ha...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hanya.runo@gmail.com
--- Comment #3 from hanya <ha...@gmail.com> 2012-02-28 13:16:55 UTC ---
If your python function which you tried to call by the button, does not take
arguments fits with origination of their listener function, add them according
to IDL reference.
So, you can simply write like this:
def foo(*args):
""" Description. """
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 118988] Calling a python macro assigned to a dialog in the IDE
does not work
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118988
hanya <ha...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CONFIRMED |RESOLVED
Resolution|--- |NOT_AN_ISSUE
--- Comment #4 from hanya <ha...@gmail.com> ---
Calling functions is sensible about number of arguments in Python.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.