Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Convertion into RTF format failed

New Here ,
Apr 05, 2011 Apr 05, 2011

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(&params, FS_FileType);

params.val.propVal.u.ival = FV_SaveFmtFilter;

i = F_ApiGetPropIndex(&params, FS_SaveFileTypeHint);

params.val.propVal.u.sval = F_StrCopyString("0001ADBIRTF");                                 

saveId = F_ApiSave(docId, "C:\\tmp\\Untitled1.rtf", &params, &returnParams);

F_ApiDeallocatePropVals(&params);

F_ApiDeallocatePropVals(returnParams);

i am using FDK7 for development

any idea ?

484
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 05, 2011 Apr 05, 2011

Vibin, you would probably find more FDK support on the Framers Dev group,

<*> To visit your group on the web, go to:

    http://groups.yahoo.com/group/frame_dev/

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Apr 05, 2011 Apr 05, 2011
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines