7 Replies Latest reply on Jan 2, 2013 7:29 AM by sundar_r

    Bullet Outline

    snegig Level 1

      Hi Scripter.

       

      We have lot's of bullet list in my InDesign cs5.5 files. When we export PDF then show CID fonts in bullet. If we out line bullet in InDesign then solve this problem. Can anybody have script all bullet in indesign outline.

       

      Thanks for advance.

        • 1. Re: Bullet Outline
          sundar_r

          Hi Snegig,

           

          I am a learner, I have created this script. Might be useful. Try this below.

           

          //create outline on character

          var mydoc = app.activeDocument;

          var mytfs=mydoc.stories.everyItem().words.everyItem().getElements( );

           

           

          for (i=0;i<mytfs.length;i++){

              mytf=mytfs[i]

              if (mytf.contents=="•"){

                  mytf.createOutlines(true);

                  }

              }

           

          Sundar

          1 person found this helpful
          • 2. Re: Bullet Outline
            snegig Level 1

            Hi Sundar,

             

            It's work fine in text but not work on the table. I have lot's of bullet in table.

             

            Thank soooo much.

            • 3. Re: Bullet Outline
              sundar_r Level 1

              Snegig,

               

              Try this, be sure this will create outline for all the bullets including the non-CID fonts. If you want to change a particular font, then we have to go in another way.

               

              //create outline on characters

               

              var mydoc = app.activeDocument;

              var mytfs=mydoc.stories.everyItem().words;

               

              for (i=0;i<mytfs.length;i++){

                  mytf=mytfs[i]

                  if (mytf.contents=="•"){

                      mytf.createOutlines(true);

               

               

                  var tabletxts=mydoc.stories.everyItem().tables.everyItem().cells.everyItem().getElements();

                      for (k=0;k<tabletxts.length;k++){

                          tabletxt=tabletxts[k]

                          if (tabletxt.contents=="•"){

                              tabletxt.createOutlines(true);

                              }

                          }

               

               

                      }

                  }

              Thanks

              • 4. Re: Bullet Outline
                snegig Level 1

                Hi Sundar,

                 

                Thanks once again, But it's not worked on the tables bullets.

                • 5. Re: Bullet Outline
                  sundar_r Level 1

                  Thanks for your feedback. Don't know where I'm mistaking. It's working for me in tables and also in running texts.

                  Can you please escalate the error?

                   

                  Thanks

                  • 6. Re: Bullet Outline
                    snegig Level 1

                    Hi Sundar sir,

                     

                    Thanks for your all helps.

                     

                    Kindly see below link:

                     

                    http://forums.adobe.com/thread/1118592?tstart=30

                    • 7. Re: Bullet Outline
                      sundar_r Level 1

                      Thanks much! Useful codes.