Skip navigation
Currently Being Moderated

Renumbering plugin

Jul 26, 2011 1:29 AM

Hello,

 

does anyone have experience with schemas RenumberPlugin directive? I must be doing something wrong, as after using it, InDesign still says my a document contains data of missing plugin.

Am I right that it is enough to renumber just the implementations with my persistent data or do I need to renumber also classes and other implementations (they actually changed id's). Or maybe I should do just the RenumberPlugin as one directive and with another directive ReplaceAllImplementation?

 

Here is what I have:

 

document saved with plugin  oldPluginID, oldPluginMajorVersionNum, oldPluginMinorVersionNum

 

my new plugin is defined as: newPluginID, newPluginMajorVersionNum, newPluginMinorVersionNum

 

in my fr:

 


resource DirectiveList(1)

{

{

     {

     RenumberPlugin

     {

          // FormatNumber

          newPluginMajorVersionNum, newPluginMinorVersionNum

          // Version

          oldPluginID, oldPluginMajorVersionNum, oldPluginMinorVersionNum

          // Version

          newPluginID, newPluginMajorVersionNum, newPluginMinorVersionNum

          // next should be array of classes. is it needed?

          {},

          // next is array of implementations which did change id, I am wondering about the format

          // should it be (oldPluginID + 10) for the old impl ID and just kImplID for the new ID?

          {

               oldPluginID + x, kmyXImpl,

               oldPluginID + y, kmyYImpl,

          }

 

     }

     }

}

}

 

Thanks for your comments,

 

A.

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points