このページでは

QPdfOutputIntent Class

ヘッダー: #include <QPdfOutputIntent>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
以下より: 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 &condition)
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)

詳細な説明

QPdfOutputIntent クラスは、PDF ファイルの生成時に描画データが準備された印刷条件を特徴づけるメタデータを含んでいます。

QPdfWriterも参照してください 。

メンバー関数のドキュメント

QPdfOutputIntent::QPdfOutputIntent()

新しいPDF出力インテントを作成します。

QPdfOutputIntent::QPdfOutputIntent(const QPdfOutputIntent &other)

出力インテント「other 」のコピーを作成します。

[constexpr noexcept default] QPdfOutputIntent::QPdfOutputIntent(QPdfOutputIntent &&other)

other から派生させて、QPdfOutputIntent オブジェクトを生成します。

[noexcept] QPdfOutputIntent::~QPdfOutputIntent()

この出力インテントを破棄します。

QString QPdfOutputIntent::outputCondition() const

人間が読み取りやすい出力条件を返します。

これは、特定された印刷状態を、人間のオペレーターにとって意味のある形式で簡潔に識別する文字列です。

デフォルトの出力条件は `sRGB IEC61966 v2.1 with black scaling` です。

setOutputCondition()も参照してください 。

QString QPdfOutputIntent::outputConditionIdentifier() const

出力条件の識別子を返します。

レジストリ名が指定された場合、この識別子は、そのレジストリ内のエントリの参照名と一致する必要があります。

デフォルトの識別子はsRGB_IEC61966-2-1_black_scaled です。

setOutputConditionIdentifier()も参照してください 。

QColorSpace QPdfOutputIntent::outputProfile() const

出力デバイスのプロファイルを返します。

デフォルトのプロファイルは、International Color Consortium が提供する sRGB v2 プロファイルです。

setOutputProfile()も参照してください 。

QUrl QPdfOutputIntent::registryName() const

指定された印刷条件に対応する特性レジストリのURLを返します。

デフォルトのレジストリはhttp://www.color.org です。

setRegistryName() およびsetOutputConditionIdentifier()も参照してください 。

void QPdfOutputIntent::setOutputCondition(const QString &condition)

人間が読みやすい出力形式を「condition 」に設定します。

outputCondition()、setOutputConditionIdentifier()、およびsetRegistryName()も参照してください 。

void QPdfOutputIntent::setOutputConditionIdentifier(const QString &identifier)

出力条件の識別子を `identifier` に設定します。

レジストリ名が指定された場合、この識別子は、そのレジストリ内のエントリの参照名と一致する必要があります。

outputConditionIdentifier()、setOutputCondition()、およびsetRegistryName()も参照してください 。

void QPdfOutputIntent::setOutputProfile(const QColorSpace &profile)

出力デバイスプロファイルを「profile 」に設定します。

注:PDF/X-4 では、文書内のすべての色指定が、profile と同じ色空間と一致している必要があります。これが満たされていることを確認するのは、アプリケーションの責任です。

outputProfile()、QColorSpace::fromIccProfile 、およびQPdfWriter::setColorModelも参照してください 。

void QPdfOutputIntent::setRegistryName(const QUrl &name)

キャラクター化レジストリのURLをname に設定します。

registryName() およびsetOutputConditionIdentifier()も参照してください 。

[noexcept] void QPdfOutputIntent::swap(QPdfOutputIntent &other)

この出力インテントをother と入れ替えます。この操作は非常に高速で、失敗することはありません。

[noexcept] QPdfOutputIntent &QPdfOutputIntent::operator=(QPdfOutputIntent &&other)

このインテントに対して、出力インテント「other 」を割り当てます。

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

このインテントに対して、出力インテント「other 」を割り当てます。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.