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://codercto.com/soft/d/14778.html

CSS3 For Web Designers

CSS3 For Web Designers

Dan Cederholm / Happy Cog / 2010-11 / $18

From advanced selectors to generated content to the triumphant return of web fonts, and from gradients, shadows, and rounded corners to full-blown animations, CSS3 is a universe of creative possibilit......一起来看看 《CSS3 For Web Designers》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

html转js在线工具
html转js在线工具

html转js在线工具