In questa pagina

QPdfOutputIntent Class

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

Funzioni pubbliche

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)

Descrizione dettagliata

La classe QPdfOutputIntent contiene metadati che caratterizzano le condizioni di stampa per le quali sono stati preparati i dati di disegno durante la generazione di un file PDF.

Vedi anche QPdfWriter.

Documentazione delle funzioni membro

QPdfOutputIntent::QPdfOutputIntent()

Crea un nuovo intento di output PDF.

QPdfOutputIntent::QPdfOutputIntent(const QPdfOutputIntent &other)

Crea una copia dell'intento di output other.

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

Crea un oggetto QPdfOutputIntent a partire da other.

[noexcept] QPdfOutputIntent::~QPdfOutputIntent()

Elimina questa intenzione di output.

QString QPdfOutputIntent::outputCondition() const

Restituisce la condizione di output in formato leggibile dall'utente.

Si tratta di una stringa che identifica in modo conciso la condizione di stampa caratterizzata in una forma comprensibile per un operatore umano.

La condizione di output predefinita è sRGB IEC61966 v2.1 with black scaling.

Vedi anche setOutputCondition().

QString QPdfOutputIntent::outputConditionIdentifier() const

Restituisce l'identificatore della condizione di output.

Se viene specificato un nome di registro, tale identificatore deve corrispondere al nome di riferimento di una voce presente in quel registro.

L'identificatore predefinito è sRGB_IEC61966-2-1_black_scaled.

Vedi anche setOutputConditionIdentifier().

QColorSpace QPdfOutputIntent::outputProfile() const

Restituisce il profilo del dispositivo di output.

Il profilo predefinito è il profilo sRGB v2 disponibile presso l'International Color Consortium.

Vedi anche setOutputProfile().

QUrl QPdfOutputIntent::registryName() const

Restituisce l'URL di un registro delle caratterizzazioni relativo alle condizioni di stampa specificate.

Il registro predefinito è http://www.color.org.

Vedi anche setRegistryName() e setOutputConditionIdentifier().

void QPdfOutputIntent::setOutputCondition(const QString &condition)

Imposta la condizione di output leggibile dall'utente su condition.

Vedi anche outputCondition(), setOutputConditionIdentifier() e setRegistryName().

void QPdfOutputIntent::setOutputConditionIdentifier(const QString &identifier)

Imposta l'identificatore della condizione di output su identifier.

Se viene specificato un nome di registro, tale identificatore deve corrispondere al nome di riferimento di una voce presente in quel registro.

Vedi anche outputConditionIdentifier(), setOutputCondition() e setRegistryName().

void QPdfOutputIntent::setOutputProfile(const QColorSpace &profile)

Imposta il profilo del dispositivo di output su profile.

Nota: lo standard PDF/X-4 richiede che tutte le specifiche di colore nel documento corrispondano allo stesso spazio colore di profile. È responsabilità dell'applicazione garantire che ciò avvenga.

Vedi anche outputProfile(), QColorSpace::fromIccProfile e QPdfWriter::setColorModel.

void QPdfOutputIntent::setRegistryName(const QUrl &name)

Imposta l'URL del registro delle caratterizzazioni su name.

Vedi anche registryName() e setOutputConditionIdentifier().

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

Sostituisce questo intento di output con other. Questa operazione è molto veloce e non fallisce mai.

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

Move-assegna l'intento di output " other " a questo intento.

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

Assegna l'intento di output " other " a questo intento.

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