You are here

function rtf::setPaperOrientation in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 modules/rtf/rtf_export.inc \rtf::setPaperOrientation()
  2. 7 modules/rtf/rtf_export.inc \rtf::setPaperOrientation()
  3. 7.2 modules/rtf/rtf_export.inc \rtf::setPaperOrientation()
1 call to rtf::setPaperOrientation()
rtf::rtf in ./class_rtf.php

File

./class_rtf.php, line 131

Class

rtf

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;
  }
}