亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? pdfannotation.java

?? iText可以制作中文PDF文件的JAVA源程序最新版下載
?? JAVA
?? 第 1 頁 / 共 2 頁
字號(hào):
/* * $Id: PdfAnnotation.java,v 1.28 2002/07/09 11:28:22 blowagie Exp $ * $Name:  $ * * Copyright 1999, 2000, 2001, 2002 Bruno Lowagie * * The contents of this file are subject to the Mozilla Public License Version 1.1 * (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.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License * for the specific language governing rights and limitations under the License. * * The Original Code is 'iText, a free JAVA-PDF library'. * * The Initial Developer of the Original Code is Bruno Lowagie. Portions created by * the Initial Developer are Copyright (C) 1999, 2000, 2001, 2002 by Bruno Lowagie. * All Rights Reserved. * Co-Developer of the code is Paulo Soares. Portions created by the Co-Developer * are Copyright (C) 2000, 2001, 2002 by Paulo Soares. All Rights Reserved. * * Contributor(s): all the names of the contributors are added in the source code * where applicable. * * Alternatively, the contents of this file may be used under the terms of the * LGPL license (the "GNU LIBRARY GENERAL PUBLIC LICENSE"), in which case the * provisions of LGPL are applicable instead of those above.  If you wish to * allow use of your version of this file only under the terms of the LGPL * License and not to allow others to use your version of this file under * the MPL, indicate your decision by deleting the provisions above and * replace them with the notice and other provisions required by the LGPL. * If you do not delete the provisions above, a recipient may use your version * of this file under either the MPL or the GNU LIBRARY GENERAL PUBLIC LICENSE. * * This library is free software; you can redistribute it and/or modify it * under the terms of the MPL as stated above or under the terms of the GNU * Library General Public License as published by the Free Software Foundation; * either version 2 of the License, or any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Library general Public License for more * details. * * If you didn't download this code from the following link, you should check if * you aren't using an obsolete version: * http://www.lowagie.com/iText/ */package com.lowagie.text.pdf;import com.lowagie.text.Rectangle;import java.util.HashMap;import java.awt.Color;/** * A <CODE>PdfAnnotation</CODE> is a note that is associated with a page. * * @see		PdfDictionary */public class PdfAnnotation extends PdfDictionary {        public static final PdfName HIGHLIGHT_NONE = PdfName.N;    public static final PdfName HIGHLIGHT_INVERT = PdfName.I;    public static final PdfName HIGHLIGHT_OUTLINE = PdfName.O;    public static final PdfName HIGHLIGHT_PUSH = PdfName.P;    public static final PdfName HIGHLIGHT_TOGGLE = PdfName.T;    public static final int FLAGS_INVISIBLE = 1;    public static final int FLAGS_HIDDEN = 2;    public static final int FLAGS_PRINT = 4;    public static final int FLAGS_NOZOOM = 8;    public static final int FLAGS_NOROTATE = 16;    public static final int FLAGS_NOVIEW = 32;    public static final int FLAGS_READONLY = 64;    public static final PdfName APPEARANCE_NORMAL = PdfName.N;    public static final PdfName APPEARANCE_ROLLOVER = PdfName.R;    public static final PdfName APPEARANCE_DOWN = PdfName.D;    public static final PdfName AA_ENTER = PdfName.E;    public static final PdfName AA_EXIT = PdfName.X;    public static final PdfName AA_DOWN = PdfName.D;    public static final PdfName AA_UP = PdfName.U;    public static final PdfName AA_FOCUS = PdfName.FO;    public static final PdfName AA_BLUR = PdfName.BL;    public static final PdfName AA_JS_KEY = PdfName.K;    public static final PdfName AA_JS_FORMAT = PdfName.F;    public static final PdfName AA_JS_CHANGE = PdfName.V;    public static final PdfName AA_JS_OTHER_CHANGE = PdfName.C;    public static final int MARKUP_HIGHLIGHT = 0;    public static final int MARKUP_UNDERLINE = 1;    public static final int MARKUP_STRIKEOUT = 2;    protected PdfWriter writer;    protected PdfIndirectReference reference;    protected HashMap templates;    protected boolean form = false;    protected boolean annotation = true;        /** Holds value of property used. */    protected boolean used = false;        /** Holds value of property placeInPage. */    private int placeInPage = -1;        // constructors    protected PdfAnnotation(PdfWriter writer, Rectangle rect) {        this.writer = writer;        if (rect != null)            put(PdfName.RECT, new PdfRectangle(rect));    }    /** * Constructs a new <CODE>PdfAnnotation</CODE> of subtype text. */        PdfAnnotation(PdfWriter writer, float llx, float lly, float urx, float ury, PdfString title, PdfString content) {        this.writer = writer;        put(PdfName.SUBTYPE, PdfName.TEXT);        put(PdfName.T, title);        put(PdfName.RECT, new PdfRectangle(llx, lly, urx, ury));        put(PdfName.CONTENTS, content);    }    /** * Constructs a new <CODE>PdfAnnotation</CODE> of subtype link (Action). */        public PdfAnnotation(PdfWriter writer, float llx, float lly, float urx, float ury, PdfAction action) {        this.writer = writer;        put(PdfName.SUBTYPE, PdfName.LINK);        put(PdfName.RECT, new PdfRectangle(llx, lly, urx, ury));        put(PdfName.A, action);        put(PdfName.BORDER, new PdfBorderArray(0, 0, 0));        put(PdfName.C, new PdfColor(0x00, 0x00, 0xFF));    }        PdfIndirectReference getIndirectReference() {        if (reference == null) {            reference = writer.getPdfIndirectReference();        }        return reference;    }        public static PdfAnnotation createText(PdfWriter writer, Rectangle rect, String title, String contents, boolean open, String icon) {        PdfAnnotation annot = new PdfAnnotation(writer, rect);        annot.put(PdfName.SUBTYPE, PdfName.TEXT);        if (title != null)            annot.put(PdfName.T, new PdfString(title, PdfObject.TEXT_UNICODE));        if (contents != null)            annot.put(PdfName.CONTENTS, new PdfString(contents, PdfObject.TEXT_UNICODE));        if (open)            annot.put(PdfName.OPEN, PdfBoolean.PDFTRUE);        if (icon != null) {            annot.put(PdfName.NAME, new PdfName(icon));        }        return annot;    }        protected static PdfAnnotation createLink(PdfWriter writer, Rectangle rect, PdfName highlight) {        PdfAnnotation annot = new PdfAnnotation(writer, rect);        annot.put(PdfName.SUBTYPE, PdfName.LINK);        if (!highlight.equals(HIGHLIGHT_INVERT))            annot.put(PdfName.H, highlight);        return annot;    }        public static PdfAnnotation createLink(PdfWriter writer, Rectangle rect, PdfName highlight, PdfAction action) {        PdfAnnotation annot = createLink(writer, rect, highlight);        annot.putEx(PdfName.A, action);        return annot;    }    public static PdfAnnotation createLink(PdfWriter writer, Rectangle rect, PdfName highlight, String namedDestination) {        PdfAnnotation annot = createLink(writer, rect, highlight);        annot.put(PdfName.DEST, new PdfString(namedDestination));        return annot;    }    public static PdfAnnotation createLink(PdfWriter writer, Rectangle rect, PdfName highlight, int page, PdfDestination dest) {        PdfAnnotation annot = createLink(writer, rect, highlight);        PdfIndirectReference ref = writer.getPageReference(page);        dest.addPage(ref);        annot.put(PdfName.DEST, dest);        return annot;    }        public static PdfAnnotation createFreeText(PdfWriter writer, Rectangle rect, String contents, PdfContentByte defaultAppearance) {        PdfAnnotation annot = new PdfAnnotation(writer, rect);        annot.put(PdfName.SUBTYPE, PdfName.FREETEXT);        annot.put(PdfName.CONTENTS, new PdfString(contents, PdfObject.TEXT_UNICODE));        annot.setDefaultAppearanceString(defaultAppearance);        return annot;    }    public static PdfAnnotation createLine(PdfWriter writer, Rectangle rect, String contents, float x1, float y1, float x2, float y2) {        PdfAnnotation annot = new PdfAnnotation(writer, rect);        annot.put(PdfName.SUBTYPE, PdfName.LINE);        annot.put(PdfName.CONTENTS, new PdfString(contents, PdfObject.TEXT_UNICODE));        PdfArray array = new PdfArray(new PdfNumber(x1));        array.add(new PdfNumber(y1));        array.add(new PdfNumber(x2));        array.add(new PdfNumber(y2));        annot.put(PdfName.L, array);        return annot;    }    public static PdfAnnotation createSquareCirlcle(PdfWriter writer, Rectangle rect, String contents, boolean square) {        PdfAnnotation annot = new PdfAnnotation(writer, rect);        if (square)            annot.put(PdfName.SUBTYPE, PdfName.SQUARE);        else            annot.put(PdfName.SUBTYPE, PdfName.CIRCLE);

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日本视频在线| 欧美日韩一区二区电影| 久久夜色精品国产欧美乱极品| 丝袜亚洲精品中文字幕一区| 欧美日韩国产在线观看| 舔着乳尖日韩一区| 欧美一区二区三区四区视频| 奇米精品一区二区三区在线观看| 欧美一区午夜视频在线观看| 极品美女销魂一区二区三区免费| 精品sm在线观看| 成人免费视频视频| 曰韩精品一区二区| 欧美一级理论性理论a| 国产麻豆视频精品| 成人免费在线视频| 欧美电影在哪看比较好| 久久99国产精品久久99果冻传媒| 国产精品免费看片| 欧美写真视频网站| 国产自产v一区二区三区c| 久久精品在线观看| 欧美日韩在线不卡| 国产精品伊人色| 亚洲一级不卡视频| 欧美va亚洲va国产综合| 97久久精品人人澡人人爽| 亚洲综合视频网| 国产亚洲va综合人人澡精品| 一本大道av伊人久久综合| 青青草国产成人av片免费| 国产精品久99| 日韩亚洲欧美成人一区| 97久久超碰精品国产| 日本伊人午夜精品| 日韩伦理电影网| www久久久久| 欧美日韩成人在线一区| youjizz国产精品| 精油按摩中文字幕久久| 亚洲国产三级在线| 欧美激情一区二区三区在线| 欧美剧情电影在线观看完整版免费励志电影| 国产综合成人久久大片91| 亚洲高清三级视频| 亚洲视频一二区| 国产视频在线观看一区二区三区| 欧美美女直播网站| 日本精品一区二区三区高清| 国产黄人亚洲片| 精油按摩中文字幕久久| 午夜欧美电影在线观看| 国产精品国产三级国产aⅴ无密码| 91精品国产综合久久精品图片| 不卡电影一区二区三区| 国产一区二区三区高清播放| 国产麻豆欧美日韩一区| 色菇凉天天综合网| 精品亚洲porn| 亚洲成人av免费| 国产精品久久久久久久蜜臀| 欧美一区二区日韩一区二区| 欧美性感一类影片在线播放| av欧美精品.com| 成人午夜大片免费观看| 国产一区二区美女诱惑| 看片网站欧美日韩| 天天综合日日夜夜精品| 亚洲国产aⅴ天堂久久| 亚洲精品自拍动漫在线| 中文字幕视频一区二区三区久| 久久久久久久免费视频了| 欧美r级电影在线观看| 欧美一区二区成人| 欧美一区二区三区电影| 在线不卡a资源高清| 欧美日韩免费在线视频| 欧美午夜在线一二页| 精品视频免费在线| 欧美色精品在线视频| 欧美性做爰猛烈叫床潮| 欧美日韩在线精品一区二区三区激情| 在线一区二区视频| 欧美日韩一区视频| 日韩一区二区三区免费看| 精品国产免费人成在线观看| www精品美女久久久tv| 久久久久久久久伊人| 国产精品你懂的在线| 亚洲视频1区2区| 五月婷婷久久综合| 麻豆精品国产91久久久久久| 国产在线日韩欧美| 成人v精品蜜桃久久一区| 91行情网站电视在线观看高清版| 色综合久久综合网97色综合 | 日本一区二区电影| 国产精品成人免费| 亚洲成人资源网| 久久精品噜噜噜成人av农村| 国产精品18久久久久久久久 | 欧美日韩久久久一区| 欧美精品三级在线观看| 日韩欧美国产精品| 欧美国产精品一区二区三区| 综合激情成人伊人| 日本女优在线视频一区二区| 国产高清在线精品| 欧美色图天堂网| 精品国产99国产精品| 亚洲欧洲国产专区| 五月综合激情日本mⅴ| 国产福利不卡视频| 欧美日韩国产综合一区二区| 久久久亚洲精品石原莉奈| 亚洲乱码精品一二三四区日韩在线| 午夜视频在线观看一区二区| 国产精品一二三四| 欧美日韩中文国产| 欧美激情一区二区| 亚洲韩国精品一区| 国产成人av电影免费在线观看| 欧美性感一类影片在线播放| 久久久久久免费毛片精品| 亚洲综合图片区| 国产不卡视频在线观看| 欧美高清hd18日本| 亚洲欧美一区二区三区孕妇| 麻豆成人91精品二区三区| 91免费看`日韩一区二区| 亚洲精品在线三区| 一区二区三区蜜桃| 成人性视频免费网站| 欧美精品在线一区二区| 一区精品在线播放| 国产乱码一区二区三区| 91.麻豆视频| 亚洲精品高清视频在线观看| 国模娜娜一区二区三区| 91精品国产日韩91久久久久久| 成人欧美一区二区三区小说| 国产一区二区美女诱惑| 这里只有精品电影| 亚洲最快最全在线视频| av午夜一区麻豆| 国产欧美一二三区| 麻豆91精品视频| 在线成人高清不卡| 午夜电影一区二区| 色就色 综合激情| 亚洲三级久久久| k8久久久一区二区三区| 精品欧美一区二区久久| 免费看黄色91| 日韩亚洲欧美在线| 日本午夜精品视频在线观看| 欧美日韩国产高清一区二区三区| 亚洲女同女同女同女同女同69| 丁香激情综合国产| 国产色婷婷亚洲99精品小说| 国内精品伊人久久久久av影院| 91麻豆精品国产自产在线观看一区 | 精品福利一二区| 蜜桃传媒麻豆第一区在线观看| 欧美区一区二区三区| 亚洲国产综合在线| 欧美无人高清视频在线观看| 亚洲国产一区视频| 欧美日韩的一区二区| 日韩成人免费看| 日韩视频一区二区三区| 久久精品国产色蜜蜜麻豆| 精品国产一区二区三区忘忧草| 精品在线播放午夜| 久久老女人爱爱| 国产99久久久国产精品| 18成人在线视频| 欧美中文字幕一区二区三区 | 91在线免费播放| 亚洲天堂久久久久久久| 99精品一区二区| 亚洲bt欧美bt精品777| 欧美日韩高清一区二区不卡 | 中文字幕精品三区| 成人av电影免费在线播放| 自拍视频在线观看一区二区| 欧美午夜精品理论片a级按摩| 日韩**一区毛片| 久久久不卡网国产精品二区| 99精品热视频| 日韩成人一区二区三区在线观看| 精品欧美一区二区久久| a4yy欧美一区二区三区| 亚洲美女在线一区| 6080国产精品一区二区| 国产伦精品一区二区三区免费| 中文字幕亚洲区| 日韩一区二区在线播放| 成a人片国产精品| 日本成人中文字幕在线视频 |