views:

129

answers:

0

Hi All,

I am learning indesign, I have a doubt in story splitting... I want to split the story if the same story is used in two different text frames, I am extracting idml file and getting the needed data.

My question is, I have a single story which is used by two text frames (Threaded text), and these two textframes are available in two different spreads. Story.xml contains full story, half of the story is displayed in 1st textframe, next half is displayed in 2nd textframe and the same story ID is referred in both the textframes. Now I want to split this story into two, so I want to know that how much content of the story is added in 1st and 2nd textframe, I think if I find that how many characters or words or lines present in each textframe then it will easy to split the story.

We can determine the word and character count using the following steps in indesign CS4

  1. Place the insertion point in a text frame to view counts for the entire thread of frames (the story), or select text to view counts only for the selected text.
  2. Choose Window > Info to display the Info panel.

Is there any property or attribute in idml (xml files like prefrence.xml or story.xml or spread.xml) to find out the number of characters/words/lines of single textframe.

Can anyone help me to solve this issue. Thanks in advance.