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.