Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QPdfOutputIntent Class Reference

\inmodule QtGui More...

#include <qpdfoutputintent.h>

Collaboration diagram for QPdfOutputIntent:

Public Member Functions

 QPdfOutputIntent ()
 Constructs a new PDF output intent.
 QPdfOutputIntent (const QPdfOutputIntent &other)
 Constructs a copy of the output intent other.
 QPdfOutputIntent (QPdfOutputIntent &&other) noexcept=default
 Constructs a QPdfOutputIntent object by moving from other.
QPdfOutputIntentoperator= (const QPdfOutputIntent &other)
 Assigns the output intent other over this intent.
 ~QPdfOutputIntent ()
 Destroys this output intent.
void swap (QPdfOutputIntent &other) noexcept
 \memberswap{output intent}
QString outputConditionIdentifier () const
 Returns the identifier of the output condition.
void setOutputConditionIdentifier (const QString &identifier)
 Sets the identifier of the output condition to identifier.
QString outputCondition () const
 Returns the human-readable output condition.
void setOutputCondition (const QString &condition)
 Sets the human-readable output condition to condition.
QUrl registryName () const
 Returns the URL of a characterization registry for the intended printing condition.
void setRegistryName (const QUrl &name)
 Sets the URL of the characterization registry to name.
QColorSpace outputProfile () const
 Returns the output device profile.
void setOutputProfile (const QColorSpace &profile)
 Sets the output device profile to profile.

Detailed Description

\inmodule QtGui

Since
6.8

The QPdfOutputIntent class contains metadata that characterize the printing condition for which painting data has been prepared when generating a PDF file.

See also
QPdfWriter

Definition at line 22 of file qpdfoutputintent.h.

Constructor & Destructor Documentation

◆ QPdfOutputIntent() [1/3]

QPdfOutputIntent::QPdfOutputIntent ( )

Constructs a new PDF output intent.

Definition at line 50 of file qpdfoutputintent.cpp.

◆ QPdfOutputIntent() [2/3]

QPdfOutputIntent::QPdfOutputIntent ( const QPdfOutputIntent & other)
default

Constructs a copy of the output intent other.

◆ QPdfOutputIntent() [3/3]

QPdfOutputIntent::QPdfOutputIntent ( QPdfOutputIntent && other)
defaultnoexcept

Constructs a QPdfOutputIntent object by moving from other.

◆ ~QPdfOutputIntent()

QPdfOutputIntent::~QPdfOutputIntent ( )
default

Destroys this output intent.

Member Function Documentation

◆ operator=()

QPdfOutputIntent & QPdfOutputIntent::operator= ( const QPdfOutputIntent & other)
default

Assigns the output intent other over this intent.

Move-assigns the output intent other over this intent.

◆ outputCondition()

QString QPdfOutputIntent::outputCondition ( ) const

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
setOutputCondition()

Definition at line 127 of file qpdfoutputintent.cpp.

◆ outputConditionIdentifier()

QString QPdfOutputIntent::outputConditionIdentifier ( ) const

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
setOutputConditionIdentifier()

Definition at line 96 of file qpdfoutputintent.cpp.

◆ outputProfile()

QColorSpace QPdfOutputIntent::outputProfile ( ) const

Returns the output device profile.

The default profile is the sRGB v2 profile available from the \l{https://www.color.org/srgbprofiles.xalter#v2}{International Color Consortium}.

Definition at line 175 of file qpdfoutputintent.cpp.

◆ registryName()

QUrl QPdfOutputIntent::registryName ( ) const

Returns the URL of a characterization registry for the intended printing condition.

The default registry is {http://www.color.org}.

See also
setOutputConditionIdentifier()

Definition at line 151 of file qpdfoutputintent.cpp.

◆ setOutputCondition()

void QPdfOutputIntent::setOutputCondition ( const QString & condition)

Sets the human-readable output condition to condition.

See also
setOutputConditionIdentifier(), setRegistryName()

Definition at line 137 of file qpdfoutputintent.cpp.

◆ setOutputConditionIdentifier()

void QPdfOutputIntent::setOutputConditionIdentifier ( const QString & identifier)

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.

See also
setOutputCondition(), setRegistryName()

Definition at line 109 of file qpdfoutputintent.cpp.

◆ setOutputProfile()

void QPdfOutputIntent::setOutputProfile ( const QColorSpace & profile)

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
QColorSpace::fromIccProfile, QPdfWriter::setColorModel

Definition at line 189 of file qpdfoutputintent.cpp.

◆ setRegistryName()

void QPdfOutputIntent::setRegistryName ( const QUrl & name)

Sets the URL of the characterization registry to name.

See also
setOutputConditionIdentifier()

Definition at line 161 of file qpdfoutputintent.cpp.

◆ swap()

void QPdfOutputIntent::swap ( QPdfOutputIntent & other)
inlinenoexcept

\memberswap{output intent}

Definition at line 32 of file qpdfoutputintent.h.


The documentation for this class was generated from the following files: