10 2013 档案

摘要:/* * 传进一个office文件的byte[]以及后缀,生成一个pdf文件的byte[] */ public byte[] jacob_Office2Pdf(byte[] srcFileBytes, String postfix) { if (srcFileBytes == null || srcFileBytes.length == 0 || postfix.equals("") || postfix == null) { return null; } else { ... 阅读全文
posted @ 2013-10-31 16:55 郑小明 阅读(8134) 评论(1) 推荐(0) 编辑
摘要:public static boolean printOfficeFile(File f) { if (f != null && f.exists()) { String fileNameString = f.getName(); String postfixString = Utils.getPostfix(fileNameString); if (postfixString.equalsIgnoreCase("xls") || postfixString.equalsIgnoreCase("xlsx")) { /** * 功能:实现e 阅读全文
posted @ 2013-10-31 16:50 郑小明 阅读(6210) 评论(0) 推荐(0) 编辑