Copy link to clipboard
Copied
Hello,
I'm having a problem with frames changing position on a document after save. On the document pages, some frames from master pages, located on the right pages, undergo a translation and overflow onto the left-hand pages. If I export to IDML, page number frames are also affected. On master pages, corresponding frames are in the right place.
I experimented from Roundup #6 by @Marc Autret which seems to talk about this problem. But so far, I haven't solved anything.
This document has already been resized by a homemade script, with documentPreferences. I also used the resize() method with CoordinateSpaces.INNER_COORDINATES for some specific master pages. Most of the time, my layers are locked.
Can this type of edit disrupt some document inner properties?
Could anyone advise me on this?
Copy link to clipboard
Copied
I forgot the link to the article. Here is.
Copy link to clipboard
Copied
Master Page:
Document Page:
Copy link to clipboard
Copied
I will present my progress. After several tests, I noticed that the problem arises when I delete an odd number of pages. If so, some frames located after the deleted page(s) will have their positions reshuffled. If I delete two pages at once (e.g. 15-16) or any other even number (e.g. 15-24) using the InDesign interface, the frames remain well positioned, probably because they stay on the right side.
In summary, if I delete page 15, then delete page 15 again, the frames that follow are shifted and disconnected from the master page. If I delete pages 15-16 in a single command, the frames that follow remain in the correct place and connected to the master page.