#include <ITOCDataLinkHelper.h>
|
| enum | { kDefaultIID = IID_ITOCDATALINKHELPER } |
| |
This is a helper interface to attach/remove data link related to table of content from the story.
- See Also
- kAttachTOCDataLinkCmdBoss and kRemoveTOCDataLinkCmdBoss.
| virtual ErrorCode ITOCDataLinkHelper::AddTOCDataLink | ( | const UIDRef & | datalinkRef, | | | const UIDRef & | storyRef, | | | const UIDRef & | tocStyleRef | | ) | | |
| pure virtual |
This is a helper interface to add an table of content(TOC) link to the story and have the story back reference to the datalink. This is all through the AttachTOCDataLinkCmd.
- Parameters
| datalinkRef | IN UIDRef of datalink to be attached to the TOC style's link manager. |
| storyRef | IN UIDRef of story stored in the datalink. |
| tocStyleRef | IN UIDRef o TOC style. |
- Returns
- ErrorCode the result of the operation. By default, it return kSuccess.
| virtual ErrorCode ITOCDataLinkHelper::AddTOCDataLink | ( | const UIDList * | itemList | ) | |
| pure virtual |
This is a helper interface to add an table of content(TOC) link to the story and have the story back reference to the datalink. This is all through the AttachTOCDataLinkCmd.
- Parameters
| itemList | IN the list of datalinks to be attached to the TOC style's link manager. |
- Returns
- ErrorCode the result of the operation. By default, it return kSuccess.
| virtual ErrorCode ITOCDataLinkHelper::RemoveTOCDataLink | ( | const UIDRef & | datalinkRef, | | | const UIDRef & | storyRef, | | | const UIDRef & | tocStyleRef | | ) | | |
| pure virtual |
This is a helper interface to remove the table of content(TOC) link from the story and from the TOC style's link manager too. This is all through the RemoveTOCDataLinkCmd.
- Parameters
| datalinkRef | IN UIDRef of datalink to be removed from the TOC style's link manager. |
| storyRef | IN UIDRef of story stored in the datalink. |
| tocStyleRef | IN UIDRef o TOC style. |
- Returns
- ErrorCode the result of the operation.
| virtual ErrorCode ITOCDataLinkHelper::RemoveTOCDataLink | ( | const UIDList * | itemList | ) | |
| pure virtual |
This is a helper interface to remove the table of content(TOC) link from the story and from the TOC style's link manager too. This is all through the RemoveTOCDataLinkCmd.
- Parameters
| itemList | IN the list of datalinks to be removed from the TOC style's link manager. |
- Returns
- ErrorCode the result of the operation. By default, it return kSuccess.