![]() | InDesign SDK 20.5 |
Public Types | |
| typedef KeyValuePair< UID, PMString > | ArticleInfo |
| typedef K2Vector< ArticleInfo > | ArticleList |
Public Member Functions | |
| SnpManipulateArticles () | |
| virtual | ~SnpManipulateArticles () |
| ErrorCode | ListArticles (IDocument *doc) |
| ErrorCode | ListArticlesForPageItems (IDocument *doc, ILayoutTarget *layoutTarget) |
| ErrorCode | AddToExistingArticle (IDocument *doc, ILayoutTarget *layoutTarget) |
| ErrorCode | AddToNewArticle (IDocument *doc, ILayoutTarget *layoutTarget, const PMString &articleName) |
| ErrorCode | RemoveFromArticle (IDocument *doc, ILayoutTarget *layoutTarget) |
| typedef KeyValuePair< UID, PMString > SnpManipulateArticles::ArticleInfo |
Article UID and name mapping.
| inline |
Constructor.
| inlinevirtual |
Destructor.
| ErrorCode SnpManipulateArticles::AddToExistingArticle | ( | IDocument * | doc, |
| ILayoutTarget * | layoutTarget | ||
| ) |
Adds selected page items to an existing article.
| doc | The document to which page items belong. |
| layoutTarget | ILayoutTarget for retrieving selected page items. |
| ErrorCode SnpManipulateArticles::AddToNewArticle | ( | IDocument * | doc, |
| ILayoutTarget * | layoutTarget, | ||
| const PMString & | articleName | ||
| ) |
Creates a new article and add selected page items to it.
| doc | The document to which page items belong. |
| layoutTarget | ILayoutTarget for retrieving selected page items. |
| articleName | Name for the new article. |
| ErrorCode SnpManipulateArticles::ListArticles | ( | IDocument * | doc | ) |
Lists articles for a document.
| doc | The document. |
| ErrorCode SnpManipulateArticles::ListArticlesForPageItems | ( | IDocument * | doc, |
| ILayoutTarget * | layoutTarget | ||
| ) |
Lists articles for specified page items.
| doc | The document to which page items belong. |
| layoutTarget | ILayoutTarget for retrieving selected page items. |
| ErrorCode SnpManipulateArticles::RemoveFromArticle | ( | IDocument * | doc, |
| ILayoutTarget * | layoutTarget | ||
| ) |
Removes selected page items from an article.
| doc | The document to which page items belong. |
| layoutTarget | ILayoutTarget for retrieving selected page items. |