function rtf::getPageSettings in Bibliography Module 6.2
Same name and namespace in other branches
- 6 class_rtf.php \rtf::getPageSettings()
- 7 modules/rtf/rtf_export.inc \rtf::getPageSettings()
- 7.2 modules/rtf/rtf_export.inc \rtf::getPageSettings()
1 call to rtf::getPageSettings()
- rtf::getDocument in modules/
rtf/ rtf_export.inc
File
- modules/
rtf/ rtf_export.inc, line 263
Class
Code
function getPageSettings() {
if ($this->page_orientation == 1) {
$page_buffer = "\\paperw{$this->page_width}\\paperh{$this->page_height}\n";
}
else {
$page_buffer = "\\paperw{$this->page_height}\\paperh{$this->page_width}\\landscape\n";
}
$page_buffer .= "\\pgncont\\pgndec\\pgnstarts1\\pgnrestart\n";
return $page_buffer;
}