checkVariant

checkVariant

PREMIUM TRIAL / ADVANCED

Checks if a DOCX uses transitional or strict variant.

Description
public checkVariant (string $source)
Parameters

source

Path to the docx.

Exceptions

Error while trying to open the (base) template as a zip file.

Return values

strict or transitional

Code samples

Example #1