Note that the DocExComment_EPSStart record is only informational. The add-in can
ignore this record.
Publisher calls SetDocExporterSite to provide the add-in with a pointer to an
IMsoDocExporterSite interface. The IMsoDocExporterSite interface exposes methods
that enable extended color support.
C++
The pDocExporterSite parameter specifies the interface pointer to the
IMsoDocExporterSite interface.
An application can call the HrSetPageHeightForPagination method to specify the page
height in points.
C++
Some applications maintain the user's document in an unpaginated format. In these
cases, the add-in paginates the document using the page height specified by the
application in the call to HrSetPageHeightForPagination. The dytfPageHeight parameter
specifies the page height in points.
After specifying the page height information, the application passes the add-in the
entire document as a single in-memory EMF file in a call to HrAddPageFromEmf. The
add-in then uses the page-height and EMF file to paginate the document.
The add-in returns the pagination information back to the application in subsequent
calls to the HrGetPageBreaks method.
SetDocExporterSite
void SetDocExporterSite(
    IMsoDocExporterSite* pDocExporterSite
);
HrSetPageHeightForPagination
HRESULT HrSetPageHeightForPagination(
    float dytfPageHeight
);
HrGetPageBreaks