资源简介
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课程设计日历记事本
相关资源
- springboot全部jar包
- openSCADA的所需的jar
- Struts jar包
- mqtt_demo java端实现 包含 mqtt jar依赖包
- hibernate需要的jar包
- axis2生成客户端代码 (带jar包)
- axis2-1.7.7-bin所有jar包
- 常用的common.jar文件
- java 开发 IBM WebSphere MQ 最新jar
- Activiti6.0依赖jar包依赖解决
- axis2所用jar包大全
- XFire1.2.6完整版JAR包
- Spring、MyBatis和SpringMVC整合的jar包
- hadoop-eclipse-plugin-3.1.2.jar
- The document was created with Spire.PDF for Ja
- Java 生成pdf文件加盖公章图片,上传阿
-
java版aspose-pdf相关jar和license.xm
l - Hadoop的jar包
- ysoserial-0.0.4-all.jar
- hadoop-eclipse-plugin-2.9.2.jar 插件
- hadoop-eclipse-plugin-2.7.7.jar 插件
- The C++ Programming Language Special Edition 中
- aspose.pdf-17.8.jar
- JDBC资料及jar包
- AndroidStudio集成Zxing实现扫一扫demo
- VTK8.0.1+Java环境编译文件Jar包和DLL文件
- aspose-slides-19.6.jar
- java的jar包,几乎很全
- spring5.0全套jar包
- word转pdf用到的jar包
评论
共有 条评论