Export Without User Interaction

Export without user interaction can be performed very easily using the methods already mentioned.

Example:

If you wish to export HTML without user interaction using the file 'Article.lst' and 'c:\temp' as the destination directory, you should use following code:

//...
LlXSetParameter(hJob, LL_­LLX_­EXTENSIONTYPE_EXPORT, "HTML",
       "Export.File", "export.htm");
LlXSetParameter(hJob, LL_­LLX_­EXTENSIONTYPE_EXPORT, "HTML",
       "Export.Path", "c:\\temp\\");
LlXSetParameter(hJob, LL_­LLX_­EXTENSIONTYPE_EXPORT, "HTML",
       "Export.Quiet","1");
LlPrintWithBoxStart(hJob, LL_­PROJECT_­LIST, "Article.lst",
       LL_­PRINT_­EXPORT, LL_­BOXTYPE_­BRIDGEMETER, hWnd,
       "Exporting to HTML");
LlPrintSetOptionString(hJob, LL_­PRNOPTSTR_­EXPORT, "HTML");
//... normal printing loop ...

That's all! The meaning of the export-specific options can be found in the following chapters.