C++
Publisher calls the HrCreateDoc method to specify the creation of a new, empty fixed-
format document.
C++
Publisher calls the HrCreateDoc method at the beginning of the fixed-format export
process to specify the creation of an empty fixed-format document. The wzDocExFile
parameter specifies a name for the output file to which to write the fixed-format
document.
For an add-in implementation, Publisher calls HrCreateDoc with the file name that the
add-in provided in the call to the ExportToFixedFormat method in the Microsoft Office
object model. However, because add-ins typically provide configuration UI to allow the
user to specify an output file name, the add-in could disregard this file name during the
export process.
For Microsoft Office applications that require the add-in to paginate the document,
HrCreateDoc is called twice, once at the start of the pagination-calling sequence, and
again after the add-in has paginated the document. For more information, see the
descriptions for the HrSetPageHeightForPagination method and the HrGetPageBreaks
method.
Publisher calls the HrSetDefaultLcid method to specify the default locale ID (LCID) for
the content to be exported.
C++
HRESULT HrEndStructNode();
HrCreateDoc
HRESULT HrCreateDoc(
    const WCHAR* wzDocExFile
);
HrSetDefaultLcid
HRESULT HrSetDefaultLcid(
    DWORD lcid
);