public function rtf::setPaperOrientation in Bibliography Module 7
Same name and namespace in other branches
- 6.2 modules/rtf/rtf_export.inc \rtf::setPaperOrientation()
- 6 class_rtf.php \rtf::setPaperOrientation()
- 7.2 modules/rtf/rtf_export.inc \rtf::setPaperOrientation()
1 call to rtf::setPaperOrientation()
- rtf::__construct in modules/
rtf/ rtf_export.inc
File
- modules/
rtf/ rtf_export.inc, line 168
Class
Code
public function setPaperOrientation($orientation = 0) {
// 1 => Portrait
// 2 => Landscape.
switch ($orientation) {
case 1:
default:
$this->page_orientation = 1;
break;
case 2:
$this->page_orientation = 2;
break;
}
}