Copying numbered lists

  • Hello Julian,
    I have a project that has a main WPRichText with bulleted and numberd (outline) text and There are three or more WPRichTexts beside the main one. I parse through the main one and at certain points I parse the text from the main RichText into the other three RichTexts. This is working great so far however I have found out that with the numbered text the numbering is done by an object on the RichText so when i break up this

    note: ------------------------- is where the parser would break it up

    1. apple
    2. pear
    ------------------------
    3. dog
    4. cat
    ------------------------
    5. cow

    it turns into this

    Parse 1:
    1. apple
    2. pear

    Parse 2:
    1. dog
    2. cat

    Parse 3:
    1. cow


    Is my understanding of how the numbering is done correct? And my main questions is: Is there a way to setwhat number the numbered text starts at so I can set it in the parsed richtexts as well as is there a simple way to get the number a certain numbered line is?
    as in the example 1,2,3,4, or 5.

    Thank you,
    TimK

  • I am on my way to figuring this out. I have found the data member "Number" in the paragraph class. I am using it to set everything and it seems to be working for the majority of cases. I'll post back here if I do have any more questions on this topic.

    Thank you