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

[noexcept] 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::fromIccProfileQPdfWriter::setColorModelも参照

void QPdfOutputIntent::setRegistryName(const QUrl &name)

特性レジストリの URL をname に設定します。

registryName() およびsetOutputConditionIdentifier()も参照

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

この出力インテントをother と交換する。この操作は非常に高速で、失敗することはない。

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

Move-このインテントの上に出力インテントother を割り当てる。

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

このインテントに出力インテントother を割り当てる。

© 2025 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.