@Deprecated public class PdfAStamperImp extends PdfWriter
PdfWriter.PdfBody, PdfWriter.PdfTrailer| Modifier and Type | Field and Description |
|---|---|
protected AcroFields |
acroFields
Deprecated.
|
protected boolean |
append
Deprecated.
|
protected boolean |
closed
Deprecated.
|
protected Counter |
COUNTER
Deprecated.
|
protected boolean |
fieldsAdded
Deprecated.
|
protected HashSet<PdfTemplate> |
fieldTemplates
Deprecated.
|
protected RandomAccessFileOrArray |
file
Deprecated.
|
protected boolean |
flat
Deprecated.
|
protected boolean |
flatannotations
Deprecated.
|
protected boolean |
flatFreeText
Deprecated.
|
protected int |
initialXrefSize
Deprecated.
|
protected IntHashtable |
marked
Deprecated.
|
protected HashMap<Object,PdfObject> |
namedDestinations
Deprecated.
|
protected int[] |
namePtr
Deprecated.
|
protected PdfAction |
openAction
Deprecated.
|
protected HashSet<String> |
partialFlattening
Deprecated.
|
protected int |
sigFlags
Deprecated.
|
protected boolean |
useVp
Deprecated.
|
protected PdfViewerPreferencesImp |
viewerPreferences
Deprecated.
|
ALLOW_ASSEMBLY, ALLOW_COPY, ALLOW_DEGRADED_PRINTING, ALLOW_FILL_IN, ALLOW_MODIFY_ANNOTATIONS, ALLOW_MODIFY_CONTENTS, ALLOW_PRINTING, ALLOW_SCREENREADERS, AllowAssembly, AllowCopy, AllowDegradedPrinting, AllowFillIn, AllowModifyAnnotations, AllowModifyContents, AllowPrinting, AllowScreenReaders, body, CenterWindow, colorNumber, colorProfile, compressionLevel, crypto, currentPageNumber, currentPdfReaderInstance, defaultColorspace, DID_PRINT, DID_SAVE, directContent, directContentUnder, DirectionL2R, DirectionR2L, DisplayDocTitle, DO_NOT_ENCRYPT_METADATA, DOCUMENT_CLOSE, documentColors, documentExtGState, documentFonts, documentOCG, documentOCGorder, documentPatterns, documentProperties, documentShadingPatterns, documentShadings, documentSpotPatterns, EMBEDDED_FILES_ONLY, ENCRYPTION_AES_128, ENCRYPTION_AES_256, extraCatalog, FitWindow, fontNumber, formXObjects, formXObjectsCounter, fullCompression, GENERATION_MAX, group, HideMenubar, HideToolbar, HideWindowUI, imageDictionary, JBIG2Globals, markAll, markInlineElementsOnly, newBookmarks, NO_SPACE_CHAR_RATIO, NonFullScreenPageModeUseNone, NonFullScreenPageModeUseOC, NonFullScreenPageModeUseOutlines, NonFullScreenPageModeUseThumbs, OCGLocked, OCGRadioGroup, OCProperties, originalFileID, PAGE_CLOSE, PAGE_OPEN, pageDictEntries, PageLayoutOneColumn, PageLayoutSinglePage, PageLayoutTwoColumnLeft, PageLayoutTwoColumnRight, PageLayoutTwoPageLeft, PageLayoutTwoPageRight, PageModeFullScreen, PageModeUseAttachments, PageModeUseNone, PageModeUseOC, PageModeUseOutlines, PageModeUseThumbs, pageReferences, patternColorspaceCMYK, patternColorspaceGRAY, patternColorspaceRGB, patternNumber, pdf, pdf_version, PDF_VERSION_1_2, PDF_VERSION_1_3, PDF_VERSION_1_4, PDF_VERSION_1_5, PDF_VERSION_1_6, PDF_VERSION_1_7, pdfIsoConformance, PDFX1A2001, PDFX32002, PDFXNONE, prevxref, PrintScalingNone, readerInstances, root, RUN_DIRECTION_DEFAULT, RUN_DIRECTION_LTR, RUN_DIRECTION_NO_BIDI, RUN_DIRECTION_RTL, runDirection, SIGNATURE_APPEND_ONLY, SIGNATURE_EXISTS, SPACE_CHAR_RATIO_DEFAULT, STANDARD_ENCRYPTION_128, STANDARD_ENCRYPTION_40, STRENGTH128BITS, STRENGTH40BITS, structureTreeRoot, tabs, tagged, taggingMode, ttfUnicodeWriter, VERSION_1_2, VERSION_1_3, VERSION_1_4, VERSION_1_5, VERSION_1_6, VERSION_1_7, WILL_PRINT, WILL_SAVE, xmpMetadata, xmpWriter| Modifier and Type | Method and Description |
|---|---|
void |
addAnnotation(PdfAnnotation arg0)
Deprecated.
|
void |
addComments(FdfReader arg0)
Deprecated.
|
protected void |
addFieldResources()
Deprecated.
|
protected void |
addFileAttachments()
Deprecated.
|
void |
addViewerPreference(PdfName arg0,
PdfObject arg1)
Deprecated.
|
protected void |
alterContents()
Deprecated.
|
protected void |
cacheObject(PdfIndirectObject iobj)
Deprecated.
|
protected void |
close(Map<String,String> moreInfo)
Deprecated.
|
protected void |
close(PdfIndirectReference arg0,
int arg1)
Deprecated.
|
PdfAnnotation |
createAnnotation(float llx,
float lly,
float urx,
float ury,
PdfAction action,
PdfName subtype)
Deprecated.
|
PdfAnnotation |
createAnnotation(float llx,
float lly,
float urx,
float ury,
PdfString title,
PdfString content,
PdfName subtype)
Deprecated.
|
PdfAnnotation |
createAnnotation(Rectangle rect,
PdfName subtype)
Deprecated.
|
void |
createXmpMetadata()
Deprecated.
|
protected XmpWriter |
createXmpWriter(ByteArrayOutputStream baos,
HashMap<String,String> info)
Deprecated.
|
protected XmpWriter |
createXmpWriter(ByteArrayOutputStream baos,
PdfDictionary info)
Deprecated.
|
protected void |
flatFields()
Deprecated.
|
protected void |
flatFreeTextFields()
Deprecated.
|
protected void |
flattenAnnotations()
Deprecated.
|
protected Counter |
getCounter()
Deprecated.
|
PdfContentByte |
getDirectContent()
Deprecated.
|
PdfContentByte |
getDirectContentUnder()
Deprecated.
|
protected HashMap<Object,PdfObject> |
getNamedDestinations()
Deprecated.
|
protected int |
getNewObjectNumber(PdfReader arg0,
int arg1,
int arg2)
Deprecated.
|
PdfIndirectReference |
getPageReference(int arg0)
Deprecated.
|
Map<String,PdfLayer> |
getPdfLayers()
Deprecated.
|
PdfReader |
getPdfReader()
Deprecated.
|
protected TtfUnicodeWriter |
getTtfUnicodeWriter()
Deprecated.
|
XMPMeta |
getXmpMeta()
Deprecated.
|
protected PdfIsoConformance |
initPdfIsoConformance()
Deprecated.
|
protected void |
markUsed(int arg0)
Deprecated.
|
protected void |
markUsed(PdfObject arg0)
Deprecated.
|
protected void |
readColorProfile()
Deprecated.
|
protected void |
readOCProperties()
Deprecated.
|
void |
registerReader(PdfReader arg0,
boolean arg1)
Deprecated.
|
void |
setAdditionalAction(PdfName arg0,
PdfAction arg1)
Deprecated.
|
void |
setDuration(int arg0)
Deprecated.
|
void |
setFlatAnnotations(boolean arg0)
Deprecated.
|
protected void |
setJavaScript()
Deprecated.
|
void |
setOpenAction(PdfAction arg0)
Deprecated.
|
void |
setOpenAction(String arg0)
Deprecated.
|
protected void |
setOutlines()
Deprecated.
|
void |
setOutputIntents(String outputConditionIdentifier,
String outputCondition,
String registryName,
String info,
ICC_Profile colorProfile)
Deprecated.
|
void |
setPageAction(PdfName arg0,
PdfAction arg1)
Deprecated.
|
void |
setPDFXConformance(int pdfx)
Deprecated.
Always throws an exception since PDF/X conformance level cannot be set for PDF/A conformant documents.
|
void |
setSigFlags(int arg0)
Deprecated.
|
void |
setThumbnail(Image arg0)
Deprecated.
|
void |
setTransition(PdfTransition arg0)
Deprecated.
|
protected void |
setViewerPreferences()
Deprecated.
|
void |
setViewerPreferences(int arg0)
Deprecated.
|
void |
unRegisterReader(PdfReader arg0)
Deprecated.
|
protected void |
updateNamedDestinations()
Deprecated.
|
add, addCalculationOrder, addDeveloperExtension, addDirectImageSimple, addDirectImageSimple, addFileAttachment, addFileAttachment, addFileAttachment, addJavaScript, addJavaScript, addJavaScript, addJavaScript, addJavaScript, addJavaScript, addNamedDestination, addNamedDestinations, addOCGRadioGroup, addPageDictEntry, addSharedObjectsToBody, addToBody, addToBody, addToBody, addToBody, addToBody, addToBody, addXFormsToBody, buildStructTreeRootForTagged, checkElementRole, checkPdfIsoConformance, checkPdfIsoConformance, clearTextWrap, close, fillOCProperties, flushAcroFields, flushTaggedObjects, freeReader, getAcroForm, getBoxSize, getBoxSize, getCatalog, getColorProfile, getCompressionLevel, getCurrentDocumentSize, getCurrentPageNumber, getDefaultColorspace, getExtraCatalog, getGroup, getImportedPage, getIndirectReferenceNumber, getInfo, getInstance, getInstance, getNameString, getOCProperties, getOs, getPageDictEntries, getPageEvent, getPageNumber, getPageSize, getPdfIndirectReference, getPdfReaderInstance, getPDFXConformance, getReferenceJBIG2Globals, getRootOutline, getRunDirection, getSpaceCharRatio, getStandardStructElems, getStructureTreeRoot, getTabs, getVerticalPosition, getXmpWriter, isFullCompression, isPageEmpty, isPdfIso, isPdfX, isRgbTransparencyBlending, isStrictImageSequence, isTagged, isUserProperties, lockLayer, needToBeMarkedInContent, open, releaseTemplate, reorderPages, resetPageDictEntries, setAtLeastPdfVersion, setBoxSize, setCollection, setCompressionLevel, setCropBoxSize, setDefaultColorspace, setEncryption, setEncryption, setEncryption, setEncryption, setEncryption, setFullCompression, setGroup, setInitialLeading, setLanguage, setLinearPageMode, setOutlines, setOutputIntents, setOutputIntents, setPageEmpty, setPageEvent, setPageLabels, setPageViewport, setPageXmpMetadata, setPdfVersion, setPdfVersion, setRgbTransparencyBlending, setRunDirection, setSpaceCharRatio, setStrictImageSequence, setTabs, setTagged, setTagged, setUserProperties, setUserunit, setXmpMetadata, useExternalCacheForTagStructure, writeKeyInfo, writeOutlinesadd, addTabs, flush, getISOBytes, isCloseStream, isPaused, newPage, pause, resetPageCount, resume, setCloseStream, setMarginMirroring, setMarginMirroringTopBottom, setMargins, setPageCount, setPageSize, write, write, writeEnd, writeEnd, writeMarkupAttributes, writeStartprotected Counter COUNTER
protected RandomAccessFileOrArray file
protected boolean closed
protected AcroFields acroFields
protected boolean flat
protected boolean flatFreeText
protected boolean flatannotations
protected int[] namePtr
protected boolean useVp
protected PdfViewerPreferencesImp viewerPreferences
protected HashSet<PdfTemplate> fieldTemplates
protected boolean fieldsAdded
protected int sigFlags
protected boolean append
protected IntHashtable marked
protected int initialXrefSize
protected PdfAction openAction
protected void readColorProfile()
public void setOutputIntents(String outputConditionIdentifier, String outputCondition, String registryName, String info, ICC_Profile colorProfile) throws IOException
setOutputIntents in class PdfWriterIOExceptionPdfWriter.setOutputIntents(String, String, String, String, ICC_Profile)public void setPDFXConformance(int pdfx)
setPDFXConformance in class PdfWriterpdfx - protected TtfUnicodeWriter getTtfUnicodeWriter()
getTtfUnicodeWriter in class PdfWriterPdfWriter.getTtfUnicodeWriter()protected XmpWriter createXmpWriter(ByteArrayOutputStream baos, PdfDictionary info) throws IOException
createXmpWriter in class PdfWriterIOExceptionPdfWriter.createXmpWriter(java.io.ByteArrayOutputStream, com.itextpdf.text.pdf.PdfDictionary)protected XmpWriter createXmpWriter(ByteArrayOutputStream baos, HashMap<String,String> info) throws IOException
createXmpWriter in class PdfWriterIOExceptionprotected PdfIsoConformance initPdfIsoConformance()
initPdfIsoConformance in class PdfWriterPdfWriter.initPdfIsoConformance()protected Counter getCounter()
protected void cacheObject(PdfIndirectObject iobj)
cacheObject in class PdfWriterprotected void close(Map<String,String> moreInfo) throws IOException
IOExceptionpublic PdfAnnotation createAnnotation(Rectangle rect, PdfName subtype)
createAnnotation in class PdfWriterpublic PdfAnnotation createAnnotation(float llx, float lly, float urx, float ury, PdfString title, PdfString content, PdfName subtype)
createAnnotation in class PdfWriterpublic PdfAnnotation createAnnotation(float llx, float lly, float urx, float ury, PdfAction action, PdfName subtype)
createAnnotation in class PdfWriterpublic XMPMeta getXmpMeta()
protected void setViewerPreferences()
protected void close(PdfIndirectReference arg0, int arg1) throws IOException
IOExceptionprotected void alterContents()
throws IOException
IOExceptionprotected int getNewObjectNumber(PdfReader arg0, int arg1, int arg2)
getNewObjectNumber in class PdfWriterpublic void registerReader(PdfReader arg0, boolean arg1) throws IOException
IOExceptionpublic void unRegisterReader(PdfReader arg0)
public void addComments(FdfReader arg0) throws IOException
IOExceptionprotected void flatFields()
public void setFlatAnnotations(boolean arg0)
protected void flattenAnnotations()
protected void flatFreeTextFields()
public PdfIndirectReference getPageReference(int arg0)
getPageReference in class PdfWriterpublic void addAnnotation(PdfAnnotation arg0)
addAnnotation in interface PdfAnnotationsaddAnnotation in class PdfWriterprotected void addFieldResources()
throws IOException
IOExceptionprotected void setJavaScript()
throws IOException
IOExceptionprotected void addFileAttachments()
throws IOException
IOExceptionprotected void setOutlines()
throws IOException
IOExceptionpublic void setViewerPreferences(int arg0)
setViewerPreferences in interface PdfViewerPreferencessetViewerPreferences in class PdfWriterpublic void addViewerPreference(PdfName arg0, PdfObject arg1)
addViewerPreference in interface PdfViewerPreferencesaddViewerPreference in class PdfWriterpublic void setSigFlags(int arg0)
setSigFlags in interface PdfAnnotationssetSigFlags in class PdfWriterpublic void setPageAction(PdfName arg0, PdfAction arg1) throws PdfException
setPageAction in interface PdfPageActionssetPageAction in class PdfWriterPdfExceptionpublic void setDuration(int arg0)
setDuration in interface PdfPageActionssetDuration in class PdfWriterpublic void setTransition(PdfTransition arg0)
setTransition in interface PdfPageActionssetTransition in class PdfWriterprotected void markUsed(PdfObject arg0)
protected void markUsed(int arg0)
public PdfReader getPdfReader()
public void setAdditionalAction(PdfName arg0, PdfAction arg1) throws PdfException
setAdditionalAction in interface PdfDocumentActionssetAdditionalAction in class PdfWriterPdfExceptionpublic void setOpenAction(PdfAction arg0)
setOpenAction in interface PdfDocumentActionssetOpenAction in class PdfWriterpublic void setOpenAction(String arg0)
setOpenAction in interface PdfDocumentActionssetOpenAction in class PdfWriterpublic void setThumbnail(Image arg0)
setThumbnail in class PdfWriterpublic PdfContentByte getDirectContentUnder()
getDirectContentUnder in class PdfWriterpublic PdfContentByte getDirectContent()
getDirectContent in class PdfWriterprotected void readOCProperties()
public void createXmpMetadata()
createXmpMetadata in class PdfWriterprotected void updateNamedDestinations()
throws IOException
IOExceptionCopyright © 2023. All rights reserved.