public class BookmarkExtractor extends AbstractBookmarkExtractor
Copyright (c) 2020 xsx All Rights Reserved. x-easypdf-pdfbox is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. See the Mulan PSL v2 for more details.
document, log| 构造器和说明 |
|---|
BookmarkExtractor(Document document)
有参构造
|
| 限定符和类型 | 方法和说明 |
|---|---|
Map<Integer,org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineItem> |
extract(int... bookmarkIndexes)
提取书签
|
processBookmarkgetDocumentpublic BookmarkExtractor(Document document)
document - 文档public Map<Integer,org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineItem> extract(int... bookmarkIndexes)
extract 在类中 AbstractBookmarkExtractorbookmarkIndexes - 书签索引key = 书签索引,value = 提取书签
Copyright © 2024. All rights reserved.