Quantcast
Channel: Adobe Community : Popular Discussions - Adobe FrameMaker
Viewing all articles
Browse latest Browse all 23442

Open an RTF document

$
0
0

After a RTF has been processed by EndNote it is opened in FM and the paragraphs are handled.

It turns out that I do not need to set special Open parameters to specify the filter RTF (which is requested when opening manually). This is the central part of my script:

openParams = GetOpenDefaultParams();  openReturnParams =  new PropVals();   newDoc = Open (fileName, openParams, openReturnParams);   pgf = newDoc.MainFlowInDoc.FirstTextFrameInFlow.FirstPgf;  // get first pgf in flow

All works fine - for me it's a mystery, but a welcome one!

See the whole test script and test-file at my DropBox.


Viewing all articles
Browse latest Browse all 23442

Trending Articles



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