Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 

326 рядки
20 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_Writer_Abstract</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 "><a href="#method_getDiskCachingDirectory" title="getDiskCachingDirectory :: Get disk caching directory"><span class="description">Get disk caching directory</span><pre>getDiskCachingDirectory()</pre></a></li>
  96. <li class="method public "><a href="#method_getIncludeCharts" title="getIncludeCharts :: Write charts in workbook?
  97. If this is true, then the Writer will write definitions for any charts that exist in the PHPExcel object."><span class="description">Write charts in workbook?
  98. If this is true, then the Writer will write definitions for any charts that exist in the PHPExcel object.</span><pre>getIncludeCharts()</pre></a></li>
  99. <li class="method public "><a href="#method_getPreCalculateFormulas" title="getPreCalculateFormulas :: Get Pre-Calculate Formulas flag
  100. If this is true (the default), then the writer will recalculate all formulae in a workbook when saving,
  101. so that the pre-calculated values are immediately available to MS Excel or other office spreadsheet
  102. viewer when opening the file
  103. If false, then formulae are not calculated on save."><span class="description">Get Pre-Calculate Formulas flag
  104. If this is true (the default), then the writer will recalculate all formulae in a workbook when saving,
  105. so that the pre-calculated values are immediately available to MS Excel or other office spreadsheet
  106. viewer when opening the file
  107. If false, then formulae are not calculated on save.</span><pre>getPreCalculateFormulas()</pre></a></li>
  108. <li class="method public "><a href="#method_getUseDiskCaching" title="getUseDiskCaching :: Get use disk caching where possible?"><span class="description">Get use disk caching where possible?</span><pre>getUseDiskCaching()</pre></a></li>
  109. <li class="method public inherited"><a href="#method_save" title="save :: Save PHPExcel to file"><span class="description">Save PHPExcel to file</span><pre>save()</pre></a></li>
  110. <li class="method public "><a href="#method_setIncludeCharts" title="setIncludeCharts :: Set write charts in workbook
  111. Set to true, to advise the Writer to include any charts that exist in the PHPExcel object."><span class="description">Set write charts in workbook
  112. Set to true, to advise the Writer to include any charts that exist in the PHPExcel object.</span><pre>setIncludeCharts()</pre></a></li>
  113. <li class="method public "><a href="#method_setPreCalculateFormulas" title="setPreCalculateFormulas :: Set Pre-Calculate Formulas
  114. Set to true (the default) to advise the Writer to calculate all formulae on save
  115. Set to false to prevent precalculation of formulae on save."><span class="description">Set Pre-Calculate Formulas
  116. Set to true (the default) to advise the Writer to calculate all formulae on save
  117. Set to false to prevent precalculation of formulae on save.</span><pre>setPreCalculateFormulas()</pre></a></li>
  118. <li class="method public "><a href="#method_setUseDiskCaching" title="setUseDiskCaching :: Set use disk caching where possible?"><span class="description">Set use disk caching where possible?</span><pre>setUseDiskCaching()</pre></a></li>
  119. </ul>
  120. </li>
  121. <li class="nav-header">
  122. <i class="icon-custom icon-property"></i> Properties
  123. <ul></ul>
  124. </li>
  125. <li class="nav-header protected">» Protected
  126. <ul>
  127. <li class="property protected "><a href="#property__diskCachingDirectory" title="$_diskCachingDirectory :: Disk caching directory"><span class="description"></span><pre>$_diskCachingDirectory</pre></a></li>
  128. <li class="property protected "><a href="#property__includeCharts" title="$_includeCharts :: Write charts that are defined in the workbook?
  129. Identifies whether the Writer should write definitions for any charts that exist in the PHPExcel object;"><span class="description"></span><pre>$_includeCharts</pre></a></li>
  130. <li class="property protected "><a href="#property__preCalculateFormulas" title="$_preCalculateFormulas :: Pre-calculate formulas
  131. Forces PHPExcel to recalculate all formulae in a workbook when saving, so that the pre-calculated values are
  132. immediately available to MS Excel or other office spreadsheet viewer when opening the file"><span class="description"></span><pre>$_preCalculateFormulas</pre></a></li>
  133. <li class="property protected "><a href="#property__useDiskCaching" title="$_useDiskCaching :: Use disk caching where possible?"><span class="description"></span><pre>$_useDiskCaching</pre></a></li>
  134. </ul>
  135. </li>
  136. </ul>
  137. </div>
  138. <div class="span8">
  139. <a id="\PHPExcel_Writer_Abstract"></a><ul class="breadcrumb">
  140. <li>
  141. <a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
  142. </li>
  143. <li><a href="../namespaces/global.html">global</a></li>
  144. <li class="active">
  145. <span class="divider">\</span><a href="../classes/PHPExcel_Writer_Abstract.html">PHPExcel_Writer_Abstract</a>
  146. </li>
  147. </ul>
  148. <div class="element class">
  149. <p class="short_description">PHPExcel_Writer_Abstract</p>
  150. <div class="details">
  151. <div class="long_description"></div>
  152. <table class="table table-bordered">
  153. <tr>
  154. <th>category</th>
  155. <td>PHPExcel</td>
  156. </tr>
  157. <tr>
  158. <th>package</th>
  159. <td><a href="../packages/PHPExcel.Writer.html">PHPExcel_Writer</a></td>
  160. </tr>
  161. <tr>
  162. <th>copyright</th>
  163. <td>Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)</td>
  164. </tr>
  165. </table>
  166. <h3>
  167. <i class="icon-custom icon-method"></i> Methods</h3>
  168. <a id="method_getDiskCachingDirectory"></a><div class="element clickable method public method_getDiskCachingDirectory" data-toggle="collapse" data-target=".method_getDiskCachingDirectory .collapse">
  169. <h2>Get disk caching directory</h2>
  170. <pre>getDiskCachingDirectory() : string</pre>
  171. <div class="labels"></div>
  172. <div class="row collapse"><div class="detail-description">
  173. <div class="long_description"></div>
  174. <h3>Returns</h3>
  175. <div class="subelement response"><code>string</code></div>
  176. </div></div>
  177. </div>
  178. <a id="method_getIncludeCharts"></a><div class="element clickable method public method_getIncludeCharts" data-toggle="collapse" data-target=".method_getIncludeCharts .collapse">
  179. <h2>Write charts in workbook?
  180. If this is true, then the Writer will write definitions for any charts that exist in the PHPExcel object.</h2>
  181. <pre>getIncludeCharts() : boolean</pre>
  182. <div class="labels"></div>
  183. <div class="row collapse"><div class="detail-description">
  184. <div class="long_description"><p>If false (the default) it will ignore any charts defined in the PHPExcel object.</p></div>
  185. <h3>Returns</h3>
  186. <div class="subelement response"><code>boolean</code></div>
  187. </div></div>
  188. </div>
  189. <a id="method_getPreCalculateFormulas"></a><div class="element clickable method public method_getPreCalculateFormulas" data-toggle="collapse" data-target=".method_getPreCalculateFormulas .collapse">
  190. <h2>Get Pre-Calculate Formulas flag
  191. If this is true (the default), then the writer will recalculate all formulae in a workbook when saving,
  192. so that the pre-calculated values are immediately available to MS Excel or other office spreadsheet
  193. viewer when opening the file
  194. If false, then formulae are not calculated on save.</h2>
  195. <pre>getPreCalculateFormulas() : boolean</pre>
  196. <div class="labels"></div>
  197. <div class="row collapse"><div class="detail-description">
  198. <div class="long_description"><p>This is faster for saving in PHPExcel, but slower
  199. when opening the resulting file in MS Excel, because Excel has to recalculate the formulae itself</p></div>
  200. <h3>Returns</h3>
  201. <div class="subelement response"><code>boolean</code></div>
  202. </div></div>
  203. </div>
  204. <a id="method_getUseDiskCaching"></a><div class="element clickable method public method_getUseDiskCaching" data-toggle="collapse" data-target=".method_getUseDiskCaching .collapse">
  205. <h2>Get use disk caching where possible?</h2>
  206. <pre>getUseDiskCaching() : boolean</pre>
  207. <div class="labels"></div>
  208. <div class="row collapse"><div class="detail-description">
  209. <div class="long_description"></div>
  210. <h3>Returns</h3>
  211. <div class="subelement response"><code>boolean</code></div>
  212. </div></div>
  213. </div>
  214. <a id="method_save"></a><div class="element clickable method public method_save" data-toggle="collapse" data-target=".method_save .collapse">
  215. <h2>Save PHPExcel to file</h2>
  216. <pre>save($pFilename) </pre>
  217. <div class="labels"><span class="label">Inherited</span></div>
  218. <div class="row collapse"><div class="detail-description">
  219. <div class="long_description"><p>@param string $pFilename Name of the file to save</p></div>
  220. <table class="table table-bordered"><tr>
  221. <th>inherited_from</th>
  222. <td>\PHPExcel_Writer_IWriter::save()</td>
  223. </tr></table>
  224. <h3>Parameters</h3>
  225. <div class="subelement argument"><h4>$pFilename</h4></div>
  226. <h3>Exceptions</h3>
  227. <table class="table table-bordered"><tr>
  228. <th><code><a href="../classes/PHPExcel_Writer_Exception.html">\PHPExcel_Writer_Exception</a></code></th>
  229. <td></td>
  230. </tr></table>
  231. </div></div>
  232. </div>
  233. <a id="method_setIncludeCharts"></a><div class="element clickable method public method_setIncludeCharts" data-toggle="collapse" data-target=".method_setIncludeCharts .collapse">
  234. <h2>Set write charts in workbook
  235. Set to true, to advise the Writer to include any charts that exist in the PHPExcel object.</h2>
  236. <pre>setIncludeCharts(boolean $pValue) : <a href="../classes/PHPExcel_Writer_IWriter.html">\PHPExcel_Writer_IWriter</a></pre>
  237. <div class="labels"></div>
  238. <div class="row collapse"><div class="detail-description">
  239. <div class="long_description"><p>Set to false (the default) to ignore charts.</p></div>
  240. <h3>Parameters</h3>
  241. <div class="subelement argument">
  242. <h4>$pValue</h4>
  243. <code>boolean</code>
  244. </div>
  245. <h3>Returns</h3>
  246. <div class="subelement response"><code><a href="../classes/PHPExcel_Writer_IWriter.html">\PHPExcel_Writer_IWriter</a></code></div>
  247. </div></div>
  248. </div>
  249. <a id="method_setPreCalculateFormulas"></a><div class="element clickable method public method_setPreCalculateFormulas" data-toggle="collapse" data-target=".method_setPreCalculateFormulas .collapse">
  250. <h2>Set Pre-Calculate Formulas
  251. Set to true (the default) to advise the Writer to calculate all formulae on save
  252. Set to false to prevent precalculation of formulae on save.</h2>
  253. <pre>setPreCalculateFormulas(boolean $pValue) : <a href="../classes/PHPExcel_Writer_IWriter.html">\PHPExcel_Writer_IWriter</a></pre>
  254. <div class="labels"></div>
  255. <div class="row collapse"><div class="detail-description">
  256. <div class="long_description"></div>
  257. <h3>Parameters</h3>
  258. <div class="subelement argument">
  259. <h4>$pValue</h4>
  260. <code>boolean</code><p>Pre-Calculate Formulas?</p>
  261. </div>
  262. <h3>Returns</h3>
  263. <div class="subelement response"><code><a href="../classes/PHPExcel_Writer_IWriter.html">\PHPExcel_Writer_IWriter</a></code></div>
  264. </div></div>
  265. </div>
  266. <a id="method_setUseDiskCaching"></a><div class="element clickable method public method_setUseDiskCaching" data-toggle="collapse" data-target=".method_setUseDiskCaching .collapse">
  267. <h2>Set use disk caching where possible?</h2>
  268. <pre>setUseDiskCaching(boolean $pValue, string $pDirectory) : <a href="../classes/PHPExcel_Writer_Excel2007.html">\PHPExcel_Writer_Excel2007</a></pre>
  269. <div class="labels"></div>
  270. <div class="row collapse"><div class="detail-description">
  271. <div class="long_description"></div>
  272. <h3>Parameters</h3>
  273. <div class="subelement argument">
  274. <h4>$pValue</h4>
  275. <code>boolean</code>
  276. </div>
  277. <div class="subelement argument">
  278. <h4>$pDirectory</h4>
  279. <code>string</code><p>Disk caching directory</p></div>
  280. <h3>Exceptions</h3>
  281. <table class="table table-bordered"><tr>
  282. <th><code><a href="../classes/PHPExcel_Writer_Exception.html">\PHPExcel_Writer_Exception</a></code></th>
  283. <td>when directory does not exist</td>
  284. </tr></table>
  285. <h3>Returns</h3>
  286. <div class="subelement response"><code><a href="../classes/PHPExcel_Writer_Excel2007.html">\PHPExcel_Writer_Excel2007</a></code></div>
  287. </div></div>
  288. </div>
  289. <h3>
  290. <i class="icon-custom icon-property"></i> Properties</h3>
  291. <a id="property__diskCachingDirectory"> </a><div class="element clickable property protected property__diskCachingDirectory" data-toggle="collapse" data-target=".property__diskCachingDirectory .collapse">
  292. <h2></h2>
  293. <pre>$_diskCachingDirectory : string</pre>
  294. <div class="labels"></div>
  295. <div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
  296. </div>
  297. <a id="property__includeCharts"> </a><div class="element clickable property protected property__includeCharts" data-toggle="collapse" data-target=".property__includeCharts .collapse">
  298. <h2></h2>
  299. <pre>$_includeCharts : boolean</pre>
  300. <div class="labels"></div>
  301. <div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
  302. </div>
  303. <a id="property__preCalculateFormulas"> </a><div class="element clickable property protected property__preCalculateFormulas" data-toggle="collapse" data-target=".property__preCalculateFormulas .collapse">
  304. <h2></h2>
  305. <pre>$_preCalculateFormulas : boolean</pre>
  306. <div class="labels"></div>
  307. <div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
  308. </div>
  309. <a id="property__useDiskCaching"> </a><div class="element clickable property protected property__useDiskCaching" data-toggle="collapse" data-target=".property__useDiskCaching .collapse">
  310. <h2></h2>
  311. <pre>$_useDiskCaching : boolean</pre>
  312. <div class="labels"></div>
  313. <div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
  314. </div>
  315. </div>
  316. </div>
  317. </div>
  318. </div>
  319. <div class="row"><footer class="span12">
  320. 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>
  321. Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a12</a> and<br>
  322. generated on 2014-03-02T15:27:39Z.<br></footer></div>
  323. </div>
  324. </body>
  325. </html>