How Create bookmark
hi
can 1 tell me how create bookmark using java script ?
i want create bookmark on billjoy, there problem in parameter of bookmarks.add() function.
indesign::_application oapplication;
indesign::document objdoc;
objdoc=oapplication.getactivedocument();
indesign::pages pages= objdoc.getpages();
indesign::page page =pages.getitem(colevariant((long)1));
indesign::textframes textframes =page.gettextframes();
indesign::textframe textframe = textframes.add(covoptional,(long)1433299822,covoptional);
textframe.setcontents(colevariant(l"billjoy"));
// want create bookmark on billjoy
indesign::bookmarks bookmarks = objdoc.getbookmarks();
bookmarks.add(
parameters destination of type hyperlinkexternalpagedestination or hyperlinklpagedestination or
hyperlinkltextdestination or page.
how use these type of parameter.
thanks.
More discussions in InDesign SDK
adobe
Comments
Post a Comment