Append Documents in PHP
Contents
[
Hide
]
Aspose.Words - Append Documents
To append documents using Aspose.Words Java in php, simply invoke the appendDocument() method of Document class and specify the second document to append at end.
Php Code
$doc1 = new Java("com.aspose.words.Document", "data/doc1.doc");
$doc2 = new Java("com.aspose.words.Document", "data/doc2.doc");
$importFormatMode = Java("com.aspose.words.ImportFormatMode);
$doc1->appendDocument(java_values($doc2), importFormatMode->KEEP_SOURCE_FORMATTING);
Download Running Code
Download Append Documents (Aspose.Words) from any of the below mentioned social coding sites: