public class PSProcedure extends PSObject
Constructor and Description |
---|
PSProcedure(COSArray procedure) |
Modifier and Type | Method and Description |
---|---|
void |
execute(Stack<COSObject> operandStack,
Map<ASAtom,COSObject> userDict)
Executes PostScript object.
|
void |
executeProcedure(Stack<COSObject> operandStack,
Map<ASAtom,COSObject> userDict) |
getPSObject, getPSObject
accept, add, assign, at, clear, clearArray, empty, equals, get, getBoolean, getBooleanKey, getData, getData, getDirect, getDirectBase, getDocument, getEmpty, getInteger, getIntegerKey, getKey, getKey, getKeySet, getName, getNameKey, getObjectKey, getReal, getRealKey, getRealStreamSize, getString, getStringKey, getType, getValues, insert, isEndOfObjectComplyPDFA, isEndstreamKeywordCRLFCompliant, isHeaderFormatComplyPDFA, isHeaderOfObjectComplyPDFA, isIndirect, isStreamKeywordCRLFCompliant, knownKey, mark, remove, removeKey, set, set, setArray, setArray, setArray, setArrayKey, setArrayKey, setArrayKey, setArrayKey, setBoolean, setBooleanKey, setData, setData, setDirect, setEndstreamKeywordCRLFCompliant, setInteger, setIntegerKey, setIsEndOfObjectComplyPDFA, setIsHeaderFormatComplyPDFA, setIsHeaderOfObjectComplyPDFA, setKey, setKey, setName, setNameKey, setObjectKey, setReal, setRealKey, setRealStreamSize, setStreamKeywordCRLFCompliant, setString, setString, setStringKey, size
public PSProcedure(COSArray procedure)
public void executeProcedure(Stack<COSObject> operandStack, Map<ASAtom,COSObject> userDict) throws PostScriptException
PostScriptException
public void execute(Stack<COSObject> operandStack, Map<ASAtom,COSObject> userDict) throws PostScriptException
PSObject
execute
in class PSObject
operandStack
- is stack for PostScript operands (see PostScript
specification for further information).userDict
- is a dictionary that stores all key-value associated pair
encountered during PostScript parsing. Full PostScript
parser needs a dict stack, our implementation has only one
dictionary.PostScriptException
Copyright © 2015–2019 The veraPDF Consortium. All rights reserved.