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() | |
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) |
另请参阅 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.