public class PictureRunMapper
extends java.lang.Object
Constructor and Description |
---|
PictureRunMapper(HWPFDocument doc) |
Modifier and Type | Method and Description |
---|---|
Picture |
getFor(CharacterRun cr)
Get the Picture for this run, if any
(获取此运行的图片(如果有))
|
boolean |
hasBeenClaimed(Picture picture)
Has the given Picture been claimed by a non-Run yet?
(给定的图片是否已被非奔跑者认领?)
|
boolean |
hasPicture(CharacterRun cr)
Does this run have a Picture in it?
(这次运行有图片吗?)
|
void |
markAsClaimed(Picture picture)
Mark a Picture as claimed.
(将图片标记为已声明。)
|
Picture |
nextUnclaimed()
Return the next unclaimed one, used towards the end
(返回下一个无人认领的,在最后使用)
|
int |
pictureNumber(Picture picture)
Which Picture is this one of all the Pictures in the Document? Useful when trying to extract all Pictures with unique numbers or references
(这是文档中所有图片中的哪一张?在尝试提取具有唯一编号或引用的所有图片时很有用)
|
public PictureRunMapper(HWPFDocument doc)
public boolean hasPicture(CharacterRun cr)
getFor(CharacterRun)
public Picture getFor(CharacterRun cr)
public void markAsClaimed(Picture picture)
public boolean hasBeenClaimed(Picture picture)
public int pictureNumber(Picture picture)
public Picture nextUnclaimed()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.