What is the IScrapSuite constructor for an IFrameList? The only examples i found in the docs and on the web, all start from a selection:
InterfacePtr<IScrapSuite> scrapSuite (static_cast<IScrapSuite*>(Utils<ISelectionUtils>()->QuerySuite(IID_ISCRAPSUITE, selectionMgr)));
Since my code is used in IndesignServer, there is no "selection" concept (unless i'm mistaken).
What i actually want to do is duplicate all threaded textframes from an ITextModel to another layer.
I tried the kDuplicateCmdBoss, which works fine except for single textframes where the text is "bottom-aligned". In that case the duplicated textboxes are overset for some reason.
I reported this to Adobe and they suggested to use the IScrapSuite instead. But the example they provided is intended for the Indesign desktop version and starts from a selection.
Thanks for any advice!
Europe, Middle East and Africa