Application.ProjectExport Event |
Occurs when the project is about to be exported.
[VBScript] Public Event ProjectExport( _ wordDocument As Word.Document _ )
[JScript] public event ProjectExport( wordDocument : Word.Document );
If you want to customize the export process, you can attach your function to this event. If you do not override this event handler, a default handler processes this event. The default handler exports the help project.
This example shows the default implementation of ProjectExport
:
function Application::ProjectExport(wordDocument)
{
Console.Message(hpInformation, "Parsing document...");
Project.Filter.ParseDocument(wordDocument);
Console.Message(hpInformation, "Generating output files...");
Project.Filter.ResolveHyperlinks();
Project.Filter.GenerateTopicFiles();
Project.Filter.GenerateProjectFiles();
}
Application Object | Application Members | HelpProducer Namespace