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

Copy/Paste from Book to Book

$
0
0

Seems I miss something in the documentation of FM7.1.

 

I want to use the clipboard to copy the content from an opened book into another book (basically to temporarily migrate from one EDD/template to another).

 

But F_ApiCopy(file, FF_INTERACTIVE) returns "FE_BadDocId" consistently. I use

     "er.beg.childId  = F_ApiGetId(FV_SessionId, file, FP_HighestLevelElement);

      F_ApiSetElementRange(0, file, FP_ElementSelection, &er);"

to select the root element.

 

For documents (i.e. .fm, not .book and using

     "er.beg.childId  = F_ApiGetId(file, F_ApiGetId(FV_SessionId, file, FP_MainFlowInDoc), FP_HighestLevelElement);

     F_ApiSetElementRange(0, file, FP_ElementSelection, &er);"

) this concept works perfectly, so there must be a difference!

 

Thanks in advance for any pointers.


Viewing all articles
Browse latest Browse all 66580

Trending Articles



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