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