You are here

function rtf::rtf in Bibliography Module 6.2

Same name and namespace in other branches
  1. 6 class_rtf.php \rtf::rtf()
  2. 7.2 modules/rtf/rtf_export.inc \rtf::rtf()

File

modules/rtf/rtf_export.inc, line 28

Class

rtf

Code

function rtf() {
  $this->inch = 1440;
  $this->cm = 567;
  $this->mm = 56.7;
  $this->fonts_array[] = array(
    "name" => "Arial",
    "family" => "swiss",
    "charset" => 0,
  );
  $this->fonts_array[] = array(
    "name" => "Times New Roman",
    "family" => "roman",
    "charset" => 0,
  );
  $this->fonts_array[] = array(
    "name" => "Verdana",
    "family" => "swiss",
    "charset" => 0,
  );
  $this->fonts_array[] = array(
    "name" => "Symbol",
    "family" => "roman",
    "charset" => 2,
  );
  $this
    ->setDefaultFontFace(0);
  $this
    ->setDefaultFontSize(24);
  $this
    ->setPaperSize(5);
  $this
    ->setPaperOrientation(1);
  $this->rtf_version = 1;
  $this->tab_width = 360;
}