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
Constructor and Description |
---|
BookmarkExtractor(Document document)
有参构造
|
Modifier and Type | Method and Description |
---|---|
Map<Integer,org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineItem> |
extract(int... bookmarkIndexes)
提取书签
|
processBookmark
getDocument
public BookmarkExtractor(Document document)
document
- 文档public Map<Integer,org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineItem> extract(int... bookmarkIndexes)
extract
in class AbstractBookmarkExtractor
bookmarkIndexes
- 书签索引key = 书签索引,value = 提取书签
Copyright © 2024. All rights reserved.