/** * @param PaperOrientationParameter $PaperOrientation * * @return IBridgeInterface */ public function setPaperOrientationParameter(PaperOrientationParameter $PaperOrientation) { return parent::setPaperOrientationParameter($PaperOrientation); }
/** * @param PaperSizeParameter $PaperSize * * @return PhpExcel */ public function setPaperSizeParameter(PaperSizeParameter $PaperSize) { parent::setPaperSizeParameter($PaperSize); $this->Source->getActiveSheet()->getPageSetup()->setPaperSize(constant('\\PHPExcel_Worksheet_PageSetup::PAPERSIZE_' . $this->getPaperSizeParameter())); return $this; }