3 Replies Latest reply on Nov 25, 2009 9:18 AM by Harbs.

    Move pages between documents keeping threads

    apruneda Level 1

      Hi all,

       

      This is my problem. I'm trying to move several pages from different spreads into another document. I´m trying it this way:

       

      doc2.pages.itemByRange(0, 2).duplicate(LocationOptions.AT_END,doc1);

       

      where doc1 and doc2 are my documents. This works fine but when i have threaded texts the threads are broken.

       

      I have tried to move spreads instead of pages this way:

       

      doc2.spreads.itemByRange(0, 2).duplicate(LocationOptions.AT_END,doc1);

       

      and now the threads between pages in the same spread aren´t broken, but the threads between pages in different spreads are.

       

      Does anybody know how to solve this problem?

       

      Thanks in advance.

       

      Alvaro