Bookmark
Bookmark
Overview
Bookmark 是一个类在Java的FOSS中.
代表 PDF 文档中的书签 (概述项).
本类提供了18种方法,用于在Java程序中与书记标对象工作. 有的方法包括: Bookmark, getAction, getChildItems, getDestination, getLevel, getPageDisplay, getPageDisplay_Zoom, getPageNumber, getTitle, setAction, setChildItems, setDestination,另外6种方法. 所有公众成员在安装了Java的FOSS包后,可以访问任何 Java应用程序. 特性: action, childItems, destination, level, pageDisplay, pageDisplay_Zoom,另外两个.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
title | String | Read | 返回此书签的标题. |
pageNumber | int | Read | 返回基于1的页面号码. |
action | String | Read | 返回与此书签相关的动作字符串. |
childItems | List<Bookmark> | Read | 返回儿童书签. |
level | int | Read | 返回此书签的嵌入级别. |
destination | ExplicitDestination | Read | 返回与此书签相关的目的地. |
pageDisplay | ExplicitDestination | Read | 返回此书签的页面显示目的地. |
pageDisplay_Zoom | double | Read | 返回从XYZ目的地的变化因子,如果未设置的话则为0. |
Methods
| Signature | Description |
|---|---|
Bookmark() | 创建一个新的空书签. |
getTitle() → String | 返回此书签的标题. |
setTitle(title: String) | 设置此书签的标题. |
getPageNumber() → int | 返回基于1的页面号码. |
setPageNumber(pageNumber: int) | 设置基于1的页面号码. |
getAction() → String | 返回与此书签相关的动作字符串. |
setAction(action: String) | 设置与此书签相关的动作字符串. |
getChildItems() → List<Bookmark> | 返回儿童书签. |
setChildItems(childItems: List<Bookmark>) | 设置儿童书签. |
getLevel() → int | 返回此书签的嵌入级别. |
setLevel(level: int) | 设置此书签的嵌入级别. |
getDestination() → ExplicitDestination | 返回与此书签相关的目的地. |
setDestination(destination: ExplicitDestination) | 设置此书签的目的地. |
setPageDisplay(dest: ExplicitDestination) | 设置此书签的页面显示目的地. |
getPageDisplay() → ExplicitDestination | 返回此书签的页面显示目的地. |
getPageDisplay_Zoom() → double | 返回从XYZ目的地的变化因子,如果未设置的话则为0. |
setPageDisplay_Zoom(zoom: double) | 设置页面显示的缩放系数. |
toString() → String |