package compliance
import "github.com/edragoev1/pdfjet/v9/src/compliance"
Package compliance defines the PDF/UA and PDF/A compliance levels.
Index
Types
type Compliance
type Compliance int
Compliance specifies the PDF/UA or PDF/A compliance level.
const ( PDF_1_7 Compliance = iota // Do not remove PDF_1_7! PDF_UA_1 PDF_A_1A PDF_A_1B PDF_A_2A PDF_A_2B // Deprecated: use PDF_A_3A_UA_1, which is the same document, tagged as // PDF/UA asks, and says it is PDF/UA-1 too. PDF_A_3A is still written. PDF_A_3A PDF_A_3B // PDF_A_3A_UA_1 is PDF/A-3a and PDF/UA-1 in one document: tagged as // PDF/UA asks, and able to carry files, as PDF/A-3 is. PDF_A_3A_UA_1 )
Used to set PDF/UA and PDF/A compliance. See PDF.SetCompliance.
func (Compliance) String
func (level Compliance) String() string
String returns the name of the compliance level, as the messages of the library and the other ports name it.