QPdfOutputIntent Class

Kopfzeile: #include <QPdfOutputIntent>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
Seit: Qt 6.8

Öffentliche Funktionen

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)

Detaillierte Beschreibung

Die Klasse QPdfOutputIntent enthält Metadaten, die die Druckbedingung charakterisieren, für die Maldaten bei der Erzeugung einer PDF-Datei vorbereitet wurden.

Siehe auch QPdfWriter.

Dokumentation der Mitgliedsfunktionen

QPdfOutputIntent::QPdfOutputIntent()

Konstruiert eine neue PDF-Ausgabebedingung.

QPdfOutputIntent::QPdfOutputIntent(const QPdfOutputIntent &other)

Konstruiert eine Kopie des Output Intent other.

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

Konstruiert ein QPdfOutputIntent-Objekt, indem es von other übernommen wird.

[noexcept] QPdfOutputIntent::~QPdfOutputIntent()

Zerstört diese Ausgabeabsicht.

QString QPdfOutputIntent::outputCondition() const

Gibt die für den Menschen lesbare Ausgabebedingung zurück.

Dabei handelt es sich um eine Zeichenkette, die die charakteristische Druckbedingung in einer Form angibt, die für einen menschlichen Bediener sinnvoll ist.

Die Standardausgabebedingung ist sRGB IEC61966 v2.1 with black scaling.

Siehe auch setOutputCondition().

QString QPdfOutputIntent::outputConditionIdentifier() const

Gibt den Bezeichner der Ausgabebedingung zurück.

Wenn ein Registrierungsname angegeben wird, sollte dieser Bezeichner mit dem Referenznamen eines Eintrags in dieser Registrierung übereinstimmen.

Der Standardbezeichner ist sRGB_IEC61966-2-1_black_scaled.

Siehe auch setOutputConditionIdentifier().

QColorSpace QPdfOutputIntent::outputProfile() const

Gibt das Profil des Ausgabegeräts zurück.

Das Standardprofil ist das Profil sRGB v2, das vom International Color Consortium zur Verfügung gestellt wird.

Siehe auch setOutputProfile().

QUrl QPdfOutputIntent::registryName() const

Gibt die URL einer Kennzeichnungsregistrierung für die gewünschte Druckbedingung zurück.

Die Standardregistrierung ist http://www.color.org.

Siehe auch setRegistryName() und setOutputConditionIdentifier().

void QPdfOutputIntent::setOutputCondition(const QString &condition)

Setzt die für den Menschen lesbare Ausgabebedingung auf condition.

Siehe auch outputCondition(), setOutputConditionIdentifier(), und setRegistryName().

void QPdfOutputIntent::setOutputConditionIdentifier(const QString &identifier)

Setzt den Bezeichner der Ausgabebedingung auf identifier.

Wenn ein Registername angegeben wird, sollte dieser Bezeichner mit dem Referenznamen eines Eintrags in diesem Register übereinstimmen.

Siehe auch outputConditionIdentifier(), setOutputCondition(), und setRegistryName().

void QPdfOutputIntent::setOutputProfile(const QColorSpace &profile)

Setzt das Profil des Ausgabegeräts auf profile.

Hinweis: PDF/X-4 verlangt, dass alle Farbspezifikationen im Dokument mit demselben Farbraum von profile übereinstimmen. Es liegt in der Verantwortung der Anwendung sicherzustellen, dass dies der Fall ist.

Siehe auch outputProfile(), QColorSpace::fromIccProfile, und QPdfWriter::setColorModel.

void QPdfOutputIntent::setRegistryName(const QUrl &name)

Setzt die URL der Charakterisierungsregistrierung auf name.

Siehe auch registryName() und setOutputConditionIdentifier().

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

Tauscht diesen Output Intent mit other aus. Dieser Vorgang ist sehr schnell und schlägt nie fehl.

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

Verschieben - ordnet den Output-Intent other diesem Intent zu.

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

Weist den Output-Intent other über diesen Intent zu.

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