PySide6.QtGui.QPdfOutputIntent¶
- class QPdfOutputIntent¶
- Synopsis¶- Methods¶- def - __init__()
- def - outputProfile()
- def - registryName()
- def - swap()
 - Note - This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE - Detailed Description¶- The - QPdfOutputIntentclass contains metadata that characterize the printing condition for which painting data has been prepared when generating a PDF file.- See also - __init__()¶
 - Constructs a new PDF output intent. - __init__(other)
- Parameters:
- other – - QPdfOutputIntent
 
 - Constructs a copy of the output intent - other.- outputCondition()¶
- Return type:
- str 
 
 - Returns the human-readable output condition. - This is a string that concisely identifies the characterized printing condition in a form that will be meaningful to a human operator. - The default output condition is - sRGB IEC61966 v2.1 with black scaling.- See also - outputConditionIdentifier()¶
- Return type:
- str 
 
 - Returns the identifier of the output condition. - If a registry name is provided, then this identifier should should match the reference name of an entry in that registry. - The default identifier is - sRGB_IEC61966-2-1_black_scaled.- See also - outputProfile()¶
- Return type:
 
 - Returns the output device profile. - The default profile is the sRGB v2 profile available from the International Color Consortium . - See also - Returns the URL of a characterization registry for the intended printing condition. - The default registry is - http://www.color.org.- setOutputCondition(condition)¶
- Parameters:
- condition – str 
 
 - Sets the human-readable output condition to - condition.- setOutputConditionIdentifier(identifier)¶
- Parameters:
- identifier – str 
 
 - Sets the identifier of the output condition to - identifier.- If a registry name is provided, then this identifier should should match the reference name of an entry in that registry. - setOutputProfile(profile)¶
- Parameters:
- profile – - QColorSpace
 
 - Sets the output device profile to - profile.- Note - PDF/X-4 requires all the color specifications in the document to match the same colorspace of - profile. It is the application’s responsibility to ensure this is the case.- See also - Sets the URL of the characterization registry to - name.- swap(other)¶
- Parameters:
- other – - QPdfOutputIntent
 
 - Swaps this output intent with - other. This operation is very fast and never fails.