Excel Addins 的 Java 接口 JXLL

码农软件 · 软件分类 · Excel开发包 · 2019-09-17 09:27:52

软件介绍

JXLL 提供了一个 Java 的接口用来跟 Excel Addins (XLLs) 交互,可以直接执行 Addins 中提供的函数。

示例代码:

import org.boris.jxll.Addin;
import org.boris.jxll.XLL;
import org.boris.jxll.XLOper;

public class JXLLExample
{
public static void main(String[] args) throws Exception {
System.out.println("Loading TestXLL.dll...");

// Load the XLL and check the result
Addin a = XLL.load("TestXLL.dll");
if (a == null) {
System.out.println("Failed to load addin");
return;
}

// Create some random arguments
double a1 = Math.round(Math.random() * 60000) / 100.;
double a2 = Math.round(Math.random() * 4000) / 100.;
System.out.println("Invoking TestSum(" + a1 + "," + a2 + ")");

// Invoke the TestSum functon
XLOper res = a.invoke("TestSum", new Double(a1), new Double(a2));

// Output the result
System.out.println(res.num);
}
}

本文地址:https://www.codercto.com/soft/d/14778.html

UNIX环境高级编程(第3版)

UNIX环境高级编程(第3版)

史蒂文斯 (W.Richard Stevens)、拉戈 (Stephen A.Rago) / 戚正伟、张亚英、尤晋元 / 人民邮电出版社 / 2014-6-1 / 128.00元

《UNIX环境高级编程(第3版)》是被誉为UNIX编程“圣经”的Advanced Programming in the UNIX Environment一书的第3版。在本书第2版出版后的8年中,UNIX行业发生了巨大的变化,特别是影响UNIX编程接口的有关标准变化很大。本书在保持前一版风格的基础上,根据最新的标准对内容进行了修订和增补,反映了最新的技术发展。书中除了介绍UNIX文件和目录、标准I/......一起来看看 《UNIX环境高级编程(第3版)》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

URL 编码/解码
URL 编码/解码

URL 编码/解码

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具