资源简介
icepdf 6.2.5版本,javaPDF转图片使用的jar包, jar包在lib文件夹中.......................................
代码片段和文件信息
/*
* Copyright 2006-2017 ICEsoft Technologies Canada Corp.
*
* Licensed under the Apache License Version 2.0 (the “License“);
* you may not use this file except in compliance with the
* License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing
* software distributed under the License is distributed on an “AS
* IS“ BASIS WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either
* express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
import org.icepdf.core.pobjects.Name;
import org.icepdf.core.pobjects.Page;
import org.icepdf.core.pobjects.actions.*;
import org.icepdf.core.pobjects.annotations.Annotation;
import org.icepdf.core.pobjects.annotations.Borderstyle;
import org.icepdf.core.pobjects.annotations.linkAnnotation;
import org.icepdf.ri.common.SwingController;
import org.icepdf.ri.common.views.AnnotationCallback;
import org.icepdf.ri.common.views.AnnotationComponent;
import org.icepdf.ri.common.views.DocumentViewController;
import org.icepdf.ri.common.views.PageViewComponent;
import org.icepdf.ri.util.BareBonesBrowserLaunch;
import java.awt.*;
import java.io.File;
import java.util.List;
import java.util.WeakHashMap;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* This class represents a basic implementation of the AnnotationCallback. This
* class also modifies the border of annotation for initial display showing a
* border around all annotation. When an annotation is clicked on we then change
* the colour of the annotation to an alternate colour to indicate that the link
* has already been clicked.
*
* @author ICEsoft Technologies Inc.
* @since 2.7.1
*/
public class MyAnnotationCallback implements AnnotationCallback {
private static final Logger logger =
Logger.getLogger(MyAnnotationCallback.class.toString());
private DocumentViewController documentViewController;
// annotation History map similar to browser link history. This is weak
// hash map to avoid any potential memory issue for a large document. As
// this class lives for as long as the document is open.
private WeakHashMap annotationHistory;
private static final Color ANNOTATION = Color.red;
private static final Color ANNOTATION_VISITED = Color.blue;
public MyAnnotationCallback(DocumentViewController documentViewController) {
this.documentViewController = documentViewController;
// annotations click on history
annotationHistory = new WeakHashMap();
}
/**
* Implemented Annotation Callback method. When an annotation is
* activated in a PageViewComponent it passes the annotation to this method
* for processing. The PageViewComponent take care of drawing the
* annotation states but it up to this method to
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\
目录 0 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\
目录 0 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\licenses\
文件 20602 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\licenses\Adobe_ICC_profiles.txt
文件 10394 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\licenses\ApacheLICENSE-2.0.txt
文件 3474 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\licenses\CCITTFax_license.txt
文件 2169 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\licenses\JBIG2_license.txt
文件 25755 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\licenses\MPL-1.1.txt
目录 0 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\lib\
文件 364830 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\lib\batik-awt-util.jar
文件 86082 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\lib\batik-dom.jar
文件 420130 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\lib\batik-svg-dom.jar
文件 162184 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\lib\batik-svggen.jar
文件 80381 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\lib\batik-util.jar
文件 20230 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\lib\batik-xm
文件 673715 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\lib\bcpkix-jdk15on.jar
文件 2968419 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\lib\bcprov-ext-jdk15on.jar
文件 3277268 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\lib\bcprov-jdk15on.jar
文件 1171602 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\lib\icepdf-core.jar
文件 192353 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\lib\icepdf-extra.jar
文件 3019399 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\lib\icepdf-pro-intl.jar
文件 334370 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\lib\icepdf-pro.jar
文件 767596 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\lib\icepdf-viewer.jar
文件 139412 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\lib\levigo-jbig2-imageio.jar
文件 2539 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\lib\logging.properties
文件 5772 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\lib\versions-licenses.html
目录 0 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\maven2\
文件 1057 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\maven2\README.txt
文件 665 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\maven2\build.properties
文件 10987 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\maven2\build.xm
文件 3207 2017-07-24 10:31 ICEpdf-pro-6.2.5-bin-trial\icepdf\maven2\icepdf-core.pom
............此处省略111个文件信息
- 上一篇:java试卷和答案10套
- 下一篇:Java课程设计日历记事本
相关资源
- itext最新jar包及textAsian无错误版本
- JNA所需要的jar包
- jsonarray所必需的6个jar包.rar
- utgard用到的jar包
- commons-beanutils-1.8.3.jar
- ehcache-core-2.5.1.jar
- android-support-v4.jar已打包进去源代码
- java实现小型函数画图板(附源代码、
- java读取DBF解决方案(可以解决javadb
- Android v7的一些jar包
- windows 系统下启动与结束java的jar包的
- axis.jar及依赖jar包
- axis2需要的1.6.2jar
- commons-codec-1.3.jar和commons-httpclient-3.0
- Java HttpClient 4.x Jar包
-
ba
se64Encode编码,jar包源代码打包 - sqlserver2008连接所需jar包六个
- jdk和cglib动态代理的{jar包+源码}
- cglib-2.2.2.jar 和 asm-all-3.0.jar
- cglibjar包
- 传智itcast-bookstore所需jar包
- xalan-2.7.1.jar
- mysql-connector-java-5.0.8-bin驱动jar
- kettle连接数据库相关jar包
- 官方mysql-connector-java-5.1.28-bin.jar
- mysql-connector-java-5.1.17.jar
- Android直连Mysql数据库需要导入的jar包
- 音乐相关的jar
- oracle11g jar包for JDBC
- oracle 11g jdbc jar包
评论
共有 条评论