| Summary: | Allow python functions to be called from cell formulas | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Quazgar <quazgar> |
| Component: | sdk | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | enhancement | CC: | himajin100000, ilmari.lauhakangas, rb.henschel |
| Priority: | low | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 127593 | ||
|
Description
Quazgar
2017-10-05 22:56:34 UTC
I discussed with developers and the consensus was: "if the reporter implements a function decarator or whatever that can generate the necessary boiler-plate to register an UNO add-in then we'll merge it" Regarding patches: https://wiki.documentfoundation.org/Development/gerrit/SubmitPatch Regarding general development: https://wiki.documentfoundation.org/Development I would love to use the Python decorator described above … However Python functions can be called from cells with the help of a Basic wrapper function as described in: https://help.libreoffice.org/latest/en-US/text/sbasic/guide/basic_2_python.html This is feasible regardless of the Python routine location: o user module o LibO shared module o document-based module o user or shared extension module Macro x-language calls are detailed here: https://wiki.openoffice.org/wiki/Documentation/DevGuide/Scripting/Scripting_Framework_URI_Specification I suggest to close this incident as WONTFIX since a workaround exists. Ok, let's close |