How to get linked file path, Link Info(C/C++)
Hello All,
I am trying to read Alt Text from "Object Export Options", I am able to read text when alt text sources is custom. I am not able to find out how to get this text when text sources is kXMPTitle/kXMPDescription/..
I think I need to get linked file path and read xmp meta data from that file.
Can any one please help about how to get link info of a page item. how to get Linked file path?
{
PMString altText("");
do{
InterfacePtr<IObjectExportOptions>exportobject(pageItemUIDRef, UseDefaultIID());
ASSERT(exportobject);
if(exportobject)
{
IObjectExportOptions::TextSourceType type = exportobject->GetAltTextSourceType();
if(type == IObjectExportOptions::TextSourceType::kCustom)
{
exportobject->GetCustomAltText(altText);
}else{
//How to get liked file path? How to get link info? how to get its metadata?
// kXMPTitle
// kXMPDescription
// kXMPHeadline
// kXMPOther
}
}
}while(false);
}
