Uses of Class
com.itextpdf.kernel.pdf.PdfCatalog
-
Packages that use PdfCatalog Package Description com.itextpdf.kernel.pdf com.itextpdf.kernel.validation com.itextpdf.pdfa.checker com.itextpdf.pdfua.checkers com.itextpdf.pdfua.checkers.utils.ua2 -
-
Uses of PdfCatalog in com.itextpdf.kernel.pdf
Fields in com.itextpdf.kernel.pdf declared as PdfCatalog Modifier and Type Field Description protected PdfCatalog
PdfDocument. catalog
Document catalog.private PdfCatalog
PdfNameTree. catalog
private PdfCatalog
PdfNumTree. catalog
Methods in com.itextpdf.kernel.pdf that return PdfCatalog Modifier and Type Method Description PdfCatalog
PdfDocument. getCatalog()
Gets PDF catalog.PdfCatalog
PdfCatalog. put(PdfName key, PdfObject value)
Add key and value toPdfCatalog
dictionary.PdfCatalog
PdfCatalog. remove(PdfName key)
Remove key from catalog dictionary.PdfCatalog
PdfCatalog. setAdditionalAction(PdfName key, PdfAction action)
The actions that shall be taken in response to various trigger events affecting the document as a whole.PdfCatalog
PdfCatalog. setCollection(PdfCollection collection)
Sets collection dictionary that a conforming reader shall use to enhance the presentation of file attachments stored in the PDF document.PdfCatalog
PdfCatalog. setOpenAction(PdfAction action)
A value specifying an action that shall be performed when the document is opened.PdfCatalog
PdfCatalog. setOpenAction(PdfDestination destination)
A value specifying a destination that shall be displayed when the document is opened.PdfCatalog
PdfCatalog. setPageLayout(PdfName pageLayout)
This method sets a page layout of the documentPdfCatalog
PdfCatalog. setPageMode(PdfName pageMode)
This method sets a page mode of the document.PdfCatalog
PdfCatalog. setViewerPreferences(PdfViewerPreferences preferences)
This method sets the document viewer preferences, specifying the way the document shall be displayed on the screenConstructors in com.itextpdf.kernel.pdf with parameters of type PdfCatalog Constructor Description PdfNameTree(PdfCatalog catalog, PdfName treeType)
Creates the NameTree of current DocumentPdfNumTree(PdfCatalog catalog, PdfName treeType)
Creates the NumberTree of current DocumentPdfPagesTree(PdfCatalog pdfCatalog)
Creates a PdfPages tree. -
Uses of PdfCatalog in com.itextpdf.kernel.validation
Methods in com.itextpdf.kernel.validation with parameters of type PdfCatalog Modifier and Type Method Description private void
Pdf20Checker. checkCatalog(PdfCatalog catalog)
Validates document catalog dictionary against PDF 2.0 standard.(package private) void
Pdf20Checker. checkLang(PdfCatalog catalog)
Checks that natural language is declared using the methods described in ISO 32000-2:2020, 14.9.2.(package private) void
Pdf20Checker. checkMetadata(PdfCatalog catalog)
Checks that the value of theMetadata
key from theCatalog
dictionary of a conforming file is a metadata stream as defined in ISO 32000-2:2020. -
Uses of PdfCatalog in com.itextpdf.pdfa.checker
Methods in com.itextpdf.pdfa.checker with parameters of type PdfCatalog Modifier and Type Method Description protected void
PdfA1Checker. checkCatalog(PdfCatalog catalog)
Verify the conformity of the pdf catalog.protected void
PdfA4Checker. checkCatalog(PdfCatalog catalog)
Verify the conformity of the pdf catalog.protected abstract void
PdfAChecker. checkCatalog(PdfCatalog catalog)
Verify the conformity of the pdf catalog.void
PdfAChecker. checkDocument(PdfCatalog catalog)
This method checks a number of document-wide requirements of the PDF/A standard. -
Uses of PdfCatalog in com.itextpdf.pdfua.checkers
Methods in com.itextpdf.pdfua.checkers with parameters of type PdfCatalog Modifier and Type Method Description private void
PdfUA1Checker. checkCatalog(PdfCatalog catalog)
private void
PdfUA2Checker. checkCatalog(PdfCatalog catalog)
Validates document catalog dictionary against PDF/UA-2 standard.private void
PdfUA2Checker. checkFormFieldsAndAnnotations(PdfCatalog catalog)
Validates all annotations and form fields present in the document against PDF/UA-2 standard.(package private) void
PdfUAChecker. checkLang(PdfCatalog catalog)
Checks that the default natural language for content and text strings is specified using theLang
entry, with a nonempty value, in the document catalog dictionary.protected void
PdfUA1Checker. checkMetadata(PdfCatalog catalog)
Checks that theCatalog
dictionary of a conforming file (the version number of a file may be any value from 1.0 to 1.7) contains theMetadata
key whose value is a metadata stream.protected void
PdfUA2Checker. checkMetadata(PdfCatalog catalog)
Checks that theCatalog
dictionary of a conforming file contains theMetadata
key whose value is a metadata stream as defined in ISO 32000-2:2020.(package private) void
PdfUAChecker. checkViewerPreferences(PdfCatalog catalog)
Checks that theViewerPreferences
dictionary of the document catalog dictionary is present and contains at least theDisplayDocTitle
key with a value oftrue
, as defined in ISO 32000-1:2008, 12.2, Table 150 or ISO 32000-2:2020, Table 147. -
Uses of PdfCatalog in com.itextpdf.pdfua.checkers.utils.ua2
Methods in com.itextpdf.pdfua.checkers.utils.ua2 with parameters of type PdfCatalog Modifier and Type Method Description static void
PdfUA2EmbeddedFilesChecker. checkEmbeddedFiles(PdfCatalog catalog)
Verify the conformity of the EmbeddedFiles name tree.
-