ConversionResult
in package
FinalYes
The conversion output and what could not be carried over. The converted document is read from the output only when it is asked for: writing a conversion needs only output(). The output is fixed when the conversion ends; editing document() does not change it.
Table of Contents
Methods
- __construct() : mixed
- document() : Document
- A new document of the target version, read from output() on first use.
- losses() : LossReport
- output() : string
- The bytes of the converted file, ready to be written.
Methods
__construct()
public
__construct(LossReport $losses, string $output[, ReadOptions $read = new ReadOptions() ][, Document|null $document = null ]) : mixed
Parameters
- $losses : LossReport
- $output : string
- $read : ReadOptions = new ReadOptions()
- $document : Document|null = null
document()
A new document of the target version, read from output() on first use.
public
document() : Document
Return values
Documentlosses()
public
losses() : LossReport
Return values
LossReportoutput()
The bytes of the converted file, ready to be written.
public
output() : string