![]() | InDesign SDK 20.5 |

Public Types | |
| typedef HTTPAssetLinkResourceHandler | inherited |
| typedef object_type | data_type |
Public Member Functions | |
| CusHttpLnkLinkResourceHandler (IPMUnknown *boss) | |
| virtual WideString | GetLongResourceName (const UIDRef &ref, const URI &uri, bool bUIName) const |
| virtual bool | IsHTTPSSupportedURI (const URI &uri) const |
| virtual bool | canGetInstanceName () const |
| virtual ErrorCode | GetInstanceName (PMString &uri) const |
Additional Inherited Members | |
Private Types inherited from HTTPAssetLinkResourceHandler | |
| typedef CPMUnknown < ILinkResourceHandler > | inherited |
| typedef object_type | data_type |
Private Member Functions inherited from HTTPAssetLinkResourceHandler | |
| HTTPAssetLinkResourceHandler (IPMUnknown *boss) | |
| virtual bool | Init (const UIDRef &ref, const URI &uri) |
| virtual bool | IsResourceURIValid (const UIDRef &ref, const URI &uri) const |
| virtual bool | AreResourceIdsEquivalent (const ILinkResource::ResourceId &id1, const ILinkResource::ResourceId &id2) const |
| virtual FileTypeInfo | GetResourceDataType (const UIDRef &ref, const URI &uri) const |
| virtual WideString | GetShortResourceName (const UIDRef &ref, const URI &uri, bool bUIName) const |
| virtual PMString | GetResourceStateInfo (const UIDRef &ref, const URI &uri, ILinkResource::ResourceState state, ILinkResource::ResourceStoreState storeState) const |
| virtual bool | AreStampsEquivalent (const WideString &stamp1, const WideString &stamp2) const |
| virtual bool | CanReadResource (const UIDRef &ref, const URI &uri) const |
| virtual bool | CanWriteResource (const UIDRef &ref, const URI &uri) const |
| virtual bool | CanReadWriteResource (const UIDRef &ref, const URI &uri) const |
| virtual bool | CanCreateResourceStream (const UIDRef &ref, const URI &uri, ILinkResource::AccessMode mode) const |
| virtual IPMStream * | CreateResourceReadStream (const UIDRef &ref, const URI &uri) const |
| virtual IPMStream * | CreateResourceWriteStream (const UIDRef &ref, const URI &uri) const |
| virtual IPMStream * | CreateResourceReadWriteStream (const UIDRef &ref, const URI &uri) const |
| virtual bool | CanCacheResource (const UIDRef &ref, const URI &uri) const |
| virtual bool | CanEmbedResource (const UIDRef &ref, const URI &uri) const |
| virtual bool | CanUnembedResource (const UIDRef &ref, const URI &uri) const |
| virtual bool | CanCopyToFile (const UIDRef &ref, const URI &uri) const |
| virtual ErrorCode | CopyToFile (const UIDRef &ref, const URI &uri, IDFile &file) const |
| virtual bool | CanEditResource (const UIDRef &ref, const URI &uri) const |
| virtual ErrorCode | EditResource (const UIDRef &ref, const URI &uri, const AppInfo &appInfo, PMString *errorString) const |
| virtual bool | CanRevealResource (const UIDRef &ref, const URI &uri) const |
| virtual ErrorCode | RevealResource (const UIDRef &ref, const URI &uri) const |
| virtual bool | CanRevealResourceInBridge (const UIDRef &ref, const URI &uri) const |
| virtual ErrorCode | RevealResourceInBridge (const UIDRef &ref, const URI &uri) const |
| virtual bool | CanRevealResourceInCloudLibraries (const UIDRef &ref, const URI &uri) const |
| virtual ErrorCode | RevealResourceInCloudLibraries (const UIDRef &ref, const URI &uri) const |
| virtual bool | GetXMPPacketInfo (const UIDRef &resourceRef, const URI &uri, std::string &packet) const |
| virtual bool | CanGetXMPPacketInfo (const UIDRef &ref, const URI &uri) const |
| virtual bool | CanReplaceFPOWithOriginalResource (const UIDRef &ref, const URI &uri) const |
| virtual bool | CanDownloadOriginalResource (const UIDRef &ref, const URI &uri) const |
| virtual ErrorCode | DownloadOriginalResource (const UIDRef &ref, const URI &uri) const |
| virtual ErrorCode | AsyncDownloadOriginalResource (const UIDRef &ref, const URI &uri, ILinkResource::DownloadCompletionFunction completionFunction) const |
| virtual ILinkResource::ResourceDownloadState | GetResourceDownloadProgress (const UIDRef &ref, const URI &uri, PMReal &progress) const |
| virtual bool | CanProvideFile (const UIDRef &ref, const URI &uri) const |
| virtual ErrorCode | GetFile (const UIDRef &ref, const URI &uri, IDFile &idFile) const |
Provide methods to manipulate the resource
| virtual |
Called to get a resource's long name. \ For example, the long name for a file resource is the file's full path.
| ref | [IN] UID reference of the link resource. |
| uri | [IN] URI of the resource to get a long name for. |
| bUIName | [IN] Denotes to return the resource's long UI name if different from the resource's actual long name.\ In some cases, resources may want to have long UI name that differs from the resource's actual long name. For example, file resources on the Mac return a POSIX path as the resource's actual long name, and a HFS/POSIX path as the resource's long UI name. |
Reimplemented from HTTPAssetLinkResourceHandler.