InDesignCC2015 crashed when created xmlElement


hi everyone,

 

currently, want create xml element table cell. cell converted graphic type

 

interfaceptr<itablecommands> tablecommands(tablemodel, usedefaultiid());
tablecommands->convertcellstype(gridarea(rowrange(toprow + rowscale, 1), colrange(leftcol, 1)), kpageitemcontenttype);
interfaceptr<itablepageitemcontent> tablepageitem(tablemodel, usedefaultiid());
graphicframeref = tablepageitem->getcellgraphiccontent(gridaddress(toprow + rowscale, leftcol));
uidref taguidref = facade->acquiretag(documentuidref, pmstring("image"));
utils<ixmlelementcommands>()->createelement(taguidref.getuid(),graphicframeref.getuid(), xmlreflist, 0);

 

indesign crashs when process command createelement dont know why?

does have idea that?



More discussions in InDesign SDK


adobe

Comments

Popular posts from this blog

Soustraire une selection

After Effects: could not find dvaeve_dialogs.txt

Illustrator cs6 "Invalid Serial Number"