Quantcast
Channel: Adobe Community: Message List - FrameMaker Scripting
Viewing all articles
Browse latest Browse all 3715

Re: How to insert a new paragraph?

$
0
0

Hi Mark,

 

You need to use the NewSeriesPgf method of the document object. Then create a TextLoc on the new pgf and add text.

 

var newPgf = doc.NewSeriesPgf ( oldPgf );

var TLoc = new TextLoc ( newPgf, 0 );

doc.AddText ( TLoc, "This is a new paragraph" );

 

Good luck

 

Jang


Viewing all articles
Browse latest Browse all 3715

Trending Articles



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