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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? pdfcell.java

?? iText可以制作中文PDF文件的JAVA源程序最新版下載
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
            case Image.MIDDLE:                left = left + ((right - left - image.scaledWidth()) / 2f);                break;            case Image.LEFT:            default:        }        image.setAbsolutePosition(left, height + (lines.size() - 2) * leading + image.scaledHeight() + 0.4f * leading);        images.add(image);        return height + image.scaledHeight() + 0.4f * leading;    }        /**     * Gets the lines of a cell that can be drawn between certain limits.     * <P>     * Remark: all the lines that can be drawn are removed from the object!     *     * @param	top		the top of the part of the table that can be drawn     * @param	bottom	the bottom of the part of the table that can be drawn     * @return	an <CODE>ArrayList</CODE> of <CODE>PdfLine</CODE>s     */        public ArrayList getLines(float top, float bottom) {                // if the bottom of the page is higher than the top of the cell: do nothing        if (top() < bottom) {            return null;        }                // initialisations        float lineHeight;        float currentPosition = Math.min(top(), top);        setTop(currentPosition + cellspacing);        ArrayList result = new ArrayList();                // we loop over the lines        int size = lines.size();        boolean aboveBottom = true;        for (int i = 0; i < size && aboveBottom; i++) {            line = (PdfLine) lines.get(i);            lineHeight = line.height();            currentPosition -= lineHeight;            // if the currentPosition is higher than the bottom, we add the line to the result            if (currentPosition > (bottom + cellpadding)) { // bugfix by Tom Ring and Veerendra Namineni                result.add(line);            }            else {                aboveBottom = false;            }        }        // if the bottom of the cell is higher than the bottom of the page, the cell is written, so we can remove all lines        float difference = 0f;        if (!header) {            if (aboveBottom) {                lines = new ArrayList();            }            else {                size = result.size();                for (int i = 0; i < size; i++) {                    line = (PdfLine) lines.remove(0);                    difference += line.height();                }            }        }        if (difference > 0) {            Image image;            for (Iterator i = images.iterator(); i.hasNext(); ) {                image = (Image) i.next();                image.setAbsolutePosition(image.absoluteX(), image.absoluteY() - difference - leading);            }        }        return result;    }        /**     * Gets the images of a cell that can be drawn between certain limits.     * <P>     * Remark: all the lines that can be drawn are removed from the object!     *     * @param	top		the top of the part of the table that can be drawn     * @param	bottom	the bottom of the part of the table that can be drawn     * @return	an <CODE>ArrayList</CODE> of <CODE>Image</CODE>s     */        public ArrayList getImages(float top, float bottom) {                // if the bottom of the page is higher than the top of the cell: do nothing        if (top() < bottom) {            return new ArrayList();        }        top = Math.min(top(), top);        // initialisations        Image image;        float height;        ArrayList result = new ArrayList();        // we loop over the images        for (Iterator i = images.iterator(); i.hasNext() && !header; ) {            image = (Image) i.next();            height = image.absoluteY();            // if the currentPosition is higher than the bottom, we add the line to the result            if (top - height > (bottom + cellpadding)) {                image.setAbsolutePosition(image.absoluteX(), top - height);                result.add(image);                i.remove();            }        }        return result;    }        /**     * Checks if this cell belongs to the header of a <CODE>PdfTable</CODE>.     *     * @return	<CODE>void</CODE>     */        boolean isHeader() {        return header;    }        /**     * Indicates that this cell belongs to the header of a <CODE>PdfTable</CODE>.     */        void setHeader() {        header = true;    }        /**     * Checks if the cell may be removed.     * <P>     * Headers may allways be removed, even if they are drawn only partially:     * they will be repeated on each following page anyway!     *     * @return	<CODE>true</CODE> if all the lines are allready drawn; <CODE>false</CODE> otherwise.     */        boolean mayBeRemoved() {        return (header || (lines.size() == 0 && images.size() == 0));    }        /**     * Returns the number of lines in the cell.     *     * @return	a value     */        public int size() {        return lines.size();    }        /**     * Returns the number of lines in the cell that are not empty.     *     * @return	a value     */        public int remainingLines() {        if (lines.size() == 0) return 0;        int result = 0;        int size = lines.size();        PdfLine line;        for (int i = 0; i < size; i++) {            line = (PdfLine) lines.get(i);            if (line.size() > 0) result++;        }        return result;    }        /**     * Returns the height needed to draw the remaining text.     *     * @return  a height     */        public float remainingHeight() {        float result = 0f;        for (Iterator i = images.iterator(); i.hasNext(); ) {            Image image = (Image)i.next();            result += image.scaledHeight();        }        return remainingLines() * leading + 2 * cellpadding + cellspacing + result + leading / 2.5f;    }        // methods to retrieve membervariables        /**     * Gets the leading of a cell.     *     * @return	the leading of the lines is the cell.     */        public float leading() {        return leading;    }        /**     * Gets the number of the row this cell is in..     *     * @return	a number     */        public int rownumber() {        return rownumber;    }        /**     * Gets the rowspan of a cell.     *     * @return	the rowspan of the cell     */        public int rowspan() {        return rowspan;    }        /**     * Gets the cellspacing of a cell.     *     * @return	a value     */        public float cellspacing() {        return cellspacing;    }        /**     * Gets the cellpadding of a cell..     *     * @return	a value     */        public float cellpadding() {        return cellpadding;    }        /**     * Processes all actions contained in the cell.     */        protected void processActions(Element element, PdfAction action, ArrayList allActions) {        if (element.type() == Element.ANCHOR) {            String url = ((Anchor)element).reference();            if (url != null) {                action = new PdfAction(url);            }        }        Iterator i;        switch (element.type()) {            case Element.PHRASE:            case Element.SECTION:            case Element.ANCHOR:            case Element.CHAPTER:            case Element.LISTITEM:            case Element.PARAGRAPH:                for (i = ((ArrayList)element).iterator(); i.hasNext(); ) {                    processActions((Element)i.next(), action, allActions);                }                break;            case Element.CHUNK:                allActions.add(action);                break;            case Element.LIST:                for (i = ((List)element).getItems().iterator(); i.hasNext(); ) {                    processActions((Element)i.next(), action, allActions);                }                break;            default:                ArrayList tmp = element.getChunks();                int n = element.getChunks().size();                while (n-- > 0)                    allActions.add(action);                break;        }    }        /** This is the number of the group the cell is in. */    private int groupNumber;        /**     * Gets the number of the group this cell is in..     *     * @return	a number     */        public int getGroupNumber() {        return groupNumber;    }        /**     * Sets the group number.     */        void setGroupNumber(int number) {        groupNumber = number;    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲免费大片在线观看| 一区二区在线免费观看| 日韩一区二区电影| 欧美日韩精品欧美日韩精品| 在线亚洲一区二区| 色成年激情久久综合| 欧美网站大全在线观看| 欧美麻豆精品久久久久久| 7777精品伊人久久久大香线蕉 | a在线播放不卡| av高清久久久| 在线观看一区二区视频| 91麻豆精品国产91久久久更新时间| 7777精品伊人久久久大香线蕉 | 成人福利视频网站| 成人高清免费在线播放| 日本电影亚洲天堂一区| 欧美精品一二三区| 国产欧美一区二区精品婷婷| 亚洲天堂免费看| 偷拍自拍另类欧美| 久久草av在线| www.亚洲在线| 日韩一区二区高清| 最新成人av在线| 免费在线成人网| av一二三不卡影片| 日韩一区二区三区精品视频| 国产精品少妇自拍| 午夜电影网一区| www.色精品| 欧美本精品男人aⅴ天堂| 亚洲男女一区二区三区| 久久国产精品区| 欧美中文字幕一区| 国产欧美一区二区精品婷婷| 午夜电影网一区| av不卡在线播放| 日韩精品一区二区三区视频播放| 亚洲视频狠狠干| 国产精品中文字幕欧美| 91麻豆精品国产| 亚洲欧美激情视频在线观看一区二区三区| 日韩高清在线观看| 91久久精品网| 亚洲人成网站在线| 国产美女精品一区二区三区| 欧美人xxxx| 亚洲综合精品久久| 色噜噜狠狠色综合中国 | 成人网男人的天堂| 日韩一级二级三级精品视频| 亚洲人精品午夜| 成人a免费在线看| 久久婷婷一区二区三区| 蜜臀精品一区二区三区在线观看 | 免费高清成人在线| 欧美中文一区二区三区| 亚洲欧美中日韩| 豆国产96在线|亚洲| 26uuu国产电影一区二区| 日韩在线一二三区| 欧美高清视频一二三区 | 一个色综合av| 97久久精品人人爽人人爽蜜臀| 久久久久国产精品麻豆| 精品一区二区影视| 欧美一区二区在线观看| 日韩精品91亚洲二区在线观看| 在线看不卡av| 亚洲国产精品久久一线不卡| 欧美午夜片在线观看| 亚洲18女电影在线观看| 欧美日韩一区二区在线视频| 一区二区三区四区中文字幕| 在线精品视频小说1| 亚洲乱码精品一二三四区日韩在线| k8久久久一区二区三区| 亚洲欧洲av一区二区三区久久| 99久久久久久| 亚洲综合免费观看高清完整版 | 欧美精品一区二区三区蜜臀| 日本va欧美va欧美va精品| 日韩视频在线一区二区| 国产精品亚洲第一区在线暖暖韩国| 国产日韩一级二级三级| 91在线精品秘密一区二区| 亚洲视频 欧洲视频| 欧美精品三级日韩久久| 久久99国产精品久久99果冻传媒| 欧美成人a视频| 成人福利视频网站| 亚洲v精品v日韩v欧美v专区| 日韩午夜激情av| 成人av高清在线| 肉色丝袜一区二区| 久久精品视频在线免费观看| 91麻豆国产自产在线观看| 丝袜脚交一区二区| 国产农村妇女毛片精品久久麻豆 | 亚洲高清中文字幕| 日韩视频一区二区| 91在线精品一区二区| 日本不卡一区二区三区| 亚洲欧洲日产国码二区| 日韩一区二区精品葵司在线| www.99精品| 极品少妇一区二区三区精品视频 | 亚洲国产精品av| 欧美日韩国产欧美日美国产精品| 精品一区二区日韩| 亚洲精品高清在线| 国产午夜精品在线观看| 欧美乱熟臀69xxxxxx| 国产99久久久国产精品免费看 | 国产精品国产自产拍高清av| 在线不卡中文字幕| 成人免费高清在线| 久久99国产精品久久99果冻传媒| 亚洲欧美日韩电影| 国产精品三级av| 欧美mv日韩mv亚洲| 91麻豆精品国产91| 在线观看日韩毛片| 99re热这里只有精品免费视频| 麻豆视频观看网址久久| 亚洲自拍另类综合| 亚洲女厕所小便bbb| 欧美高清在线一区| 久久久精品日韩欧美| 欧美一级黄色大片| 欧美日韩国产成人在线免费| 日本国产一区二区| 91色视频在线| 91色乱码一区二区三区| 成人激情午夜影院| 国产成人在线色| 国产高清久久久| 狠狠色丁香久久婷婷综| 久久99国内精品| 精品综合久久久久久8888| 卡一卡二国产精品| 美女一区二区三区在线观看| 首页亚洲欧美制服丝腿| 五月天亚洲精品| 日韩—二三区免费观看av| 五月开心婷婷久久| 视频一区欧美精品| 日韩激情中文字幕| 日韩精品一二三四| 美女网站色91| 久久99国产精品成人| 国产乱码一区二区三区| 国产剧情av麻豆香蕉精品| 国产综合成人久久大片91| 国产精品一区二区不卡| 成人三级伦理片| 91片黄在线观看| 欧美日韩视频在线第一区| 91精品国产综合久久久久久久久久| 欧美日韩视频一区二区| 日韩一区二区电影| 国产日韩欧美制服另类| 国产精品日日摸夜夜摸av| 亚洲天堂a在线| 亚洲午夜久久久久久久久电影院 | 91美女视频网站| 欧美日韩激情一区| 精品国产一区a| 国产精品免费视频一区| 一区二区三区中文字幕精品精品| 亚洲午夜精品一区二区三区他趣| 秋霞成人午夜伦在线观看| 韩国女主播一区| 色综合久久综合网97色综合| 欧美日韩一区三区四区| 精品成人一区二区三区四区| 18成人在线观看| 美日韩黄色大片| 波多野结衣精品在线| 制服丝袜在线91| 国产精品私人自拍| 日韩在线一区二区三区| 高清不卡在线观看av| 欧美日韩高清不卡| 欧美国产视频在线| 三级不卡在线观看| 91丝袜美腿高跟国产极品老师| 3d成人动漫网站| 中文字幕在线不卡| 久久er99热精品一区二区| 99九九99九九九视频精品| 日韩一区二区不卡| 一区二区欧美在线观看| 国产精品1区2区| 欧美精品日日鲁夜夜添| 日韩毛片视频在线看| 国产一区二区导航在线播放| 欧美亚洲国产一区二区三区va| 国产日本一区二区|