Copy link to clipboard
Copied
I am developing a FM plugin to convert .fm files into .rtf file format. I am using the following code for conversion. But the conversion is not happening.
docId = F_ApiSimpleOpen("C:\\tmp\\Untitled1.fm", False);
docname = F_ApiGetString(docId, docId, FP_Name);
params = F_ApiGetSaveDefaultParams();
i = F_ApiGetPropIndex(¶ms, FS_FileType);
params.val.propVal.u.ival = FV_SaveFmtFilter;
i = F_ApiGetPropIndex(¶ms, FS_SaveFileTypeHint);
params.val.propVal.u.sval = F_StrCopyString("0001ADBIRTF");
saveId = F_ApiSave(docId, "C:\\tmp\\Untitled1.rtf", ¶ms, &returnParams);
F_ApiDeallocatePropVals(¶ms);
F_ApiDeallocatePropVals(returnParams);
i am using FDK7 for development
any idea ?
Copy link to clipboard
Copied
Vibin, you would probably find more FDK support on the Framers Dev group,
<*> To visit your group on the web, go to:
Copy link to clipboard
Copied
And unless there are circumstances that you know about but didn't share, you may want to simply use the primary plug-in / add on program that pretty much dominates the market, MIF2Go, from omsys.com ... Most Framers who have to export to RTF have settled on MIF2Go because of the quality of output and its flexibility to output to many other formats in addition to RTF.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more