Legal Note

Any file you may download is provided 'as is', without any kind of warranty, neither implicit or explicit. Xailer team is not responsible for any possible damage that these files could cause.

On most cases files uploaded are contributions from other users. Xailer does not make any kind of control to those files so use them at your own risk. Is your responsibility to check for malware inside those files.

We recommend to be highly cautious with the download of any executable file.

We request your feedback to delete any file that could violate any copyright. TIA.

[Xailer team]

Home > Utilities

Convertir Rtf a Html.zip
Description Author Date
Sometimes we need to convert RTF text, that is the most decent way we can write our applications, to HTML text for presentation on websites, on mobile phones or just to send an email, but the methods of Xailer for this purpose are based on converters Microsoft and must have an Office installed and install Office libraries that do not come by default, a mess. With this system I propose to make this with 2 small libraries DLL (200Kb total) freeware and a call from our programs to achieve conversion: #pragma BEGINDUMP #include "Windows.h" #include "Xailer.h" typedef int __stdcall (* EXRTF2WEB) (const char* source, const char* dest, int options, const char* title, const char* bgcolor, int dpi); HB_FUNC( RTF2HTML ) // --> Rtf2Html( cFileRTF, cHTML, nOptions, cBackColor, cTitle, nDPI ) -> nResult OJO nDPI es obligatorio y como mínimo 30 Ejemplo Rtf2Html( "RtfFile.Rtf", "HtmlFile.Html", 7, , , 96 ) { HINSTANCE inst; EXRTF2WEB proc; int ret = 0; inst=LoadLibrary( (LPCTSTR)"irun.dll"); if(inst) { proc=(EXRTF2WEB)GetProcAddress(inst,(LPCTSTR)"EXRTF2WEB"); if(proc) ret=(*proc)( hb_parc( 1 ), hb_parc( 2 ), hb_parnl( 3 ), hb_parc( 4 ), hb_parc( 5 ), hb_parnl( 6 ) ); FreeLibrary(inst); } hb_retnl( ret ); } Bingen Ugaldebere
File version Xailer version
1
412.58 KB
File code 
Upload a file Copyright ©2020 Xailer