WDocument top = doc();
//整个文档转html
System.out.println(top.html());
WTable table = top.tables().get(0);

//单个table转html
System.out.println(table.html());

//如果其中有图片可以提供一个Uploader,否则会生base64格式图片
Uploader uploader = new Uploader() {
	@Override
	public String upload(String name, InputStream is) {
		//处理这个输入流并返回文件地址
		return "http://cdn.anyline.org/img/user/alvg.png";
	}
};
System.out.println(table.html(uploader));