enableRepairMode

enableRepairMode

ADVANCED / PREMIUM TRIAL

Enables repair features to fix common issues when working with LibreOffice.

Description
public enableRepairMode ( array $options )
Parameters

options

The possible keys and values of this array are:

key Type Description
lastParagraph bool Remove the last empty paragraph to avoid creating an extra blank page.
lists bool Fix numbering styles when duplicate values or using pStyle.
tables bool Fix table auto widths.
Exceptions

Method not available.

Code samples

Example #1:

Release notes
  • phpdocx 8.0:
    • new method.