function rtf::setPaperOrientation in Bibliography Module 7.2
Same name and namespace in other branches
- 6.2 modules/rtf/rtf_export.inc \rtf::setPaperOrientation()
- 6 class_rtf.php \rtf::setPaperOrientation()
- 7 modules/rtf/rtf_export.inc \rtf::setPaperOrientation()
1 call to rtf::setPaperOrientation()
- rtf::rtf in modules/
rtf/ rtf_export.inc
File
- modules/
rtf/ rtf_export.inc, line 130
Class
Code
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;
}
}