2 Replies Latest reply on Oct 30, 2016 1:30 PM by Willi Adelberger

    How to find the page number of textframe in idml zip file??

    priyag1058

      How to find the page number of textframe in idml zip file??

        • 1. Re: How to find the page number of textframe in idml zip file??
          Laubender Adobe Community Professional & MVP

          How did you identify the text frame in the IDML file?

           

          If you can detect the right Spread XML of the text frame, check some lines of XML above the discription of the text frame in the section <Page/><Page Self= what the value of name= is. That's trivial, I think. At least for "Arabic" enumeration values. See also the <Descriptor type="list"> in  <Properties> where <ListItem type="long"> will give you another hint.

           

          Or do you want to detect the text frame?
          On what basis?

           

          On the basis of its contents—the text contained by the text frame?

           

          That would be not possible maybe, since an IDML file is a series of recipes how a document should be rendered and not a description of the rendition itself. In IDML the text frame's discription will not describe its contents. That is provided with a different XML, a Story XML. If a text frame will contain the whole contents of a story you can do a 1:1 match. If not, it's impossible to tell what text will fall to what text frame in a threaded series of text frames, because the renderer, inDesign, has to do the rendition first. And that will differ from version to version.

           

          Regards,
          Uwe

          • 2. Re: How to find the page number of textframe in idml zip file??
            Willi Adelberger Most Valuable Participant

            Give the frame a specific unique name without extended characters and search for it with a find text function.