上次更新日期:
2023年5月24日
|
也应用至 Adobe InDesign, Adobe InDesign Server
在 InDesign 2018 中,使用自定义数据链接的增效工具所管理链接的状态在“链接”面板中未正确进行更新,且会以低分辨率导出高分辨率资产。
- 要解决第一个问题,请将下面的行添加到资源处理程序 boss(例如,CustomDataLink 示例增效工具中的 CusDtLnk.fr 文件)。
IID_ILINKRESOURCEHELPERHANDLER, kFileLinkResourceHelperHandlerImpl,
- 要解决低分辨率导出问题,请在 ResourceHandler 实现中使用以下代码片段,例如 CustomDataLink 示例增效工具的 CustomDataLinkResourceHandler.h。
virtual bool CanProvideFile(const UIDRef& ref, const URI& uri)
{
return true;
}
virtual ErrorCode GetFile(const UIDRef& ref, const URI& uri, IDFile& idFile)
{
if (Utils<ICusDtLnkFacade>()->URIToIDFile(uri, idFile))
return kSuccess;
return kFailure;
}