이 페이지에서

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 의 복사본을 생성합니다.

[constexpr noexcept default] 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::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 ’를 할당합니다.

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