Quantcast
Channel: Adobe Community : All Content - FrameMaker Scripting
Viewing all articles
Browse latest Browse all 888

filter to body pages

$
0
0

I need to filter only bodypage within this iterator below

anyone know an easy way to do this?

thanks

 

 

var doc= app.ActiveDoc;

iterate(doc)

 

function iterate(doc)

{

        var pgf = doc.FirstPgfInDoc;

       while (pgf.ObjectValid())

    {

 

/*

     if(bodypage)   

     {

     //do something

     }

*/

        pgf = pgf.NextPgfInDoc;//NextPgfInFlow

}

 

 

}


Viewing all articles
Browse latest Browse all 888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>