Hello,
I am creating a document using DOM. I want my header to repeat on many pages if the table breaks to the other pages. I have also tried doing this using the header as an actual page header. These techniques both work fine when it generates a document. The problem is when I merge this document to the main one using Document.Load(path, options). The header is gone and the table's header row does not repeat.
Here are the options I am using:
ImportOptions options = new ImportOptions()
{
ImportStyleMode = ImportStyleMode.CopySourceDocumentStyles,
ImportedDocumentDelimiter = ImportedDocumentDelimiter.PageBreak,
ImportedDocumentPageNumbering = ImportedDocumentPageNumbering.ForceContinuation
};
I have replaced CopySourceDocumentSytles with UseTargetDocumentStyles and that does not carry over as well.
Any help will be greatly appreciated.
Thanks