![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_IREPLACEFPOIMAGE } |
| enum | Mode { kReplaceIfInteract, kReplaceAlways, kNeverReplace, kUnsupportedImage } |
Public Member Functions | |
| virtual Mode | GetReplaceModeForImage (UIDRef const &image) const =0 |
| virtual IPMStream * | ReplaceFPOImage (UIDRef const &fpoImage)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
| pure virtual |
Asks implementation how given image should be treated. If the impl can handle the specified image, it should return one of kReplaceIfInteract, kReplaceAlways, or kNeverReplace to indicate how the image should be handled. If it cannot handle the specified image, it should return kUnsupportedImage to indicate that another service be given a chance to replace the image
| image | UIDRef for the image |
Queries for the replacement IPMStream for the specified image. This will be called if the impl previously indicated that it wanted to replace the given image (by returning either kReplaceIfInteract or kReplaceAlways)
If an error occurs, the impl should return a nil interface. This will abort the print/export operation.
| fpoImage | UIDRef for the FPO image. The service should use this to identify the image to be replaced. |