You are here

public function rtf::__construct in Bibliography Module 7

File

modules/rtf/rtf_export.inc, line 40

Class

rtf

Code

public function __construct() {
  $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;
}