Xls Writer changes to save print order

This commit is contained in:
MarkBaker 2020-06-30 07:01:51 +02:00
parent 4060cdec7e
commit fbb04c1f82
1 changed files with 5 additions and 4 deletions

View File

@ -1729,11 +1729,12 @@ class Worksheet extends BIFFwriter
$numFtr = $this->phpSheet->getPageMargins()->getFooter(); // Footer Margin
$iCopies = 0x01; // Number of copies
$fLeftToRight = 0x0; // Print over then down
// Order of printing pages
$fLeftToRight = $this->phpSheet->getPageSetup()->getPageOrder() == PageSetup::PAGEORDER_OVER_THEN_DOWN
? 0x0 : 0x1;
// Page orientation
$fLandscape = ($this->phpSheet->getPageSetup()->getOrientation() == PageSetup::ORIENTATION_LANDSCAPE) ?
0x0 : 0x1;
$fLandscape = ($this->phpSheet->getPageSetup()->getOrientation() == PageSetup::ORIENTATION_LANDSCAPE)
? 0x0 : 0x1;
$fNoPls = 0x0; // Setup not read from printer
$fNoColor = 0x0; // Print black and white