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

출력 장치 프로필을 반환합니다.

기본 프로필은 국제 색상 컨소시엄에서 제공하는 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 를 할당합니다.

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