2 Replies Latest reply on Jul 1, 2013 6:55 AM by Gejaraja

    Converting textframes into anchored objects

    Gejaraja Level 1

      Hi All,


      I'm generating the ePub files from the InDesign and found that some of my textframes which are in separate stories are captured at the end of the files, but I'd like to have them at the exact position. But when those frames are capturing manually as anchored objects, it looks fine. Please confirm how this can be achieved either scripting or other method?





        • 1. Re: Converting textframes into anchored objects
          Laubender Adobe Community Professional & MVP

          @Praveen – the first question you have to answer to yourself is:


          is there a general prescribe where to anchor exactly a single text frame in the main story?
          If you cannot say that in a general, logical way, you cannot automate this task.
          Or you have to programme a lot of exceptions, that it would be easier to do it manually.


          For InDesign CS5.5 and above it is very easy to anchor a text frame using the UI with two clicks per instance. Scripting those is a more complex task.


          1. You have to identify separate text frames (you can only anchor single, non-threaded ones!).
          2. Perhaps you have to identify a geometrical relation between the single text frame and the main story in form of a single insertion point at the beginning or end of a paragraph…).

          3. And you have to define some properties for the anchor behaviour of the stray text frame you want to anchor.


          How many stray text frames do you have?

          How many documents where you want to anchor those?
          Describe the projected time for the task if done in the UI…


          Is it reliable using a script at all?
          Taking into account that writing (20%) and testing (80%) a script for this task would take some hours to perhaps a day… Plus the time for analyzing the original documents (special cases may be a hurdle one cannot overcome).



          1 person found this helpful
          • 2. Re: Converting textframes into anchored objects
            Gejaraja Level 1

            Thanks Laubender for the detailed explaination on this requirement, it clearly shown to do this task manually will be more easier, but when we need to handle bulk images, it'll be a very time consuming one. Anyway will check again other possibilities and confirm.