@@ 787-794 (lines=8) @@ | ||
784 | * |
|
785 | * @return PageSetup |
|
786 | */ |
|
787 | public function setPrintAreaByColumnAndRow($column1, $row1, $column2, $row2, $index = 0, $method = self::SETPRINTRANGE_OVERWRITE) |
|
788 | { |
|
789 | return $this->setPrintArea( |
|
790 | Cell::stringFromColumnIndex($column1) . $row1 . ':' . Cell::stringFromColumnIndex($column2) . $row2, |
|
791 | $index, |
|
792 | $method |
|
793 | ); |
|
794 | } |
|
795 | ||
796 | /** |
|
797 | * Add a new print area to the list of print areas. |
|
@@ 814-821 (lines=8) @@ | ||
811 | * |
|
812 | * @return PageSetup |
|
813 | */ |
|
814 | public function addPrintAreaByColumnAndRow($column1, $row1, $column2, $row2, $index = -1) |
|
815 | { |
|
816 | return $this->setPrintArea( |
|
817 | Cell::stringFromColumnIndex($column1) . $row1 . ':' . Cell::stringFromColumnIndex($column2) . $row2, |
|
818 | $index, |
|
819 | self::SETPRINTRANGE_INSERT |
|
820 | ); |
|
821 | } |
|
822 | ||
823 | /** |
|
824 | * Get first page number. |