ILITWriter Interface

ILITWriter is the main Litgen.dll interface. The creation of a book is driven here. The four types of content that go into a .lit (publication metadata, CSS stylesheets, text, and images) are accepted by hosts created by ILITWriter.

For more information about the interaction of the Litgen.dll interfaces, see Understanding the Litgen.dll Interface Interactions.

In addition to the methods inherited from IUnknown, the ILITWriter interface exposes the following methods.

Method Description
SetCallback Receives a pointer to a client-implemented callback interface.
Create Creates a new .lit file.
GetPackageHost Returns a parser host to receive the parsed package file.
GetNextCSSHost Returns a CSS host to receive the stylesheet text.
GetNextContentHost Returns a parser host to receive the parsed content file.
GetNextImageHost Returns an image host to receive the raw image file.
Finish Completes the file.
Fail Cleans up internal structures and deletes the output file after a failure during content preparation.

© 2000 Microsoft Corporation. All rights reserved. Terms of use.