Quantcast
Channel: Adobe Community : Popular Discussions - InDesign SDK
Viewing all articles
Browse latest Browse all 78596

DoUpdateDesign process is trunked

$
0
0

HelloFriendsI need help,myInCopyfailswhen trying toopen the document,usingthe methodDoUpdateDesign, we add storiesto my listthrough thefollowing method:

 

 

InterfacePtr<IInCopyStoryList> icStoryList(document,UseDefaultIID());

                                if(icStoryList==nil)

                                    continue;

icStoryList->ProcessRemoveStory(UIDRefStory.GetUID());

 

 

DuringtheInCopyworkreceives the signalthat there isa design change, I try to updatethe document usingthis method:

 

Utils<IInCopyDocUtils>()->DoUpdateDesign(::GetUIDRef(document));

 

 

Before using theabove methodto updatethe design, I unlinktheInCopystoriesusingthis:

 

 

InterfacePtr<IInCopyStoryList> icStoryList(document,UseDefaultIID());

if(icStoryList==nil)

  continue;

                                                               

icStoryList->ProcessRemoveStory(UIDRefStory.GetUID());

 

Or do I needto do somethingto enterthestoriessocorectmyIInCopyStoryList

 

Anyidea whythe applicationisleft thinking, I have half solvedandnotusingthese actions("ProcessAddStory, ProcessRemoveStory") but I needthe viewsthat are generatedusing themethodProcessAddStory.

Thanks in advancefor your attention
A andSorry formyEnglish


Viewing all articles
Browse latest Browse all 78596

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>