transformDocxUsingMSWord

transformDocxUsingMSWord

ADVANCED / PREMIUM TRIAL

Transforms DOCX to other formats with the help of Microsoft Office.

Description
public transformDocxUsingMSWord(string $source, string $target)

This method allows the format conversion of the generated DOCX using Microsoft Word.

This method, of course, requires a copy of Microsoft Word running on the server, so it is restricted to Windows or Mac platforms.

Parameters

source

The path to the DOCX that you want to transform.

target

The path to the destination file. You should use the full Windows path (remember to escape backslashes).

Code samples

Example #1