For God so loved the world, that He gave His only begotten Son, that all who believe in Him should not perish but have everlasting life
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

100 lines
2.8 KiB

  1. # PHPExcel Developer Documentation
  2. ## Credits
  3. Please refer to the internet page [http://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=Credits&referringTitle=Home][22] for up-to-date credits.
  4. ## Valid array keys for style applyFromArray()
  5. The following table lists the valid array keys for PHPExcel_Style applyFromArray() classes. If the "Maps to property"� column maps a key to a setter, the value provided for that key will be applied directly. If the "Maps to property" column maps a key to a getter, the value provided for that key will be applied as another style array.
  6. __PHPExcel_Style__
  7. Array key | Maps to property
  8. -------------|-------------------
  9. fill | getFill()
  10. font | getFont()
  11. borders | getBorders()
  12. alignment | getAlignment()
  13. numberformat | getNumberFormat()
  14. protection | getProtection()
  15. __PHPExcel_Style_Fill__
  16. Array key | Maps to property
  17. -----------|-------------------
  18. type | setFillType()
  19. rotation | setRotation()
  20. startcolor | getStartColor()
  21. endcolor | getEndColor()
  22. color | getStartColor()
  23. __PHPExcel_Style_Font__
  24. Array key | Maps to property
  25. ------------|-------------------
  26. name | setName()
  27. bold | setBold()
  28. italic | setItalic()
  29. underline | setUnderline()
  30. strike | setStrikethrough()
  31. color | getColor()
  32. size | setSize()
  33. superScript | setSuperScript()
  34. subScript | setSubScript()
  35. __PHPExcel_Style_Borders__
  36. Array key | Maps to property
  37. ------------------|-------------------
  38. allborders | getLeft(); getRight(); getTop(); getBottom()
  39. left | getLeft()
  40. right | getRight()
  41. top | getTop()
  42. bottom | getBottom()
  43. diagonal | getDiagonal()
  44. vertical | getVertical()
  45. horizontal | getHorizontal()
  46. diagonaldirection | setDiagonalDirection()
  47. outline | setOutline()
  48. __PHPExcel_Style_Border__
  49. Array key | Maps to property
  50. ----------|-------------------
  51. style | setBorderStyle()
  52. color | getColor()
  53. __PHPExcel_Style_Alignment__
  54. Array key | Maps to property
  55. ------------|-------------------
  56. horizontal | setHorizontal()
  57. vertical | setVertical()
  58. rotation | setTextRotation()
  59. wrap | setWrapText()
  60. shrinkToFit | setShrinkToFit()
  61. indent | setIndent()
  62. __PHPExcel_Style_NumberFormat__
  63. Array key | Maps to property
  64. ----------|-------------------
  65. code | setFormatCode()
  66. __PHPExcel_Style_Protection__
  67. Array key | Maps to property
  68. ----------|-------------------
  69. locked | setLocked()
  70. hidden | setHidden()
  71. [22]: http://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=Credits&referringTitle=Home