LibreOffice Python API
可以透過 Python 來處理 UNO 開放處理界面,而透過此自動化處理內容與資料,說不定是後續可以提供自動化工具的契機。
查詢許多資料,發現目前的腳本已經從巨集,改為使用 Python 進行處理,但因為目前是使用 ChatGPT 提供的資料,可能先嘗試再改變作法,目前先把覺得可以紀錄留下。
目前主要要處理很多頁面的 CSV 檔案,因此希望可以自動化處理儲存與轉換,幫助處理的 git rebase
的便利性。
參考資料
- https://api.libreoffice.org/
- https://help.libreoffice.org/6.3/zh-TW/text/sbasic/python/python_examples.html?DbPAR=BASIC
- https://www.libreofficechina.org/python-libreoffice-api-hello-world/
- https://github.com/jferard/py4lo
- https://wiki.documentfoundation.org/Macros/Python_Design_Guide
- https://medium.com/analytics-vidhya/starting-libreoffice-with-python-macro-programming-in-openoffice-libreoffice-with-using-10310f9e69f1
- https://help.libreoffice.org/6.3/hi/text/sbasic/python/main0000.html
- https://www.debugpoint.com/first-python-macro-libreoffice/
- https://ithelp.ithome.com.tw/articles/10333778
- https://help.libreoffice.org/latest/en-US/text/sbasic/shared/03/lib_ScriptForge.html
- https://youtu.be/3xnO1prvgmk?si=lz276sQ3Jm_VF-gq
- https://mobiarch.wordpress.com/2023/03/05/using-the-libreoffice-python-api/
- https://help.libreoffice.org/6.3/en-US/text/sbasic/python/python_programming.html
- https://python-ooo-dev-tools.readthedocs.io/en/latest/odev/index.html
- https://gist.github.com/Foadsf/58d401c9b9ed5d80f60deee88d1fcdfd
- https://wiki.documentfoundation.org/Macros/Python_Guide/Introduction
- https://youtu.be/pHlLdyJz2sE?si=JP0Y0-hbHng7CSd7
- https://help.libreoffice.org/6.3/zh-CN/text/sbasic/python/main0000.html?DbPAR=BASIC