【文件属性】:
文件名称:haskell-uno-binding:Haskell绑定到LibreOffice UNO框架
文件大小:81KB
文件格式:ZIP
更新时间:2021-05-13 12:07:11
C++
Haskell UNO绑定
该项目旨在为Haskell语言提供到LibreOffice的通用网络对象(UNO)的绑定。
它包括三个部分:
hs_unoidl根据IDL规范生成代码以调用API;
hs_uno是绑定的核心,提供基本类型和必要的代码来调用API; 和,
examples显示了使用绑定的不同方法。
hs-uno软件包的README中提供了有关如何构建使用UNO API hs-uno软件包的信息。
运行一个例子
要运行示例,需要先编译hs_unoidl ,然后才能编译并运行该示例。 从克隆存储库到运行示例macro-expander的步骤是:
# required environment variables
export LO_INSTDIR=/path/to/libreoffice/installation/directory
export LO_SRC=/path/
【文件预览】:
haskell-uno-binding-master
----hs_uno()
--------LICENSE(16KB)
--------hs-uno.cabal(1005B)
--------src()
--------Setup.hs(5KB)
--------README.md(3KB)
----examples()
--------document_loader()
--------macro_expander()
--------swriter()
--------startlo.sh(111B)
----hs_unoidl()
--------src()
--------.gitignore(20B)
--------Makefile(2KB)
--------README.md(55B)
----.gitignore(90B)
----README.md(2KB)