How to know the name of paragraph style group being deleted from InDesign?
hi.
i working on plugin , need know name of paragraph style group being deleted indesign.
i have implemented document observer , attached iid_iparastylegroupmanager. can notification whenever paragraph style group deleted. value of "thechange" is kdeleteparastylegroupcmdboss.
now tried pointer iuiddata command got null pointer. must because group has been deleted then.
is there way name of style group when deleted?
the style group deleted on notification.
in cases indesign sends pre-notifications different command state, unfortunately here missing.
i'd build map(uid/name) on opening document , maintain e.g. on rename.
alternatively can watch every command before execution (interceptor etc.) though not recommended performance reasons.
dirk
More discussions in InDesign SDK
adobe
Comments
Post a Comment