1 Reply Latest reply on Mar 26, 2013 1:09 AM by SureshRaji

    bullets&Numbering - listType:ListName

    rajnikids Level 1

      Hi Forum,


      I can find bullets and numbering using the below code;


      app.findGrepPreferences.bulletsAndNumberingListType = app.findGrepPreferences.bulletsAndNumberingListType = ListType.numberedList;





      I'm trying to Find : my created New List below the List Type below Bullets and Numbering in find & replace options;



      (app.findGrepPreferences.bulletsAndNumberingListType = app.findGrepPreferences.bulletsAndNumberingListType = ListType.numberedList(here my List name is "List 1");


      Could anybody help on this.


      thanks & regards,


        • 1. Re: bullets&Numbering - listType:ListName



          It is not the right way to define your new list name in code as ListType.numberedList(here my List name is "List 1");


          You have to specify like this,


          newListName = myPara.appliedNumberList.name;                  // Your new list applied on a paragraph;

          app.findGrepPreferences.bulletsAndNumberingListType = ListType.numberedList;

          app.findGrepPreferences.appliedNumberingList.name = newListName;