Auf dieser Seite

QPdfOutputIntent Class

Überschrift: #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)

Ausführliche Beschreibung

Die Klasse QPdfOutputIntent enthält Metadaten, die die Druckbedingungen charakterisieren, für die beim Erstellen einer PDF-Datei Zeichnungsdaten vorbereitet wurden.

Siehe auch „ QPdfWriter “.

Dokumentation der Mitgliedsfunktionen

QPdfOutputIntent::QPdfOutputIntent()

Erstellt ein neues PDF-Ausgabekonzept.

QPdfOutputIntent::QPdfOutputIntent(const QPdfOutputIntent &other)

Erstellt eine Kopie des Ausgabe-Intents „ other “.

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

Erstellt ein `QPdfOutputIntent`-Objekt, indem es von other abgerufen wird.

[noexcept] QPdfOutputIntent::~QPdfOutputIntent()

Löscht diese Ausgabeabsicht.

QString QPdfOutputIntent::outputCondition() const

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

Es handelt sich um eine Zeichenkette, die den charakterisierten Druckzustand prägnant in einer für einen menschlichen Bediener aussagekräftigen Form identifiziert.

Die Standard-Ausgabebedingung lautet „ sRGB IEC61966 v2.1 with black scaling “.

Siehe auch ` setOutputCondition()`.

QString QPdfOutputIntent::outputConditionIdentifier() const

Gibt die Kennung der Ausgabebedingung zurück.

Wird ein Registrierungsname angegeben, sollte diese Kennung mit dem Referenznamen eines Eintrags in dieser Registrierung übereinstimmen.

Die Standardkennung lautet „ 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 sRGB v2-Profil, das vom International Color Consortium bereitgestellt wird.

Siehe auch „ setOutputProfile“ ().

QUrl QPdfOutputIntent::registryName() const

Gibt die URL eines Charakterisierungsregisters für die gewünschte Druckbedingung zurück.

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

Siehe auch setRegistryName() und setOutputConditionIdentifier().

void QPdfOutputIntent::setOutputCondition(const QString &condition)

Legt die Bedingung für die menschenlesbare Ausgabe auf „ condition “ fest.

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

void QPdfOutputIntent::setOutputConditionIdentifier(const QString &identifier)

Setzt die Kennung der Ausgabebedingung auf „ identifier “.

Wird ein Registrierungsname angegeben, sollte diese Kennung mit dem Referenznamen eines Eintrags in dieser Registrierung übereinstimmen.

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

void QPdfOutputIntent::setOutputProfile(const QColorSpace &profile)

Legt das Profil des Ausgabegeräts auf „ profile “ fest.

Hinweis: PDF/X-4 erfordert, dass alle Farbspezifikationen im Dokument dem Farbraum von „ profile “ entsprechen. 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)

Legt die URL des Charakterisierungsregisters auf name fest.

Siehe auch registryName() und setOutputConditionIdentifier().

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

Tauscht diese Ausgabeabsicht gegen „ other “ aus. Dieser Vorgang ist sehr schnell und schlägt niemals fehl.

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

„Move“ weist die Ausgabeabsicht „ other “ dieser Absicht zu.

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

Weist diesem Intent die Ausgabe-Intention „ other “ zu.

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