Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

Maintain cross-reference link when updating text frame contents

$
0
0

I've written a javascript that will parse though every page in my document and update the content in my page titles.  It updates the number scheme in the form x.y.z [title] when I've deleted pages and need the numbering scheme updated.  Some of these page titles have cross-references linking to them from sections of the document. The script essentially takes the contents of a text frame and replaces it with a new string that has the corrent number scheme.  Whenever this happens, it breaks the cross-reference linking to that paragraph text.  How do I maintain the cross-reference link to every text frame while updating its contents?


Viewing all articles
Browse latest Browse all 15932

Trending Articles



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