![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_ISHAREDCONTENTFACADE } |
| enum | LinkPageItemOption { kPIUpdateOnSave, kPIWarnOnUpdateOfEditedPageItem, kPIStyleMappingExceptions, kPIPathgeometryOverride, kPIGraphicAttributesOverride, kPIInteractiveAttributesOverride, kPIContentOverride, kPIOtherAttributesOverride } |
| enum | LinkStoryOption { kUpdateOnSave, kWarnOnUpdateOfEditedStory, kRemoveForcedLineBreaks, kMapStyles } |
Public Member Functions | |
| virtual ErrorCode | CreateSharedContentLink (const UIDRef &sourceRef, const UIDRef &targetRef, UID &outLinkUID) const =0 |
| virtual bool16 | CanCreateSharedContentLink (const UIDRef &sourceRef, const UIDRef &targetRef) const =0 |
| virtual UIDRef | GetLinkForSharedContentLinkObject (const UIDRef &linkObj) const =0 |
| virtual UIDRef | GetResourceObjectForSharedContentLink (const UIDRef &linkResourceRef, const URI &linkedContentURI) const =0 |
| virtual bool16 | IsSharedContentLink (const ILink *link) const =0 |
| virtual bool16 | IsSharedContentInternalLink (const ILink *link) const =0 |
| virtual bool16 | IsSharedContentExternalLink (const ILink *link) const =0 |
| virtual bool16 | IsSharedContentLinkResource (const ILinkResource *linkResource) const =0 |
| virtual bool16 | IsSharedContentExternalLinkResource (const ILinkResource *linkResource) const =0 |
| virtual bool16 | IsSharedStoryLinkObject (const UIDRef &textModelRef) const =0 |
| virtual bool16 | IsSharedPageItemLinkObject (const UIDRef &pageItemRef) const =0 |
| virtual bool16 | IsSharedPageItemLink (const ILink *link) const =0 |
| virtual bool16 | IsSharedStoryLink (const ILink *link) const =0 |
| virtual bool16 | IsSharedPageItemLinkResource (const ILinkResource *linkResource) const =0 |
| virtual bool16 | IsSharedStoryLinkResource (const ILinkResource *linkResource) const =0 |
| virtual bool16 | IsSharedPageItemOptionSet (ILink *link, LinkPageItemOption option) const =0 |
| virtual bool16 | IsSharedStoryOptionSet (ILink *link, LinkStoryOption option)=0 |
| virtual bool16 | IsSharedStoryOptionSet (const UIDRef &textModel, LinkStoryOption option)=0 |
| virtual ErrorCode | CopySharedPageItemOptions (const UIDRef &sourceRef, const UIDRef &targetRef)=0 |
| virtual ErrorCode | CopySharedStoryOptions (const UIDRef &sourceModel, const UIDRef &targetModel)=0 |
| virtual ErrorCode | SetSharedStoryOption (const UIDRef &textModel, LinkStoryOption option, const bool16 newValue)=0 |
| virtual ErrorCode | SetSharedPageItemOption (const UIDRef &pageItem, LinkPageItemOption option, const bool16 newValue)=0 |
| virtual UIDRef | GetResourceObjectForSharedStoryLink (const UIDRef &linkRef) const =0 |
| virtual bool16 | ContainsSharedStoryLink (const UIDList &linkList) const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Link Options available for page item Links
Link Options available for Story Links
| pure virtual |
Return kTrue is a shared content link can be created between two existing (already placed) objects.
| sourceRef | [IN] the source object for the content being shared. |
| targetRef | [IN] the target object for the shared content. |
| pure virtual |
Internal Use. Used by LinksUI project. Checks if atleast one Shared Content link exists in the list of Link UIDs passed..
| linkList | [IN] list of Link UIDs to be checked. |
| pure virtual |
Copies link options from source page item to target page item.
| sourceRef | [IN] the source object from which options have to be copied. |
| targetRef | [IN] the target object to which options will be copied. |
| pure virtual |
Copies link options from source Text model to target text Model
| sourceModel | [IN] the source text model from which options have to be copied. |
| targetModel | [IN] the target text model to which options will be copied. |
| pure virtual |
Creates a Shared Content link between two existing (already placed) objects.
| sourceRef | [IN] the source object for the content being shared. |
| targetRef | [IN] the target object for the shared content. |
| outLinkUID | [OUT] the link UID of the ILink object in target database. |
| pure virtual |
Checks if the link is a shared content external link. (external link mean across document link)
| link | [IN] the link to be checked. |
| pure virtual |
Checks if the link is a shared content external link resource. (external link mean across document link)
| linkResource | [IN] the link resource to be checked. |
| pure virtual |
Checks if the link is a shared content internal link (internal links mean link within same file).
| link | [IN] the link to be checked. |
| pure virtual |
Checks if the link is a shared content link.
| link | [IN] the link to be checked. |
| pure virtual |
Checks if the link is a shared content link resource.
| linkResource | [IN] the link resource to be checked. |
| pure virtual |
Checks if the link is a shared Article link.
| link | [IN] the link to be checked. |
| pure virtual |
Checks whether this particular object is a page item link object
| pageItemRef | [IN] the page item reference. |
| pure virtual |
Checks if the link resource is a shared Article link.
| linkResource | [IN] the link resource to be checked. |
| pure virtual |
Returns true if a particular option ( parameter ) is turned on for the link.
| link | [IN] the link to be checked. |
| option | [IN] which option to be checked. |
| pure virtual |
Checks if the link is a shared story link.
| link | [IN] the link to be checked. |
| pure virtual |
Checks whether this particular text model is a story link object
| textModelRef | [IN] the text model reference. |
| pure virtual |
Checks if the link resource is a shared story link resource.
| linkResource | [IN] the link resource to be checked. |
| pure virtual |
Returns true if a particular option ( parameter ) is turned on for the Story link.
| link | [IN] the link to be checked. |
| option | [IN] which option to be get status of. |
| pure virtual |
Returns true if a particular option ( parameter ) is turned on for the Story link object.
| textModel | [IN] the target object for the shared content. |
| option | [IN] which option to be get status of. |
| pure virtual |
Sets the link option on the page item
| pageItem | [IN] the target object for the shared content. |
| option | [IN] which option to be set |
| newValue | [IN] the new value of the option. |
| pure virtual |
Sets the link option on the story
| textModel | [IN] the target object for the shared content. |
| option | [IN] which option to be set |
| newValue | [IN] the new value of the option. |