public class ResourcesHitter extends ContentStreamProcessor
ReadOnlyFilteredCOSStream
, every font in an instance of InUseFontDictionary
and puts them back into the resource dictionary. It's later easy to identify xobjects
and fonts in use by the page/s and what can be discarded.Modifier and Type | Class and Description |
---|---|
static class |
ResourcesHitter.FontsHitterOperator
Tf operator that wraps a font dictionary with an
InUseFontDictionary and puts it back to the resource dictionary so that we can later identify fonts that are
actually used |
static class |
ResourcesHitter.XObjectHitterOperator |
Constructor and Description |
---|
ResourcesHitter() |
accept
addOperator, addOperatorIfAbsent, applyTextAdjustment, beginText, endText, getAppearance, getCurrentPage, getGraphicsStackSize, getGraphicsState, getInitialMatrix, getResources, getTextLineMatrix, getTextMatrix, operatorException, processAnnotation, processChildStream, processOperator, processOperator, processPage, processSoftMask, processStream, processTilingPattern, processTilingPattern, processTransparencyGroup, processType3Stream, restoreGraphicsStack, restoreGraphicsState, saveGraphicsStack, saveGraphicsState, setLineDashPattern, setTextLineMatrix, setTextMatrix, showAnnotation, showFontGlyph, showForm, showGlyph, showText, showTextString, showTextStrings, showTransparencyGroup, showType3Glyph, transformedPoint, transformWidth, unsupportedOperator
Copyright © 2018 sejda. All rights reserved.