public class WatermarkScanner
extends org.apache.pdfbox.contentstream.PDFStreamEngine
| 构造器和说明 |
|---|
WatermarkScanner(IWatermarkProcessor remover,
int pageStartIndex,
int pageLength) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
processOperator(org.apache.pdfbox.contentstream.operator.Operator operator,
java.util.List<org.apache.pdfbox.cos.COSBase> operands)
处理读取的每一个点位
|
void |
run()
开始扫描,检查所有水印
|
addOperator, applyTextAdjustment, beginMarkedContentSequence, beginText, decreaseLevel, endMarkedContentSequence, endText, getAppearance, getCurrentPage, getGraphicsStackSize, getGraphicsState, getInitialMatrix, getLevel, getResources, getTextLineMatrix, getTextMatrix, increaseLevel, operatorException, processAnnotation, processChildStream, processOperator, processPage, processSoftMask, processTilingPattern, processTilingPattern, processTransparencyGroup, processType3Stream, registerOperatorProcessor, restoreGraphicsStack, restoreGraphicsState, saveGraphicsStack, saveGraphicsState, setLineDashPattern, setTextLineMatrix, setTextMatrix, showAnnotation, showFontGlyph, showFontGlyph, showForm, showGlyph, showGlyph, showText, showTextString, showTextStrings, showTransparencyGroup, showType3Glyph, showType3Glyph, transformedPoint, transformWidth, unsupportedOperatorpublic WatermarkScanner(IWatermarkProcessor remover, int pageStartIndex, int pageLength)
public void run()
protected void processOperator(org.apache.pdfbox.contentstream.operator.Operator operator,
java.util.List<org.apache.pdfbox.cos.COSBase> operands)
throws java.io.IOException
processOperator 在类中 org.apache.pdfbox.contentstream.PDFStreamEnginejava.io.IOExceptionCopyright © 2024 悟耘. All Rights Reserved.