public class PDFSetOCGStateAction extends PDFNavigatorAction
| Modifier and Type | Class and Description |
|---|---|
static class |
PDFSetOCGStateAction.Resolver |
entries, order| Constructor and Description |
|---|
PDFSetOCGStateAction(String id) |
| Modifier and Type | Method and Description |
|---|---|
int |
output(OutputStream stream)
Write the PDF represention of this object
|
void |
populate(Object state,
Object preserveRB,
Object nextAction) |
void |
setResolver(PDFSetOCGStateAction.Resolver resolver) |
getId, hasIdcontainsKey, get, getChildren, getChildren, keySet, put, put, remove, writeDictionarycontentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setDocument, setObjectNumber, setObjectNumber, setObjectNumber, setParent, supportsObjectStream, toPDF, toPDFStringpublic PDFSetOCGStateAction(String id)
public int output(OutputStream stream) throws IOException
PDFDictionaryoutput in class PDFDictionarystream - the stream to write the PDF toIOException - if there is an error writing to the streampublic void setResolver(PDFSetOCGStateAction.Resolver resolver)
Copyright © 2025 Apache Software Foundation. All rights reserved.