您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

615 行
37 KiB

  1. <!DOCTYPE html><html lang="en">
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  4. <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
  5. <meta charset="utf-8">
  6. <title>PHPExcel classes » \PHPExcel_Style</title>
  7. <meta name="author" content="Mike van Riel">
  8. <meta name="description" content="">
  9. <link href="../css/template.css" rel="stylesheet" media="all">
  10. <script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
  11. <link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
  12. <link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
  13. <link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
  14. </head>
  15. <body>
  16. <div class="navbar navbar-fixed-top">
  17. <div class="navbar-inner"><div class="container">
  18. <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">PHPExcel classes</a><div class="nav-collapse"><ul class="nav">
  19. <li class="dropdown">
  20. <a href="#api" class="dropdown-toggle" data-toggle="dropdown">
  21. API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
  22. <li><a>Packages</a></li>
  23. <li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
  24. <li><a href="../packages/JAMA.html"><i class="icon-folder-open"></i> JAMA</a></li>
  25. <li><a href="../packages/JAMA%0D%0ACholesky%20decomposition%20class%0D%0AFor%20a%20symmetric,%20positive%20definite%20matrix%20A,%20the%20Cholesky%20decomposition%0D%0Ais%20an%20lower%20triangular%20matrix%20L%20so%20that%20A%20=%20L*L'.html"><i class="icon-folder-open"></i> JAMA
  26. Cholesky decomposition class
  27. For a symmetric, positive definite matrix A, the Cholesky decomposition
  28. is an lower triangular matrix L so that A = L*L'</a></li>
  29. <li><a href="../packages/JAMA%0D%0AClass%20to%20obtain%20eigenvalues%20and%20eigenvectors%20of%20a%20real%20matrix.html"><i class="icon-folder-open"></i> JAMA
  30. Class to obtain eigenvalues and eigenvectors of a real matrix</a></li>
  31. <li><a href="../packages/JAMA%0D%0AError%20handling.html"><i class="icon-folder-open"></i> JAMA
  32. Error handling</a></li>
  33. <li><a href="../packages/JAMA%0D%0AFor%20an%20m-by-n%20matrix%20A%20with%20m%20&gt;=%20n,%20the%20LU%20decomposition%20is%20an%20m-by-n%0D%0Aunit%20lower%20triangular%20matrix%20L,%20an%20n-by-n%20upper%20triangular%20matrix%20U,%0D%0Aand%20a%20permutation%20vector%20piv%20of%20length%20m%20so%20that%20A(piv,:)%20=%20L*U.html"><i class="icon-folder-open"></i> JAMA
  34. For an m-by-n matrix A with m &gt;= n, the LU decomposition is an m-by-n
  35. unit lower triangular matrix L, an n-by-n upper triangular matrix U,
  36. and a permutation vector piv of length m so that A(piv,:) = L*U</a></li>
  37. <li><a href="../packages/JAMA%0D%0AFor%20an%20m-by-n%20matrix%20A%20with%20m%20&gt;=%20n,%20the%20QR%20decomposition%20is%20an%20m-by-n%0D%0Aorthogonal%20matrix%20Q%20and%20an%20n-by-n%20upper%20triangular%20matrix%20R%20so%20that%0D%0AA%20=%20Q*R.html"><i class="icon-folder-open"></i> JAMA
  38. For an m-by-n matrix A with m &gt;= n, the QR decomposition is an m-by-n
  39. orthogonal matrix Q and an n-by-n upper triangular matrix R so that
  40. A = Q*R</a></li>
  41. <li><a href="../packages/JAMA%0D%0AFor%20an%20m-by-n%20matrix%20A%20with%20m%20&gt;=%20n,%20the%20singular%20value%20decomposition%20is%0D%0Aan%20m-by-n%20orthogonal%20matrix%20U,%20an%20n-by-n%20diagonal%20matrix%20S,%20and%0D%0Aan%20n-by-n%20orthogonal%20matrix%20V%20so%20that%20A%20=%20U*S*V'.html"><i class="icon-folder-open"></i> JAMA
  42. For an m-by-n matrix A with m &gt;= n, the singular value decomposition is
  43. an m-by-n orthogonal matrix U, an n-by-n diagonal matrix S, and
  44. an n-by-n orthogonal matrix V so that A = U*S*V'</a></li>
  45. <li><a href="../packages/JAMA%0D%0APythagorean%20Theorem:%0D%0Aa%20=%203%0D%0Ab%20=%204%0D%0Ar%20=%20sqrt(square(a)%20+%20square(b))%0D%0Ar%20=%205%0D%0Ar%20=%20sqrt(a%5E2%20+%20b%5E2)%20without%20under.overflow.html"><i class="icon-folder-open"></i> JAMA
  46. Pythagorean Theorem:
  47. a = 3
  48. b = 4
  49. r = sqrt(square(a) + square(b))
  50. r = 5
  51. r = sqrt(a^2 + b^2) without under/overflow</a></li>
  52. <li><a href="../packages/PHPExcel.html"><i class="icon-folder-open"></i> PHPExcel</a></li>
  53. </ul>
  54. </li>
  55. <li class="dropdown" id="charts-menu">
  56. <a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
  57. Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
  58. </li>
  59. <li class="dropdown" id="reports-menu">
  60. <a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
  61. Reports <b class="caret"></b></a><ul class="dropdown-menu">
  62. <li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
  63. <span class="label label-info">551</span></a></li>
  64. <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
  65. <ul>
  66. <li>todo 
  67. <span class="label label-info">19</span>
  68. </li>
  69. <li>fixme 
  70. <span class="label label-info">10</span>
  71. </li>
  72. </ul></a></li>
  73. <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
  74. <span class="label label-info">12</span></a></li>
  75. </ul>
  76. </li>
  77. </ul></div>
  78. </div></div>
  79. <div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
  80. </div>
  81. <div id="___" class="container">
  82. <noscript><div class="alert alert-warning">
  83. Javascript is disabled; several features are only available
  84. if Javascript is enabled.
  85. </div></noscript>
  86. <div class="row">
  87. <div class="span4">
  88. <span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
  89. <button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
  90. </div>
  91. <ul class="side-nav nav nav-list">
  92. <li class="nav-header">
  93. <i class="icon-custom icon-method"></i> Methods
  94. <ul>
  95. <li class="method public inherited"><a href="#method___clone" title="__clone :: Implement PHP __clone to create a deep clone, not just a shallow copy."><span class="description">Implement PHP __clone to create a deep clone, not just a shallow copy.</span><pre>__clone()</pre></a></li>
  96. <li class="method public "><a href="#method___construct" title="__construct :: Create a new PHPExcel_Style"><span class="description">Create a new PHPExcel_Style</span><pre>__construct()</pre></a></li>
  97. <li class="method public "><a href="#method_applyFromArray" title="applyFromArray :: Apply styles from array"><span class="description">Apply styles from array</span><pre>applyFromArray()</pre></a></li>
  98. <li class="method public inherited"><a href="#method_bindParent" title="bindParent :: Bind parent."><span class="description">Bind parent.</span><pre>bindParent()</pre></a></li>
  99. <li class="method public inherited"><a href="#method_getActiveCell" title="getActiveCell :: Get the currently active cell coordinate in currently active sheet."><span class="description">Get the currently active cell coordinate in currently active sheet.</span><pre>getActiveCell()</pre></a></li>
  100. <li class="method public inherited"><a href="#method_getActiveSheet" title="getActiveSheet :: Get the currently active sheet."><span class="description">Get the currently active sheet.</span><pre>getActiveSheet()</pre></a></li>
  101. <li class="method public "><a href="#method_getAlignment" title="getAlignment :: Get Alignment"><span class="description">Get Alignment</span><pre>getAlignment()</pre></a></li>
  102. <li class="method public "><a href="#method_getBorders" title="getBorders :: Get Borders"><span class="description">Get Borders</span><pre>getBorders()</pre></a></li>
  103. <li class="method public "><a href="#method_getConditionalStyles" title="getConditionalStyles :: Get Conditional Styles."><span class="description">Get Conditional Styles.</span><pre>getConditionalStyles()</pre></a></li>
  104. <li class="method public "><a href="#method_getFill" title="getFill :: Get Fill"><span class="description">Get Fill</span><pre>getFill()</pre></a></li>
  105. <li class="method public "><a href="#method_getFont" title="getFont :: Get Font"><span class="description">Get Font</span><pre>getFont()</pre></a></li>
  106. <li class="method public "><a href="#method_getHashCode" title="getHashCode :: Get hash code"><span class="description">Get hash code</span><pre>getHashCode()</pre></a></li>
  107. <li class="method public "><a href="#method_getIndex" title="getIndex :: Get own index in style collection"><span class="description">Get own index in style collection</span><pre>getIndex()</pre></a></li>
  108. <li class="method public inherited"><a href="#method_getIsSupervisor" title="getIsSupervisor :: Is this a supervisor or a cell style component?"><span class="description">Is this a supervisor or a cell style component?</span><pre>getIsSupervisor()</pre></a></li>
  109. <li class="method public "><a href="#method_getNumberFormat" title="getNumberFormat :: Get Number Format"><span class="description">Get Number Format</span><pre>getNumberFormat()</pre></a></li>
  110. <li class="method public "><a href="#method_getParent" title="getParent :: Get parent."><span class="description">Get parent.</span><pre>getParent()</pre></a></li>
  111. <li class="method public "><a href="#method_getProtection" title="getProtection :: Get Protection"><span class="description">Get Protection</span><pre>getProtection()</pre></a></li>
  112. <li class="method public "><a href="#method_getQuotePrefix" title="getQuotePrefix :: Get quote prefix"><span class="description">Get quote prefix</span><pre>getQuotePrefix()</pre></a></li>
  113. <li class="method public inherited"><a href="#method_getSelectedCells" title="getSelectedCells :: Get the currently active cell coordinate in currently active sheet."><span class="description">Get the currently active cell coordinate in currently active sheet.</span><pre>getSelectedCells()</pre></a></li>
  114. <li class="method public "><a href="#method_getSharedComponent" title="getSharedComponent :: Get the shared style component for the currently active cell in currently active sheet."><span class="description">Get the shared style component for the currently active cell in currently active sheet.</span><pre>getSharedComponent()</pre></a></li>
  115. <li class="method public "><a href="#method_getStyleArray" title="getStyleArray :: Build style array from subcomponents"><span class="description">Build style array from subcomponents</span><pre>getStyleArray()</pre></a></li>
  116. <li class="method public "><a href="#method_setConditionalStyles" title="setConditionalStyles :: Set Conditional Styles."><span class="description">Set Conditional Styles.</span><pre>setConditionalStyles()</pre></a></li>
  117. <li class="method public "><a href="#method_setFont" title="setFont :: Set font"><span class="description">Set font</span><pre>setFont()</pre></a></li>
  118. <li class="method public "><a href="#method_setIndex" title="setIndex :: Set own index in style collection"><span class="description">Set own index in style collection</span><pre>setIndex()</pre></a></li>
  119. <li class="method public "><a href="#method_setQuotePrefix" title="setQuotePrefix :: Set quote prefix"><span class="description">Set quote prefix</span><pre>setQuotePrefix()</pre></a></li>
  120. </ul>
  121. </li>
  122. <li class="nav-header">
  123. <i class="icon-custom icon-property"></i> Properties
  124. <ul></ul>
  125. </li>
  126. <li class="nav-header protected">» Protected
  127. <ul>
  128. <li class="property protected "><a href="#property__alignment" title="$_alignment :: Alignment"><span class="description"></span><pre>$_alignment</pre></a></li>
  129. <li class="property protected "><a href="#property__borders" title="$_borders :: Borders"><span class="description"></span><pre>$_borders</pre></a></li>
  130. <li class="property protected "><a href="#property__conditionalStyles" title="$_conditionalStyles :: Conditional styles"><span class="description"></span><pre>$_conditionalStyles</pre></a></li>
  131. <li class="property protected "><a href="#property__fill" title="$_fill :: Fill"><span class="description"></span><pre>$_fill</pre></a></li>
  132. <li class="property protected "><a href="#property__font" title="$_font :: Font"><span class="description"></span><pre>$_font</pre></a></li>
  133. <li class="property protected "><a href="#property__index" title="$_index :: Index of style in collection."><span class="description"></span><pre>$_index</pre></a></li>
  134. <li class="property protected inherited"><a href="#property__isSupervisor" title="$_isSupervisor :: Supervisor?"><span class="description"></span><pre>$_isSupervisor</pre></a></li>
  135. <li class="property protected "><a href="#property__numberFormat" title="$_numberFormat :: Number Format"><span class="description"></span><pre>$_numberFormat</pre></a></li>
  136. <li class="property protected inherited"><a href="#property__parent" title="$_parent :: Parent."><span class="description"></span><pre>$_parent</pre></a></li>
  137. <li class="property protected "><a href="#property__protection" title="$_protection :: Protection"><span class="description"></span><pre>$_protection</pre></a></li>
  138. <li class="property protected "><a href="#property__quotePrefix" title="$_quotePrefix :: Use Quote Prefix when displaying in cell editor."><span class="description"></span><pre>$_quotePrefix</pre></a></li>
  139. </ul>
  140. </li>
  141. </ul>
  142. </div>
  143. <div class="span8">
  144. <a id="\PHPExcel_Style"></a><ul class="breadcrumb">
  145. <li>
  146. <a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
  147. </li>
  148. <li><a href="../namespaces/global.html">global</a></li>
  149. <li class="active">
  150. <span class="divider">\</span><a href="../classes/PHPExcel_Style.html">PHPExcel_Style</a>
  151. </li>
  152. </ul>
  153. <div class="element class">
  154. <p class="short_description">PHPExcel_Style</p>
  155. <div class="details">
  156. <div class="long_description"></div>
  157. <table class="table table-bordered">
  158. <tr>
  159. <th>category</th>
  160. <td>PHPExcel</td>
  161. </tr>
  162. <tr>
  163. <th>package</th>
  164. <td><a href="../packages/PHPExcel.Style.html">PHPExcel_Style</a></td>
  165. </tr>
  166. <tr>
  167. <th>copyright</th>
  168. <td>Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)</td>
  169. </tr>
  170. </table>
  171. <h3>
  172. <i class="icon-custom icon-method"></i> Methods</h3>
  173. <a id="method___clone"></a><div class="element clickable method public method___clone" data-toggle="collapse" data-target=".method___clone .collapse">
  174. <h2>Implement PHP __clone to create a deep clone, not just a shallow copy.</h2>
  175. <pre>__clone() </pre>
  176. <div class="labels"><span class="label">Inherited</span></div>
  177. <div class="row collapse"><div class="detail-description">
  178. <div class="long_description"></div>
  179. <table class="table table-bordered"><tr>
  180. <th>inherited_from</th>
  181. <td>\PHPExcel_Style_Supervisor::__clone()</td>
  182. </tr></table>
  183. </div></div>
  184. </div>
  185. <a id="method___construct"></a><div class="element clickable method public method___construct" data-toggle="collapse" data-target=".method___construct .collapse">
  186. <h2>Create a new PHPExcel_Style</h2>
  187. <pre>__construct(boolean $isSupervisor, boolean $isConditional) </pre>
  188. <div class="labels"></div>
  189. <div class="row collapse"><div class="detail-description">
  190. <div class="long_description"></div>
  191. <h3>Parameters</h3>
  192. <div class="subelement argument">
  193. <h4>$isSupervisor</h4>
  194. <code>boolean</code><p>Flag indicating if this is a supervisor or not
  195. Leave this value at default unless you understand exactly what
  196. its ramifications are</p></div>
  197. <div class="subelement argument">
  198. <h4>$isConditional</h4>
  199. <code>boolean</code><p>Flag indicating if this is a conditional style or not
  200. Leave this value at default unless you understand exactly what
  201. its ramifications are</p></div>
  202. </div></div>
  203. </div>
  204. <a id="method_applyFromArray"></a><div class="element clickable method public method_applyFromArray" data-toggle="collapse" data-target=".method_applyFromArray .collapse">
  205. <h2>Apply styles from array</h2>
  206. <pre>applyFromArray(array $pStyles, boolean $pAdvanced) : <a href="../classes/PHPExcel_Style.html">\PHPExcel_Style</a></pre>
  207. <div class="labels"></div>
  208. <div class="row collapse"><div class="detail-description">
  209. <div class="long_description"><pre><code>$objPHPExcel->getActiveSheet()->getStyle('B2')->applyFromArray(
  210. array(
  211. 'font' => array(
  212. 'name' => 'Arial',
  213. 'bold' => true,
  214. 'italic' => false,
  215. 'underline' => PHPExcel_Style_Font::UNDERLINE_DOUBLE,
  216. 'strike' => false,
  217. 'color' => array(
  218. 'rgb' => '808080'
  219. )
  220. ),
  221. 'borders' => array(
  222. 'bottom' => array(
  223. 'style' => PHPExcel_Style_Border::BORDER_DASHDOT,
  224. 'color' => array(
  225. 'rgb' => '808080'
  226. )
  227. ),
  228. 'top' => array(
  229. 'style' => PHPExcel_Style_Border::BORDER_DASHDOT,
  230. 'color' => array(
  231. 'rgb' => '808080'
  232. )
  233. )
  234. ),
  235. 'quotePrefix' => true
  236. )
  237. );
  238. </code></pre></div>
  239. <h3>Parameters</h3>
  240. <div class="subelement argument">
  241. <h4>$pStyles</h4>
  242. <code>array</code><p>Array containing style information</p></div>
  243. <div class="subelement argument">
  244. <h4>$pAdvanced</h4>
  245. <code>boolean</code><p>Advanced mode for setting borders.</p></div>
  246. <h3>Exceptions</h3>
  247. <table class="table table-bordered"><tr>
  248. <th><code><a href="../classes/PHPExcel_Exception.html">\PHPExcel_Exception</a></code></th>
  249. <td></td>
  250. </tr></table>
  251. <h3>Returns</h3>
  252. <div class="subelement response"><code><a href="../classes/PHPExcel_Style.html">\PHPExcel_Style</a></code></div>
  253. </div></div>
  254. </div>
  255. <a id="method_bindParent"></a><div class="element clickable method public method_bindParent" data-toggle="collapse" data-target=".method_bindParent .collapse">
  256. <h2>Bind parent.</h2>
  257. <pre>bindParent(<a href="../classes/PHPExcel.html">\PHPExcel</a> $parent, $parentPropertyName) : <a href="../classes/PHPExcel_Style_Supervisor.html">\PHPExcel_Style_Supervisor</a></pre>
  258. <div class="labels"><span class="label">Inherited</span></div>
  259. <div class="row collapse"><div class="detail-description">
  260. <div class="long_description"><p>Only used for supervisor</p></div>
  261. <table class="table table-bordered"><tr>
  262. <th>inherited_from</th>
  263. <td>\PHPExcel_Style_Supervisor::bindParent()</td>
  264. </tr></table>
  265. <h3>Parameters</h3>
  266. <div class="subelement argument">
  267. <h4>$parent</h4>
  268. <code><a href="../classes/PHPExcel.html">\PHPExcel</a></code>
  269. </div>
  270. <div class="subelement argument"><h4>$parentPropertyName</h4></div>
  271. <h3>Returns</h3>
  272. <div class="subelement response"><code><a href="../classes/PHPExcel_Style_Supervisor.html">\PHPExcel_Style_Supervisor</a></code></div>
  273. </div></div>
  274. </div>
  275. <a id="method_getActiveCell"></a><div class="element clickable method public method_getActiveCell" data-toggle="collapse" data-target=".method_getActiveCell .collapse">
  276. <h2>Get the currently active cell coordinate in currently active sheet.</h2>
  277. <pre>getActiveCell() : string</pre>
  278. <div class="labels"><span class="label">Inherited</span></div>
  279. <div class="row collapse"><div class="detail-description">
  280. <div class="long_description"><p>Only used for supervisor</p></div>
  281. <table class="table table-bordered"><tr>
  282. <th>inherited_from</th>
  283. <td>\PHPExcel_Style_Supervisor::getActiveCell()</td>
  284. </tr></table>
  285. <h3>Returns</h3>
  286. <div class="subelement response">
  287. <code>string</code>E.g. 'A1'</div>
  288. </div></div>
  289. </div>
  290. <a id="method_getActiveSheet"></a><div class="element clickable method public method_getActiveSheet" data-toggle="collapse" data-target=".method_getActiveSheet .collapse">
  291. <h2>Get the currently active sheet.</h2>
  292. <pre>getActiveSheet() : <a href="../classes/PHPExcel_Worksheet.html">\PHPExcel_Worksheet</a></pre>
  293. <div class="labels"><span class="label">Inherited</span></div>
  294. <div class="row collapse"><div class="detail-description">
  295. <div class="long_description"><p>Only used for supervisor</p></div>
  296. <table class="table table-bordered"><tr>
  297. <th>inherited_from</th>
  298. <td>\PHPExcel_Style_Supervisor::getActiveSheet()</td>
  299. </tr></table>
  300. <h3>Returns</h3>
  301. <div class="subelement response"><code><a href="../classes/PHPExcel_Worksheet.html">\PHPExcel_Worksheet</a></code></div>
  302. </div></div>
  303. </div>
  304. <a id="method_getAlignment"></a><div class="element clickable method public method_getAlignment" data-toggle="collapse" data-target=".method_getAlignment .collapse">
  305. <h2>Get Alignment</h2>
  306. <pre>getAlignment() : <a href="../classes/PHPExcel_Style_Alignment.html">\PHPExcel_Style_Alignment</a></pre>
  307. <div class="labels"></div>
  308. <div class="row collapse"><div class="detail-description">
  309. <div class="long_description"></div>
  310. <h3>Returns</h3>
  311. <div class="subelement response"><code><a href="../classes/PHPExcel_Style_Alignment.html">\PHPExcel_Style_Alignment</a></code></div>
  312. </div></div>
  313. </div>
  314. <a id="method_getBorders"></a><div class="element clickable method public method_getBorders" data-toggle="collapse" data-target=".method_getBorders .collapse">
  315. <h2>Get Borders</h2>
  316. <pre>getBorders() : <a href="../classes/PHPExcel_Style_Borders.html">\PHPExcel_Style_Borders</a></pre>
  317. <div class="labels"></div>
  318. <div class="row collapse"><div class="detail-description">
  319. <div class="long_description"></div>
  320. <h3>Returns</h3>
  321. <div class="subelement response"><code><a href="../classes/PHPExcel_Style_Borders.html">\PHPExcel_Style_Borders</a></code></div>
  322. </div></div>
  323. </div>
  324. <a id="method_getConditionalStyles"></a><div class="element clickable method public method_getConditionalStyles" data-toggle="collapse" data-target=".method_getConditionalStyles .collapse">
  325. <h2>Get Conditional Styles.</h2>
  326. <pre>getConditionalStyles() : <a href="PHPExcel.Style.Conditional.html#%5CPHPExcel_Style_Conditional">\PHPExcel_Style_Conditional[]</a></pre>
  327. <div class="labels"></div>
  328. <div class="row collapse"><div class="detail-description">
  329. <div class="long_description"><p>Only used on supervisor.</p></div>
  330. <h3>Returns</h3>
  331. <div class="subelement response"><code><a href="PHPExcel.Style.Conditional.html#%5CPHPExcel_Style_Conditional">\PHPExcel_Style_Conditional[]</a></code></div>
  332. </div></div>
  333. </div>
  334. <a id="method_getFill"></a><div class="element clickable method public method_getFill" data-toggle="collapse" data-target=".method_getFill .collapse">
  335. <h2>Get Fill</h2>
  336. <pre>getFill() : <a href="../classes/PHPExcel_Style_Fill.html">\PHPExcel_Style_Fill</a></pre>
  337. <div class="labels"></div>
  338. <div class="row collapse"><div class="detail-description">
  339. <div class="long_description"></div>
  340. <h3>Returns</h3>
  341. <div class="subelement response"><code><a href="../classes/PHPExcel_Style_Fill.html">\PHPExcel_Style_Fill</a></code></div>
  342. </div></div>
  343. </div>
  344. <a id="method_getFont"></a><div class="element clickable method public method_getFont" data-toggle="collapse" data-target=".method_getFont .collapse">
  345. <h2>Get Font</h2>
  346. <pre>getFont() : <a href="../classes/PHPExcel_Style_Font.html">\PHPExcel_Style_Font</a></pre>
  347. <div class="labels"></div>
  348. <div class="row collapse"><div class="detail-description">
  349. <div class="long_description"></div>
  350. <h3>Returns</h3>
  351. <div class="subelement response"><code><a href="../classes/PHPExcel_Style_Font.html">\PHPExcel_Style_Font</a></code></div>
  352. </div></div>
  353. </div>
  354. <a id="method_getHashCode"></a><div class="element clickable method public method_getHashCode" data-toggle="collapse" data-target=".method_getHashCode .collapse">
  355. <h2>Get hash code</h2>
  356. <pre>getHashCode() : string</pre>
  357. <div class="labels"></div>
  358. <div class="row collapse"><div class="detail-description">
  359. <div class="long_description"></div>
  360. <h3>Returns</h3>
  361. <div class="subelement response">
  362. <code>string</code>Hash code</div>
  363. </div></div>
  364. </div>
  365. <a id="method_getIndex"></a><div class="element clickable method public method_getIndex" data-toggle="collapse" data-target=".method_getIndex .collapse">
  366. <h2>Get own index in style collection</h2>
  367. <pre>getIndex() : int</pre>
  368. <div class="labels"></div>
  369. <div class="row collapse"><div class="detail-description">
  370. <div class="long_description"></div>
  371. <h3>Returns</h3>
  372. <div class="subelement response"><code>int</code></div>
  373. </div></div>
  374. </div>
  375. <a id="method_getIsSupervisor"></a><div class="element clickable method public method_getIsSupervisor" data-toggle="collapse" data-target=".method_getIsSupervisor .collapse">
  376. <h2>Is this a supervisor or a cell style component?</h2>
  377. <pre>getIsSupervisor() : boolean</pre>
  378. <div class="labels"><span class="label">Inherited</span></div>
  379. <div class="row collapse"><div class="detail-description">
  380. <div class="long_description"></div>
  381. <table class="table table-bordered"><tr>
  382. <th>inherited_from</th>
  383. <td>\PHPExcel_Style_Supervisor::getIsSupervisor()</td>
  384. </tr></table>
  385. <h3>Returns</h3>
  386. <div class="subelement response"><code>boolean</code></div>
  387. </div></div>
  388. </div>
  389. <a id="method_getNumberFormat"></a><div class="element clickable method public method_getNumberFormat" data-toggle="collapse" data-target=".method_getNumberFormat .collapse">
  390. <h2>Get Number Format</h2>
  391. <pre>getNumberFormat() : <a href="../classes/PHPExcel_Style_NumberFormat.html">\PHPExcel_Style_NumberFormat</a></pre>
  392. <div class="labels"></div>
  393. <div class="row collapse"><div class="detail-description">
  394. <div class="long_description"></div>
  395. <h3>Returns</h3>
  396. <div class="subelement response"><code><a href="../classes/PHPExcel_Style_NumberFormat.html">\PHPExcel_Style_NumberFormat</a></code></div>
  397. </div></div>
  398. </div>
  399. <a id="method_getParent"></a><div class="element clickable method public method_getParent" data-toggle="collapse" data-target=".method_getParent .collapse">
  400. <h2>Get parent.</h2>
  401. <pre>getParent() : <a href="../classes/PHPExcel.html">\PHPExcel</a></pre>
  402. <div class="labels"></div>
  403. <div class="row collapse"><div class="detail-description">
  404. <div class="long_description"><p>Only used for style supervisor</p></div>
  405. <h3>Returns</h3>
  406. <div class="subelement response"><code><a href="../classes/PHPExcel.html">\PHPExcel</a></code></div>
  407. </div></div>
  408. </div>
  409. <a id="method_getProtection"></a><div class="element clickable method public method_getProtection" data-toggle="collapse" data-target=".method_getProtection .collapse">
  410. <h2>Get Protection</h2>
  411. <pre>getProtection() : <a href="../classes/PHPExcel_Style_Protection.html">\PHPExcel_Style_Protection</a></pre>
  412. <div class="labels"></div>
  413. <div class="row collapse"><div class="detail-description">
  414. <div class="long_description"></div>
  415. <h3>Returns</h3>
  416. <div class="subelement response"><code><a href="../classes/PHPExcel_Style_Protection.html">\PHPExcel_Style_Protection</a></code></div>
  417. </div></div>
  418. </div>
  419. <a id="method_getQuotePrefix"></a><div class="element clickable method public method_getQuotePrefix" data-toggle="collapse" data-target=".method_getQuotePrefix .collapse">
  420. <h2>Get quote prefix</h2>
  421. <pre>getQuotePrefix() : boolean</pre>
  422. <div class="labels"></div>
  423. <div class="row collapse"><div class="detail-description">
  424. <div class="long_description"></div>
  425. <h3>Returns</h3>
  426. <div class="subelement response"><code>boolean</code></div>
  427. </div></div>
  428. </div>
  429. <a id="method_getSelectedCells"></a><div class="element clickable method public method_getSelectedCells" data-toggle="collapse" data-target=".method_getSelectedCells .collapse">
  430. <h2>Get the currently active cell coordinate in currently active sheet.</h2>
  431. <pre>getSelectedCells() : string</pre>
  432. <div class="labels"><span class="label">Inherited</span></div>
  433. <div class="row collapse"><div class="detail-description">
  434. <div class="long_description"><p>Only used for supervisor</p></div>
  435. <table class="table table-bordered"><tr>
  436. <th>inherited_from</th>
  437. <td>\PHPExcel_Style_Supervisor::getSelectedCells()</td>
  438. </tr></table>
  439. <h3>Returns</h3>
  440. <div class="subelement response">
  441. <code>string</code>E.g. 'A1'</div>
  442. </div></div>
  443. </div>
  444. <a id="method_getSharedComponent"></a><div class="element clickable method public method_getSharedComponent" data-toggle="collapse" data-target=".method_getSharedComponent .collapse">
  445. <h2>Get the shared style component for the currently active cell in currently active sheet.</h2>
  446. <pre>getSharedComponent() : <a href="../classes/PHPExcel_Style.html">\PHPExcel_Style</a></pre>
  447. <div class="labels"></div>
  448. <div class="row collapse"><div class="detail-description">
  449. <div class="long_description"><p>Only used for style supervisor</p></div>
  450. <h3>Returns</h3>
  451. <div class="subelement response"><code><a href="../classes/PHPExcel_Style.html">\PHPExcel_Style</a></code></div>
  452. </div></div>
  453. </div>
  454. <a id="method_getStyleArray"></a><div class="element clickable method public method_getStyleArray" data-toggle="collapse" data-target=".method_getStyleArray .collapse">
  455. <h2>Build style array from subcomponents</h2>
  456. <pre>getStyleArray(array $array) : array</pre>
  457. <div class="labels"></div>
  458. <div class="row collapse"><div class="detail-description">
  459. <div class="long_description"></div>
  460. <h3>Parameters</h3>
  461. <div class="subelement argument">
  462. <h4>$array</h4>
  463. <code>array</code>
  464. </div>
  465. <h3>Returns</h3>
  466. <div class="subelement response"><code>array</code></div>
  467. </div></div>
  468. </div>
  469. <a id="method_setConditionalStyles"></a><div class="element clickable method public method_setConditionalStyles" data-toggle="collapse" data-target=".method_setConditionalStyles .collapse">
  470. <h2>Set Conditional Styles.</h2>
  471. <pre>setConditionalStyles(<a href="PHPExcel.Style.Conditional.html#%5CPHPExcel_Style_Conditional">\PHPExcel_Style_Conditional[]</a> $pValue) : <a href="../classes/PHPExcel_Style.html">\PHPExcel_Style</a></pre>
  472. <div class="labels"></div>
  473. <div class="row collapse"><div class="detail-description">
  474. <div class="long_description"><p>Only used on supervisor.</p></div>
  475. <h3>Parameters</h3>
  476. <div class="subelement argument">
  477. <h4>$pValue</h4>
  478. <code><a href="PHPExcel.Style.Conditional.html#%5CPHPExcel_Style_Conditional">\PHPExcel_Style_Conditional[]</a></code><p>Array of condtional styles</p></div>
  479. <h3>Returns</h3>
  480. <div class="subelement response"><code><a href="../classes/PHPExcel_Style.html">\PHPExcel_Style</a></code></div>
  481. </div></div>
  482. </div>
  483. <a id="method_setFont"></a><div class="element clickable method public method_setFont" data-toggle="collapse" data-target=".method_setFont .collapse">
  484. <h2>Set font</h2>
  485. <pre>setFont(\PHPExcel_Style_Font $font) : <a href="../classes/PHPExcel_Style.html">\PHPExcel_Style</a></pre>
  486. <div class="labels"></div>
  487. <div class="row collapse"><div class="detail-description">
  488. <div class="long_description"></div>
  489. <h3>Parameters</h3>
  490. <div class="subelement argument">
  491. <h4>$font</h4>
  492. <code><a href="../classes/PHPExcel_Style_Font.html">\PHPExcel_Style_Font</a></code>
  493. </div>
  494. <h3>Returns</h3>
  495. <div class="subelement response"><code><a href="../classes/PHPExcel_Style.html">\PHPExcel_Style</a></code></div>
  496. </div></div>
  497. </div>
  498. <a id="method_setIndex"></a><div class="element clickable method public method_setIndex" data-toggle="collapse" data-target=".method_setIndex .collapse">
  499. <h2>Set own index in style collection</h2>
  500. <pre>setIndex(int $pValue) </pre>
  501. <div class="labels"></div>
  502. <div class="row collapse"><div class="detail-description">
  503. <div class="long_description"></div>
  504. <h3>Parameters</h3>
  505. <div class="subelement argument">
  506. <h4>$pValue</h4>
  507. <code>int</code>
  508. </div>
  509. </div></div>
  510. </div>
  511. <a id="method_setQuotePrefix"></a><div class="element clickable method public method_setQuotePrefix" data-toggle="collapse" data-target=".method_setQuotePrefix .collapse">
  512. <h2>Set quote prefix</h2>
  513. <pre>setQuotePrefix(boolean $pValue) </pre>
  514. <div class="labels"></div>
  515. <div class="row collapse"><div class="detail-description">
  516. <div class="long_description"></div>
  517. <h3>Parameters</h3>
  518. <div class="subelement argument">
  519. <h4>$pValue</h4>
  520. <code>boolean</code>
  521. </div>
  522. </div></div>
  523. </div>
  524. <h3>
  525. <i class="icon-custom icon-property"></i> Properties</h3>
  526. <a id="property__alignment"> </a><div class="element clickable property protected property__alignment" data-toggle="collapse" data-target=".property__alignment .collapse">
  527. <h2></h2>
  528. <pre>$_alignment : <a href="../classes/PHPExcel_Style_Alignment.html">\PHPExcel_Style_Alignment</a></pre>
  529. <div class="labels"></div>
  530. <div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
  531. </div>
  532. <a id="property__borders"> </a><div class="element clickable property protected property__borders" data-toggle="collapse" data-target=".property__borders .collapse">
  533. <h2></h2>
  534. <pre>$_borders : <a href="../classes/PHPExcel_Style_Borders.html">\PHPExcel_Style_Borders</a></pre>
  535. <div class="labels"></div>
  536. <div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
  537. </div>
  538. <a id="property__conditionalStyles"> </a><div class="element clickable property protected property__conditionalStyles" data-toggle="collapse" data-target=".property__conditionalStyles .collapse">
  539. <h2></h2>
  540. <pre>$_conditionalStyles : <a href="PHPExcel.Style.Conditional.html#%5CPHPExcel_Style_Conditional">\PHPExcel_Style_Conditional[]</a></pre>
  541. <div class="labels"></div>
  542. <div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
  543. </div>
  544. <a id="property__fill"> </a><div class="element clickable property protected property__fill" data-toggle="collapse" data-target=".property__fill .collapse">
  545. <h2></h2>
  546. <pre>$_fill : <a href="../classes/PHPExcel_Style_Fill.html">\PHPExcel_Style_Fill</a></pre>
  547. <div class="labels"></div>
  548. <div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
  549. </div>
  550. <a id="property__font"> </a><div class="element clickable property protected property__font" data-toggle="collapse" data-target=".property__font .collapse">
  551. <h2></h2>
  552. <pre>$_font : <a href="../classes/PHPExcel_Style_Font.html">\PHPExcel_Style_Font</a></pre>
  553. <div class="labels"></div>
  554. <div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
  555. </div>
  556. <a id="property__index"> </a><div class="element clickable property protected property__index" data-toggle="collapse" data-target=".property__index .collapse">
  557. <h2></h2>
  558. <pre>$_index : int</pre>
  559. <div class="labels"></div>
  560. <div class="row collapse"><div class="detail-description"><div class="long_description"><p>Only used for real style.</p></div></div></div>
  561. </div>
  562. <a id="property__isSupervisor"> </a><div class="element clickable property protected property__isSupervisor" data-toggle="collapse" data-target=".property__isSupervisor .collapse">
  563. <h2></h2>
  564. <pre>$_isSupervisor : boolean</pre>
  565. <div class="labels"><span class="label">Inherited</span></div>
  566. <div class="row collapse"><div class="detail-description">
  567. <div class="long_description"></div>
  568. <table class="table table-bordered"><tr>
  569. <th>inherited_from</th>
  570. <td>\PHPExcel_Style_Supervisor::$$_isSupervisor</td>
  571. </tr></table>
  572. </div></div>
  573. </div>
  574. <a id="property__numberFormat"> </a><div class="element clickable property protected property__numberFormat" data-toggle="collapse" data-target=".property__numberFormat .collapse">
  575. <h2></h2>
  576. <pre>$_numberFormat : <a href="../classes/PHPExcel_Style_NumberFormat.html">\PHPExcel_Style_NumberFormat</a></pre>
  577. <div class="labels"></div>
  578. <div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
  579. </div>
  580. <a id="property__parent"> </a><div class="element clickable property protected property__parent" data-toggle="collapse" data-target=".property__parent .collapse">
  581. <h2></h2>
  582. <pre>$_parent : <a href="../classes/PHPExcel_Style.html">\PHPExcel_Style</a></pre>
  583. <div class="labels"><span class="label">Inherited</span></div>
  584. <div class="row collapse"><div class="detail-description">
  585. <div class="long_description"><p>Only used for supervisor</p></div>
  586. <table class="table table-bordered"><tr>
  587. <th>inherited_from</th>
  588. <td>\PHPExcel_Style_Supervisor::$$_parent</td>
  589. </tr></table>
  590. </div></div>
  591. </div>
  592. <a id="property__protection"> </a><div class="element clickable property protected property__protection" data-toggle="collapse" data-target=".property__protection .collapse">
  593. <h2></h2>
  594. <pre>$_protection : <a href="../classes/PHPExcel_Style_Protection.html">\PHPExcel_Style_Protection</a></pre>
  595. <div class="labels"></div>
  596. <div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
  597. </div>
  598. <a id="property__quotePrefix"> </a><div class="element clickable property protected property__quotePrefix" data-toggle="collapse" data-target=".property__quotePrefix .collapse">
  599. <h2></h2>
  600. <pre>$_quotePrefix : boolean</pre>
  601. <div class="labels"></div>
  602. <div class="row collapse"><div class="detail-description"><div class="long_description"><p>Only used for real style.</p></div></div></div>
  603. </div>
  604. </div>
  605. </div>
  606. </div>
  607. </div>
  608. <div class="row"><footer class="span12">
  609. Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
  610. Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a12</a> and<br>
  611. generated on 2014-03-02T15:27:38Z.<br></footer></div>
  612. </div>
  613. </body>
  614. </html>