/** * Constructs an object with the specified values. * * @throws ezcBasePropertyNotFoundException * if $options contains a property not defined * @throws ezcBaseValueException * if $options contains a property with a value not allowed * @param array(string=>mixed) $options */ public function __construct(array $options = array()) { $this->template = dirname(__FILE__) . '/data/template.fodt'; $this->styler = new ezcDocumentOdtPcssStyler(); $this->lengthMeasure = 'px'; parent::__construct($options); }
/** * Constructs an object with the specified values. * * @throws ezcBasePropertyNotFoundException * if $options contains a property not defined * @throws ezcBaseValueException * if $options contains a property with a value not allowed * @param array(string=>mixed) $options */ public function __construct(array $options = array()) { $this->headerTypes = array('==', '--', '=', '-', '^', '~', '`', '*', ':', '+', '/', '.'); $this->wordWrap = 78; $this->itemListCharacter = '-'; parent::__construct($options); }
/** * Constructs an object with the specified values. * * @throws ezcBasePropertyNotFoundException * if $options contains a property not defined * @throws ezcBaseValueException * if $options contains a property with a value not allowed * @param array(string=>mixed) $options */ public function __construct(array $options = array()) { $this->dublinCoreMetadata = false; $this->formatOutput = false; $this->styleSheets = null; $this->styleSheet = file_get_contents(dirname(__FILE__) . '/data/html_style.css'); $this->headerLevel = 1; parent::__construct($options); }
/** * Constructs an object with the specified values. * * @throws ezcBasePropertyNotFoundException * if $options contains a property not defined * @throws ezcBaseValueException * if $options contains a property with a value not allowed * @param array(string=>mixed) $options */ public function __construct(array $options = array()) { if (!isset($this->properties['xslt'])) { $this->xslt = null; } if (!isset($this->properties['parameters'])) { $this->parameters = array(); } $this->properties['failOnError'] = false; parent::__construct($options); }
/** * Constructs an object with the specified values. * * @throws ezcBasePropertyNotFoundException * if $options contains a property not defined * @throws ezcBaseValueException * if $options contains a property with a value not allowed * @param array(string=>mixed) $options */ public function __construct(array $options = array()) { $this->linkConverter = new ezcDocumentEzXmlDummyLinkConverter(); parent::__construct($options); }
/** * Constructs an object with the specified values. * * @throws ezcBasePropertyNotFoundException * if $options contains a property not defined * @throws ezcBaseValueException * if $options contains a property with a value not allowed * @param array(string=>mixed) $options */ public function __construct(array $options = array()) { $this->wordWrap = 78; parent::__construct($options); }