Skip to content
This repository
tree: 6e30aa830f
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

executable file 1077 lines (987 sloc) 26.342 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076
<?php
/*
+---------------------------------------------------------------------------+
| ExcelSheet |
| |
| Reference file for NuSphere PHPEd (and possibly other IDE's) for use with |
| php_excel interface to libxl by Ilia Alshanetsky <ilia@ilia.ws> |
| |
| php_excel "PECL" style module (http://github.com/iliaal/php_excel) |
| libxl library (http://www.libxl.com) |
| |
| Rob Gagnon <rgagnon24@gmail.com> |
+---------------------------------------------------------------------------+
*/
class ExcelSheet {
const PAPER_DEFAULT = 0;
const PAPER_LETTER = 1;
const PAPER_LETTERSMALL = 2;
const PAPER_TABLOID = 3;
const PAPER_LEDGER = 4;
const PAPER_LEGAL = 5;
const PAPER_STATEMENT = 6;
const PAPER_EXECUTIVE = 7;
const PAPER_A3 = 8;
const PAPER_A4 = 9;
const PAPER_A4SMALL = 10;
const PAPER_A5 = 11;
const PAPER_B4 = 12;
const PAPER_B5 = 13;
const PAPER_FOLIO = 14;
const PAPER_QUATRO = 15;
const PAPER_10x14 = 16;
const PAPER_10x17 = 17;
const PAPER_NOTE = 18;
const PAPER_ENVELOPE_9 = 19;
const PAPER_ENVELOPE_10 = 20;
const PAPER_ENVELOPE_11 = 21;
const PAPER_ENVELOPE_12 = 22;
const PAPER_ENVELOPE_14 = 23;
const PAPER_C_SIZE = 24;
const PAPER_D_SIZE = 25;
const PAPER_E_SIZE = 26;
const PAPER_ENVELOPE_DL = 27;
const PAPER_ENVELOPE_C5 = 28;
const PAPER_ENVELOPE_C3 = 29;
const PAPER_ENVELOPE_C4 = 30;
const PAPER_ENVELOPE_C6 = 31;
const PAPER_ENVELOPE_C65 = 32;
const PAPER_ENVELOPE_B4 = 33;
const PAPER_ENVELOPE_B5 = 34;
const PAPER_ENVELOPE_B6 = 35;
const PAPER_ENVELOPE = 36;
const PAPER_ENVELOPE_MONARCH = 37;
const PAPER_US_ENVELOPE = 38;
const PAPER_FANFOLD = 39;
const PAPER_GERMAN_STD_FANFOLD = 40;
const PAPER_GERMAN_LEGAL_FANFOLD = 41;
const PAPER_B4_ISO = 42;
const PAPER_JAPANESE_POSTCARD = 43;
const PAPER_9x11 = 44;
const PAPER_10x11 = 45;
const PAPER_15x11 = 46;
const PAPER_ENVELOPE_INVITE = 47;
const PAPER_US_LETTER_EXTRA = 50;
const PAPER_US_LEGAL_EXTRA = 51;
const PAPER_US_TABLOID_EXTRA = 52;
const PAPER_A4_EXTRA = 53;
const PAPER_LETTER_TRANSVERSE = 54;
const PAPER_A4_TRANSVERSE = 55;
const PAPER_LETTER_EXTRA_TRANSVERSE = 56;
const PAPER_SUPERA = 57;
const PAPER_SUPERB = 58;
const PAPER_US_LETTER_PLUS = 59;
const PAPER_A4_PLUS = 60;
const PAPER_A5_TRANSVERSE = 61;
const PAPER_B5_TRANSVERSE = 62;
const PAPER_A3_EXTRA = 63;
const PAPER_A5_EXTRA = 64;
const PAPER_B5_EXTRA = 65;
const PAPER_A2 = 66;
const PAPER_A3_TRANSVERSE = 67;
const PAPER_A3_EXTRA_TRANSVERSE = 68;
const PAPER_JAPANESE_DOUBLE_POSTCARD = 69;
const PAPER_A6 = 70;
const PAPER_JAPANESE_ENVELOPE_KAKU2 = 71;
const PAPER_JAPANESE_ENVELOPE_KAKU3 = 72;
const PAPER_JAPANESE_ENVELOPE_CHOU3 = 73;
const PAPER_JAPANESE_ENVELOPE_CHOU4 = 74;
const PAPER_LETTER_ROTATED = 75;
const PAPER_A3_ROTATED = 76;
const PAPER_A4_ROTATED = 77;
const PAPER_A5_ROTATED = 78;
const PAPER_B4_ROTATED = 79;
const PAPER_B5_ROTATED = 80;
const PAPER_JAPANESE_POSTCARD_ROTATED = 81;
const PAPER_DOUBLE_JAPANESE_POSTCARD_ROTATED = 82;
const PAPER_A6_ROTATED = 83;
const PAPER_JAPANESE_ENVELOPE_KAKU2_ROTATED = 84;
const PAPER_JAPANESE_ENVELOPE_KAKU3_ROTATED = 85;
const PAPER_JAPANESE_ENVELOPE_CHOU3_ROTATED = 86;
const PAPER_JAPANESE_ENVELOPE_CHOU4_ROTATED = 87;
const PAPER_B6 = 88;
const PAPER_B6_ROTATED = 89;
const PAPER_12x11 = 90;
const PAPER_JAPANESE_ENVELOPE_YOU4 = 91;
const PAPER_JAPANESE_ENVELOPE_YOU4_ROTATED = 92;
const PAPER_PRC16K = 93;
const PAPER_PRC32K = 94;
const PAPER_PRC32K_BIG = 95;
const PAPER_PRC_ENVELOPE1 = 96;
const PAPER_PRC_ENVELOPE2 = 97;
const PAPER_PRC_ENVELOPE3 = 98;
const PAPER_PRC_ENVELOPE4 = 99;
const PAPER_PRC_ENVELOPE5 = 100;
const PAPER_PRC_ENVELOPE6 = 101;
const PAPER_PRC_ENVELOPE7 = 102;
const PAPER_PRC_ENVELOPE8 = 103;
const PAPER_PRC_ENVELOPE9 = 104;
const PAPER_PRC_ENVELOPE10 = 105;
const PAPER_PRC16K_ROTATED = 106;
const PAPER_PRC32K_ROTATED = 107;
const PAPER_PRC32KBIG_ROTATED = 108;
const PAPER_PRC_ENVELOPE1_ROTATED = 109;
const PAPER_PRC_ENVELOPE2_ROTATED = 110;
const PAPER_PRC_ENVELOPE3_ROTATED = 111;
const PAPER_PRC_ENVELOPE4_ROTATED = 112;
const PAPER_PRC_ENVELOPE5_ROTATED = 113;
const PAPER_PRC_ENVELOPE6_ROTATED = 114;
const PAPER_PRC_ENVELOPE7_ROTATED = 115;
const PAPER_PRC_ENVELOPE8_ROTATED = 116;
const PAPER_PRC_ENVELOPE9_ROTATED = 117;
const PAPER_PRC_ENVELOPE10_ROTATED = 118;

const CELLTYPE_EMPTY = 0;
const CELLTYPE_NUMBER = 1;
const CELLTYPE_STRING = 2;
const CELLTYPE_BOOLEAN = 3;
const CELLTYPE_BLANK = 4;
const CELLTYPE_ERROR = 5;

const ERRORTYPE_NULL = 0;
const ERRORTYPE_DIV_0 = 7;
const ERRORTYPE_VALUE = 15;
const ERRORTYPE_REF = 23;
const ERRORTYPE_NAME = 29;
const ERRORTYPE_NUM = 36;
const ERRORTYPE_NA = 42;

/**
* Insert a picture into a cell with given dimensions
*
* @see ExcelBook::addPictureFromString()
* @see ExcelBook::addPictureFromFile()
* @see ExcelSheet::addPictureScaled()
* @param int $row 0-based row number
* @param int $column 0-based column number
* @param int $picture_id Value returned by ExcelBook::addPictureFrom*() methods
* @param int $width
* @param int $height
* @return void
*/
public function addPictureDim($row, $column, $picture_id, $width, $height) {
} // addPictureDim

/**
* Insert a picture into a cell with a set scale
*
* @see ExcelBook::addPictureFromString()
* @see ExcelBook::addPictureFromFile()
* @see ExcelSheet::addPictureDim()
* @param int $row 0-based row number
* @param int $column 0-based column number
* @param int $picture_id Value returned by ExcelBook::addPictureFrom*() methods
* @param float $scale
* @return void
*/
public function addPictureScaled($row, $column, $picture_id, $scale) {
} // addPictureScaled

/**
* Get the cell format
*
* @param int $row 0-based row number
* @param int $column 0-based column number
* @return ExcelFormat
*/
public function cellFormat($row, $column) {
} // cellFormat

/**
* Get the cell type
*
* @param int $row 0-based row number
* @param int $column 0-based column number
* @return int One of ExcelSheet:CELLTYPE_* constants
*/
public function cellType($row, $column) {
} // cellType

/**
* Clear cells in the specified area
*
* @param int $row_start 0-based row number
* @param int $row_end 0-based row number
* @param int $column_start 0-based column number
* @param int $column_end 0-based column number
* @return void
*/
public function clear() {
} // clear

/**
* Clears the print area
*
* @return bool
*/
public function clearPrintArea() {
} // clearPrintArea

/**
* Clears repeated rows and columns on each page
*
* @see ExcelSheet::setPrintRepeatRows()
* @see ExcelSheet::setPrintRepeatCols()
* @return bool
*/
public function clearPrintRepeats() {
} // clearPrintRepeats

/**
* Returns the cell width
*
* @see ExcelSheet::rowHeight()
* @see ExcelSheet::setColWidth()
* @see ExcelSheet::setRowHeight()
* @param int $column 0-based column number
* @return float
*/
public function colWidth($column) {
} // colWidth

/**
* Copy a cell from one location to another
*
* @param int $row_from 0-based row number
* @param int $column_from 0-based column number
* @param int $row_to 0-based row number
* @param int $column_to 0-based column number
* @return void
*/
public function copy($row_from, $column_from, $row_to, $column_to) {
} // copy

/**
* Delete a named range
*
* @see ExcelSheet::setNamedRange()
* @param string $name
* @return bool
*/
public function delNamedRange($name) {
} // delNamedRange

/**
* Delete cell merge
*
* @param int $row 0-based row number
* @param int $column 0-based column number
* @return bool
*/
public function deleteMerge($row, $column) {
} // deleteMerge

/**
* Returns whether the gridlines are displayed
*
* @see ExcelSheet::setDisplayGridlines()
* @return bool
*/
public function displayGridlines() {
} // displayGridlines

/**
* Returns the 0-based first column in a sheet that contains a used cell
*
* @see ExcelSheet::firstRow()
* @see ExcelSheet::lastRow()
* @see ExcelSheet::lastCol()
* @return int
*/
public function firstCol() {
} // firstCol

/**
* Returns the 0-based first row in a sheet that contains a used cell
*
* @see ExcelSheet::lastRow()
* @see ExcelSheet::firstCol()
* @see ExcelSheet::lastCol()
* @return int
*/
public function firstRow() {
} // firstRow

/**
* Returns the footer text of the sheet when printed
*
* @see ExcelSheet::header()
* @see ExcelSheet::setFooter()
* @see ExcelSheet::setHeader()
* @return string
*/
public function footer() {
} // footer

/**
* Returns the footer margin (in inches)
*
* @see ExcelSheet::setFooter()
* @see ExcelSheet::headerMargin()
* @return float
*/
public function footerMargin() {
} // footerMargin

/**
* Returns whether grouping rows summary is below, or above
*
* @see ExcelSheet::setGroupSummaryBelow()
* @see ExcelSheet::getGroupSummaryRight()
* @see ExcelSheet::setGroupSummaryRight()
* @return bool true=below, false=above
*/
public function getGroupSummaryBelow() {
} // getGroupSummaryBelow

/**
* Returns whether grouping columns summary is right, or left
*
* @see ExcelSheet::getGroupSummaryBelow()
* @see ExcelSheet::setGroupSummaryBelow()
* @see ExcelSheet::setGroupSummaryRight()
* @return bool true=right, false=left
*/
public function getGroupSummaryRight() {
} // getGroupSummaryRight

/**
* Get cell merge range
*
* @param int $row 0-based row number
* @param int $column 0-based column number
* @return array Four integers as keys "row_first", "row_last", "col_first", and "col_last"
*/
public function getMerge($row, $column) {
} // getMerge

/**
* Group columns from $column_start to $column_end
*
* @param int $column_start 0-based column number
* @param int $column_end 0-based column number
* @param bool $collapse (optional, default = false)
* @return bool
*/
public function groupCols($column_start, $column_end, $collapse = false) {
} // groupCols

/**
* Group rows from $row_start to $row_end
*
* @param int $row_start 0-based row number
* @param int $row_end 0-based row number
* @param bool $collapse (optional, default = false)
* @return bool
*/
public function groupRows($row_start, $row_end, $collapse = false) {
} // groupRows

/**
* Returns whether the sheet is centered horizontally when printed
*
* @see ExcelSheet::vcenter()
* @see ExcelSheet::setHCenter()
* @see ExcelSheet::setVCenter()
* @return bool
*/
public function hcenter() {
} // hcenter

/**
* Returns the header text of the sheet when printed
*
* @see ExcelSheet::setHeader()
* @see ExcelSheet::footer()
* @see ExcelSheet::setFooter()
* @return string
*/
public function header() {
} // header

/**
* Hides/unhides the sheet
*
* @param bool $hide
* @return bool
*/
public function hidden($hide) {
} // hidden

/**
* Returns whether sheet is hidden
*
* @see ExcelSheet::hidden()
* @return bool
*/
public function isHidden()
} //isHidden

/**
* Returns the header margin (in inches)
*
* @see ExcelSheet::footerMargin()
* @see ExcelSheet::setHeader()
* @return float
*/
public function headerMargin() {
} // headerMargin

/**
* Set/Remove horizontal page break
*
* @param int $row 0-based row number
* @param bool $break
* @return bool
*/
public function horPageBreak($row, $break) {
} // horPageBreak

/**
* Insert columns from column_start to column_end
*
* @param int $column_start 0-based column number
* @param int $column_end 0-based column number
* @return bool
*/
public function insertCol($column_start, $column_end) {
} // insertCol

/**
* Insert rows from row_start to row_end
*
* @param int $row_start 0-based row number
* @param int $row_end 0-based row number
* @return bool
*/
public function insertRow($row_start, $row_end) {
} // insertRow

/**
* Determine if a cell contains a date
*
* @param int $row 0-based row number
* @param int $column 0-based column number
* @return bool
*/
public function isDate($row, $column) {
} // isDate

/**
* Determine if a cell contains a formula
*
* @param int $row 0-based row number
* @param int $column 0-based column number
* @return bool
*/
public function isFormula($row, $column) {
} // isFormula

/**
* Returns the page orientation mode
*
* @see ExcelSheet::setLandscape()
* @return bool true for landscape, false for portrait
*/
public function landscape() {
} // landscape

/**
* Returns the 0-based last column in a sheet that contains a used cell
*
* @see ExcelSheet::firstRow()
* @see ExcelSheet::lastRow()
* @see ExcelSheet::firstCol()
* @return int
*/
public function lastCol() {
} // lastCol

/**
* Returns the 0-based last row in a sheet that contains a used cell
*
* @see ExcelSheet::firstRow()
* @see ExcelSheet::firstCol()
* @see ExcelSheet::lastCol()
* @return int
*/
public function lastRow() {
} // lastRow

/**
* Returns the bottom margin of the sheet (in inches)
*
* @see ExcelSheet::marginTop()
* @see ExcelSheet::marginRight()
* @see ExcelSheet::marginLeft()
* @see ExcelSheet::setMarginBottom()
* @return float
*/
public function marginBottom() {
} // marginBottom

/**
* Returns the left margin of the sheet (in inches)
*
* @see ExcelSheet::marginTop()
* @see ExcelSheet::marginRight()
* @see ExcelSheet::marginBottom()
* @see ExcelSheet::setMarginLeft()
* @return float
*/
public function marginLeft() {
} // marginLeft

/**
* Returns the right margin of the sheet (in inches)
*
* @see ExcelSheet::marginTop()
* @see ExcelSheet::marginLeft()
* @see ExcelSheet::marginBottom()
* @see ExcelSheet::setMarginRight()
* @return float
*/
public function marginRight() {
} // marginRight

/**
* Returns the top margin of the sheet (in inches)
*
* @see ExcelSheet::marginRight()
* @see ExcelSheet::marginLeft()
* @see ExcelSheet::marginBottom()
* @see ExcelSheet::setMarginTop()
* @return float
*/
public function marginTop() {
} // marginTop

/**
* Returns the name of the worksheet
*
* @see ExcelSheet::setName()
* @return string
*/
public function name() {
} // name

/**
* Returns the paper size
*
* @see ExcelSheet::setPaper()
* @return int One of ExcelSheet::PAPER_* constants
*/
public function paper() {
} // paper

/**
* Returns whether the gridlines are printed
*
* @see ExcelSheet::setPrintGridlines()
* @return bool
*/
public function printGridlines() {
} // printGridlines

/**
* Returns whether the row and column headers are printed
*
* @see ExcelSheet::setPrintHeaders()
* @return bool
*/
public function printHeaders() {
} // printHeaders

/**
* Returns whether the sheet is protected
*
* @see ExcelSheet::setProtect()
* @return bool
*/
public function protect() {
} // protect

/**
* Read data from a specific cell
*
* @param int $row 0-based row number
* @param int $column 0-based column number
* @param ExcelFormat $format (optional, default=null)
* @return
*/
public function read($row, $column, $format = null) {
} // read

/**
* Read an entire column worth of data
*
* @param int $column 0-based column number
* @param int $row_start (optional, default=0)
* @param int $row_end (optional, default=null)
* @return array or false if invalid row/column positions
*/
public function readCol($column, $row_start = 0, $row_end = null) {
} // readCol

/**
* Read comment from a cell
*
* @param int $row 0-based row number
* @param int $column 0-based column number
* @return string
*/
public function readComment($row, $column) {
} // readComment

/**
* Read an entire row worth of data
*
* @param int $row 0-based row number
* @param int $column_start (optional, default=0)
* @param int $column_end (optional, default=null)
* @return array or false if invalid row/column positions
*/
public function readRow($row, $column_start = 0, $column_end = null) {
} // readRow

/**
* Remove columns from column_start to column_end
*
* @param int $column_start 0-based column number
* @param int $column_end 0-based column number
* @return bool
*/
public function removeCol($column_start, $column_end) {
} // removeCol

/**
* Remove rows from row_start to row_end
*
* @param int $row_start 0-based row number
* @param int $row_end 0-based row number
* @return bool
*/
public function removeRow($row_start, $row_end) {
} // removeRow

/**
* Returns the row height
*
* @see ExcelSheet::colWidth()
* @see ExcelSheet::setColWidth()
* @see ExcelSheet::setRowHeight()
* @param int $row 0-based row number
* @return float
*/
public function rowHeight($row) {
} // rowHeight

/**
* Set cell format
*
* @param int $row 0-based row number
* @param int $column 0-based column number
* @param ExcelFormat $format
* @return void
*/
public function setCellFormat($row, $column, $format) {
} // setCellFormat

/**
* Set the width of cells in a column
*
* @see ExcelSheet::colWidth()
* @see ExcelSheet::rowHeight()
* @see ExcelSheet::setRowHeight()
* @param int $column_start 0-based column number
* @param int $column_end 0-based column number
* @param float $width
* @param bool $hidden (optional, default=false)
* @param ExcelFormat $format (optional, default=null)
* @return
*/
public function setColWidth($column_start, $column_end, $width, $hidden = false, $format = null) {
} // setColWidth

/**
* Sets gridlines for displaying
*
* @see ExcelSheet::displayGridlines()
* @param bool $value
* @return void
*/
public function setDisplayGridlines($value) {
} // setDisplayGridlines

/**
* Sets the footer text of the sheet when printed
*
* @see ExcelSheet::footer()
* @see ExcelSheet::header()
* @see ExcelSheet::setHeader()
* @param string $footer
* @param float $margin
* @return bool
*/
public function setFooter($footer, $margin) {
} // setFooter

/**
* Sets a flag of grouping rows summary
*
* @see ExcelSheet::getGroupSummaryBelow()
* @see ExcelSheet::getGroupSummaryRight()
* @see ExcelSheet::setGroupSummaryRight()
* @param bool $direction true=below, false=above
* @return bool
*/
public function setGroupSummaryBelow($direction) {
} // setGroupSummaryBelow

/**
* Sets a flag of grouping columns summary
*
* @see ExcelSheet::getGroupSummaryBelow()
* @see ExcelSheet::setGroupSummaryBelow()
* @see ExcelSheet::getGroupSummaryRight()
* @param bool $direction true=right, false=left
* @return bool
*/
public function setGroupSummaryRight($direction) {
} // setGroupSummaryRight

/**
* Sets a flag that the shhet is centered horizontally when printed
*
* @see ExcelSheet::setVCenter()
* @param bool $value
* @return void
*/
public function setHCenter($value) {
} // setHCenter

/**
* Set the header text of the sheet when printed
*
* @see ExcelSheet::setFooter()
* @see ExcelSheet::header()
* @see ExcelSheet::footer()
* @param string $header
* @param float $margin
* @return bool
*/
public function setHeader($header, $margin) {
} // setHeader

/**
* Sets landscape, or portrait mode for printing
*
* @see ExcelSheet::landscape()
* @param bool $value true for landscape, false for portrait
* @return void
*/
public function setLandscape($value) {
} // setLandscape

/**
* Set the bottom margin of the sheet (in inches)
*
* @see ExcelSheet::setMargingTop()
* @see ExcelSheet::setMargingLeft()
* @see ExcelSheet::setMargingRight()
* @param float $margin
* @return void
*/
public function setMarginBottom($margin) {
} // setMarginBottom

/**
* Set the left margin of the sheet (in inches)
*
* @see ExcelSheet::setMargingTop()
* @see ExcelSheet::setMargingRight()
* @see ExcelSheet::setMargingBottom()
* @param float $margin
* @return void
*/
public function setMarginLeft($margin) {
} // setMarginLeft

/**
* Set the right margin of the sheet (in inches)
*
* @see ExcelSheet::setMargingTop()
* @see ExcelSheet::setMargingLeft()
* @see ExcelSheet::setMargingBottom()
* @param float $margin
* @return void
*/
public function setMarginRight($margin) {
} // setMarginRight

/**
* Set the top margin of the sheet (in inches)
*
* @see ExcelSheet::setMargingLeft()
* @see ExcelSheet::setMargingRight()
* @see ExcelSheet::setMargingBottom()
* @param float $margin
* @return void
*/
public function setMarginTop($margin) {
} // setMarginTop

/**
* Set cell merge range
*
* @param int $row_start 0-based row number
* @param int $row_end 0-based row number
* @param int $column_start 0-based column number
* @param int $column_end 0-based column number
* @return bool
*/
public function setMerge($row_start, $row_end, $column_start, $column_end) {
} // setMerge

/**
* Sets the name of the worksheet
*
* @see ExcelSheet::name()
* @param string $name
* @return void
*/
public function setName($name) {
} // setName

/**
* Create a named range
*
* @see ExcelSheet::delNamedRange()
* @param string $name
* @param int $row_from 0-based row number
* @param int $column_from 0-based column number
* @param int $row_to 0-based row number
* @param int $column_to 0-based column number
* @return bool
*/
public function setNamedRange($name, $row_from, $column_from, $row_to, $column_to) {
} // setNamedRange

/**
* Sets the paper size
*
* @see ExcelSheet::paper()
* @param int $paper One of ExcelSheet::PAPER_* constants
* @return void
*/
public function setPaper($paper) {
} // setPaper

/**
* Sets gridlines for printing
*
* @see ExcelSheet::printGridlines()
* @param bool $value
* @return void
*/
public function setPrintGridlines($value) {
} // setPrintGridlines

/**
* Sets a flag to indicate row and column headers should be printed
*
* @see ExcelSheet::printHeaders()
* @param bool $value
* @return void
*/
public function setPrintHeaders($value) {
} // setPrintHeaders

/**
* Sets repeated columns on each page from column_start to column_end
*
* @see ExcelSheet::setPrintRepeatRows()
* @see ExcelSheet::clearPrintRepeats()
* @param int $column_start 0-based column number
* @param int $column_end 0-based column number
* @return bool
*/
public function setPrintRepeatCols($column_start, $column_end) {
} // setPrintRepeatCols

/**
* Sets repeated rows on each page from row_start to row_end
*
* @see ExcelSheet::setPrintRepeatCols()
* @see ExcelSheet::clearPrintRepeats()
* @param int $row_start 0-based row number
* @param int $row_end 0-based row number
* @return bool
*/
public function setPrintRepeatRows($row_start, $row_end) {
} // setPrintRepeatRows

/**
* Protects or unprotects the worksheet
*
* @see ExcelSheet::protect()
* @param bool $value
* @return void
*/
public function setProtect($value) {
} // setProtect

/**
* Set the height of cells in a row
*
* @see ExcelSheet::rowHeight()
* @see ExcelSheet::colWidth()
* @see ExcelSheet::setColWidth()
* @param int $row 0-based row number
* @param float $height
* @param ExcelFormat $format (optional, default=null)
* @param bool $hidden (optional, default=false)
* @return
*/
public function setRowHeight($row, $height, $format = null, $hidden = false) {
} // setRowHeight

/**
* Sets a flag that the sheet is centered vertically when printed
*
* @see ExcelSheet::setHCenter()
* @param bool $value
* @return void
*/
public function setVCenter($value) {
} // setVCenter

/**
* Sets the zoom level of the current view. 100 is the usual view
*
* @param int $value
* @return void
*/
public function setZoom($value) {
} // setZoom

/**
* Sets the scaling factor for printing (as a percentage)
*
* @param int $value
* @return void
*/
public function setZoomPrint($value) {
} // setZoomPrint

/**
* Split sheet at indicated position
*
* @param int $row 0-based row number
* @param int $column 0-based column number
* @return void
*/
public function splitSheet($row, $column) {
} // splitSheet

/**
* Returns whether the sheet is centered vertically when printed
*
* @see ExcelSheet::hcenter()
* @see ExcelSheet::setVCenter()
* @see ExcelSheet::setHCenter()
* @return bool
*/
public function vcenter() {
} // vcenter

/**
* Set/Remove vertical page break
*
* @param int $column 0-based column number
* @param bool $break
* @return bool
*/
public function verPageBreak($column, $break) {
} // verPageBreak

/**
* Write data into a cell
*
* @param int $row 0-based row number
* @param int $column 0-based column number
* @param mixed $data
* @param ExcelFormat $format (optional, default=null)
* @param int $data_type (optional, default=-1) One of ExcelFormat::AS_* constants
* @return bool
*/
public function write($row, $column, $data, $format = null, $data_type = -1) {
} // write

/**
* Write an array of values into a column
*
* @param int $column 0-based column number
* @param array $data
* @param int $row_start (optional, default=0)
* @param ExcelFormat $format (optional, default=null)
* @return bool
*/
public function writeCol($column, $data, $row_start = 0, $format = null) {
} // writeCol

/**
* Write comment to a cell
*
* @param int $row 0-based row number
* @param int $column 0-based column number
* @param string $comment
* @param string $author
* @param int $width
* @param int $height
* @return
*/
public function writeComment($row, $column, $comment, $author, $width, $height) {
} // writeComment

/**
* Write an array of values into a row
*
* @param int $row 0-based row number
* @param array $data
* @param int $column_start (optional, default=0)
* @param ExcelFormat $format (optional, default=null)
* @return bool
*/
public function writeRow($row, $data, $column_start = 0, $format = null) {
} // writeRow

/**
* Returns the zoom level of the current view as a percentage
*
* @return int
*/
public function zoom() {
} // zoom

/**
* Returns the scaling factor for printing as a percentage
*
* @return int
*/
public function zoomPrint() {
} // zoomPrint

} // end ExcelSheet

Something went wrong with that request. Please try again.