siad007 / fop
Wrapper class for using fop with a fluend interface.
v1.0.1
2014-04-05 16:38 UTC
This package is auto-updated.
Last update: 2024-10-08 20:06:20 UTC
README
Wrapper class for using fop with a fluend interface.
Example usage:
use siad007\Fop\Command as Fop;
use siad007\Fop\Arguments as Args;
use siad007\Fop\Options as Opts;
$args = new Args();
$args['fo'] = __DIR__ . '/../data/test.fo';
$args['pdf'] = __DIR__ . '/../output/test.pdf'
$opts = new Opts();
$opts->setQuiet(true);
$fop = new Fop($args, $opts);
$fop->generatePdf();