Skip to content

inserts a python script (Macro) into a LibreOffice Calc document

Notifications You must be signed in to change notification settings

circulosmeos/LibreOfficeScriptInsert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

LibreOfficeScriptInsert.py inserts a python script (Macro) into a LibreOffice Calc document.

Tested with LibreOffice 5.2, at least.

Use

 $ python LibreOfficeScriptInsert.py myDocument.ods myScript.py

A copy of myDocument.ods will created, with the script myScript.py embedded in it, and with name myDocument.with_script.ods

Example

For example, the script FIFOStockSellProfitCalculator.py that calculates FIFO profits, can be inserted into any of your .ods Calc documents for portability and ease of use, with:

 $ python LibreOfficeScriptInsert.py myStocks.ods FIFOStockSellProfitCalculator.py

The Calc document with the Macro script embedded will be named myStocks.with_script.ods

License

Licensed as GPL v3 or higher.

About

inserts a python script (Macro) into a LibreOffice Calc document

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages