icepdf 6.2.5 jar包


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-trialicepdf
     目录           0  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdflicenses
     文件       20602  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdflicensesAdobe_ICC_profiles.txt
     文件       10394  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdflicensesApacheLICENSE-2.0.txt
     文件        3474  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdflicensesCCITTFax_license.txt
     文件        2169  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdflicensesJBIG2_license.txt
     文件       25755  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdflicensesMPL-1.1.txt
     目录           0  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdflib
     文件      364830  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdflibatik-awt-util.jar
     文件       86082  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdflibatik-dom.jar
     文件      420130  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdflibatik-svg-dom.jar
     文件      162184  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdflibatik-svggen.jar
     文件       80381  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdflibatik-util.jar
     文件       20230  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdflibatik-xml.jar
     文件      673715  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdflibcpkix-jdk15on.jar
     文件     2968419  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdflibcprov-ext-jdk15on.jar
     文件     3277268  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdflibcprov-jdk15on.jar
     文件     1171602  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdflibicepdf-core.jar
     文件      192353  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdflibicepdf-extra.jar
     文件     3019399  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdflibicepdf-pro-intl.jar
     文件      334370  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdflibicepdf-pro.jar
     文件      767596  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdflibicepdf-viewer.jar
     文件      139412  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdfliblevigo-jbig2-imageio.jar
     文件        2539  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdfliblogging.properties
     文件        5772  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdflibversions-licenses.html
     目录           0  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdfmaven2
     文件        1057  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdfmaven2README.txt
     文件         665  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdfmaven2uild.properties
     文件       10987  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdfmaven2uild.xml
     文件        3207  2017-07-24 10:31  ICEpdf-pro-6.2.5-bin-trialicepdfmaven2icepdf-core.pom
............此处省略111个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)