| 头: |
#include <QPdfOutputIntent>
|
| CMake: |
find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
|
| qmake: |
QT += gui
|
| Since: | Qt 6.8 |
| QPdfOutputIntent () | |
| QPdfOutputIntent (const QPdfOutputIntent & other ) | |
| QPdfOutputIntent (QPdfOutputIntent && other ) | |
| ~QPdfOutputIntent () | |
| QString | outputCondition () const |
| QString | outputConditionIdentifier () const |
| QColorSpace | outputProfile () const |
| QUrl | registryName () const |
| void | setOutputCondition (const QString & 条件 ) |
| void | setOutputConditionIdentifier (const QString & identifier ) |
| void | setOutputProfile (const QColorSpace & profile ) |
| void | setRegistryName (const QUrl & name ) |
| void | swap (QPdfOutputIntent & other ) |
| QPdfOutputIntent & | operator= (QPdfOutputIntent && other ) |
| QPdfOutputIntent & | operator= (const QPdfOutputIntent & other ) |
The QPdfOutputIntent class contains metadata that characterize the printing condition for which painting data has been prepared when generating a PDF file.
另请参阅 QPdfWriter .
Constructs a new PDF output intent.
Constructs a copy of the output intent other .
[noexcept]
QPdfOutputIntent::
QPdfOutputIntent
(
QPdfOutputIntent
&&
other
)
Constructs a QPdfOutputIntent object by moving from other .
[noexcept]
QPdfOutputIntent::
~QPdfOutputIntent
()
Destroys this output intent.
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
.
另请参阅 setOutputCondition ().
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
.
另请参阅 setOutputConditionIdentifier ().
Returns the output device profile.
The default profile is the sRGB v2 profile available from the International Color Consortium .
另请参阅 setOutputProfile ().
Returns the URL of a characterization registry for the intended printing condition.
The default registry is
http://www.color.org
.
另请参阅 setRegistryName () 和 setOutputConditionIdentifier ().
Sets the human-readable output condition to condition .
另请参阅 outputCondition (), setOutputConditionIdentifier (),和 setRegistryName ().
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.
另请参阅 outputConditionIdentifier (), setOutputCondition (),和 setRegistryName ().
Sets the output device profile to profile .
注意: 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.
另请参阅 outputProfile (), QColorSpace::fromIccProfile ,和 QPdfWriter::setColorModel .
Sets the URL of the characterization registry to name .
另请参阅 registryName () 和 setOutputConditionIdentifier ().
[noexcept]
void
QPdfOutputIntent::
swap
(
QPdfOutputIntent
&
other
)
Swaps this output intent with other 。此操作非常快且从不失败。
[noexcept]
QPdfOutputIntent
&QPdfOutputIntent::
operator=
(
QPdfOutputIntent
&&
other
)
Move-assigns the output intent other over this intent.
Assigns the output intent other over this intent.