jsPDFClass.html 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4. <head>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  6. <meta name="generator" content="JsDoc Toolkit" />
  7. <title>JsDoc Reference - jsPDFClass</title>
  8. <style type="text/css">
  9. /* default.css */
  10. body
  11. {
  12. font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
  13. width: 800px;
  14. }
  15. .header
  16. {
  17. clear: both;
  18. background-color: #ccc;
  19. padding: 8px;
  20. }
  21. h1
  22. {
  23. font-size: 150%;
  24. font-weight: bold;
  25. padding: 0;
  26. margin: 1em 0 0 .3em;
  27. }
  28. hr
  29. {
  30. border: none 0;
  31. border-top: 1px solid #7F8FB1;
  32. height: 1px;
  33. }
  34. pre.code
  35. {
  36. display: block;
  37. padding: 8px;
  38. border: 1px dashed #ccc;
  39. }
  40. #index
  41. {
  42. margin-top: 24px;
  43. float: left;
  44. width: 160px;
  45. position: absolute;
  46. left: 8px;
  47. background-color: #F3F3F3;
  48. padding: 8px;
  49. }
  50. #content
  51. {
  52. margin-left: 190px;
  53. width: 600px;
  54. }
  55. .classList
  56. {
  57. list-style-type: none;
  58. padding: 0;
  59. margin: 0 0 0 8px;
  60. font-family: arial, sans-serif;
  61. font-size: 1em;
  62. overflow: auto;
  63. }
  64. .classList li
  65. {
  66. padding: 0;
  67. margin: 0 0 8px 0;
  68. }
  69. .summaryTable { width: 100%; }
  70. h1.classTitle
  71. {
  72. font-size:170%;
  73. line-height:130%;
  74. }
  75. h2 { font-size: 110%; }
  76. caption, div.sectionTitle
  77. {
  78. background-color: #7F8FB1;
  79. color: #fff;
  80. font-size:130%;
  81. text-align: left;
  82. padding: 2px 6px 2px 6px;
  83. border: 1px #7F8FB1 solid;
  84. }
  85. div.sectionTitle { margin-bottom: 8px; }
  86. .summaryTable thead { display: none; }
  87. .summaryTable td
  88. {
  89. vertical-align: top;
  90. padding: 4px;
  91. border-bottom: 1px #7F8FB1 solid;
  92. border-right: 1px #7F8FB1 solid;
  93. }
  94. /*col#summaryAttributes {}*/
  95. .summaryTable td.attributes
  96. {
  97. border-left: 1px #7F8FB1 solid;
  98. width: 140px;
  99. text-align: right;
  100. }
  101. td.attributes, .fixedFont
  102. {
  103. line-height: 15px;
  104. color: #002EBE;
  105. font-family: "Courier New",Courier,monospace;
  106. font-size: 13px;
  107. }
  108. .summaryTable td.nameDescription
  109. {
  110. text-align: left;
  111. font-size: 13px;
  112. line-height: 15px;
  113. }
  114. .summaryTable td.nameDescription, .description
  115. {
  116. line-height: 15px;
  117. padding: 4px;
  118. padding-left: 4px;
  119. }
  120. .summaryTable { margin-bottom: 8px; }
  121. ul.inheritsList
  122. {
  123. list-style: square;
  124. margin-left: 20px;
  125. padding-left: 0;
  126. }
  127. .detailList {
  128. margin-left: 20px;
  129. line-height: 15px;
  130. }
  131. .detailList dt { margin-left: 20px; }
  132. .detailList .heading
  133. {
  134. font-weight: bold;
  135. padding-bottom: 6px;
  136. margin-left: 0;
  137. }
  138. .light, td.attributes, .light a:link, .light a:visited
  139. {
  140. color: #777;
  141. font-style: italic;
  142. }
  143. .fineprint
  144. {
  145. text-align: right;
  146. font-size: 10px;
  147. }
  148. </style>
  149. </head>
  150. <body>
  151. <!-- ============================== header ================================= -->
  152. <!-- begin static/header.html -->
  153. <div id="header">
  154. </div>
  155. <!-- end static/header.html -->
  156. <!-- ============================== classes index ============================ -->
  157. <div id="index">
  158. <!-- begin publish.classesIndex -->
  159. <div align="center"><a href="../index.html">Class Index</a>
  160. | <a href="../files.html">File Index</a></div>
  161. <hr />
  162. <h2>Classes</h2>
  163. <ul class="classList">
  164. <li><i><a href="../symbols/_global_.html">_global_</a></i></li>
  165. <li><a href="../symbols/jsPDF.html">jsPDF</a></li>
  166. <li><a href="../symbols/jsPDFClass.html">jsPDFClass</a></li>
  167. </ul>
  168. <hr />
  169. <!-- end publish.classesIndex -->
  170. </div>
  171. <div id="content">
  172. <!-- ============================== class title ============================ -->
  173. <h1 class="classTitle">
  174. Class jsPDFClass
  175. </h1>
  176. <!-- ============================== class summary ========================== -->
  177. <p class="description">
  178. <br /><i>Defined in: </i> <a href="../symbols/src/c__work_jsPDF_jspdf.js.html">jspdf.js</a>.
  179. </p>
  180. <!-- ============================== constructor summary ==================== -->
  181. <table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class jsPDFClass.">
  182. <caption>Class Summary</caption>
  183. <thead>
  184. <tr>
  185. <th scope="col">Constructor Attributes</th>
  186. <th scope="col">Constructor Name and Description</th>
  187. </tr>
  188. </thead>
  189. <tbody>
  190. <tr>
  191. <td class="attributes">&nbsp;</td>
  192. <td class="nameDescription" >
  193. <div class="fixedFont">
  194. <b><a href="../symbols/jsPDFClass.html#constructor">jsPDFClass</a></b>(orientation, unit, format)
  195. </div>
  196. <div class="description">Creates new jsPDF document object instance</div>
  197. </td>
  198. </tr>
  199. </tbody>
  200. </table>
  201. <!-- ============================== properties summary ===================== -->
  202. <!-- ============================== methods summary ======================== -->
  203. <!-- ============================== events summary ======================== -->
  204. <!-- ============================== constructor details ==================== -->
  205. <div class="details"><a name="constructor"> </a>
  206. <div class="sectionTitle">
  207. Class Detail
  208. </div>
  209. <div class="fixedFont">
  210. <b>jsPDFClass</b>(orientation, unit, format)
  211. </div>
  212. <div class="description">
  213. Creates new jsPDF document object instance
  214. </div>
  215. <dl class="detailList">
  216. <dt class="heading">Parameters:</dt>
  217. <dt>
  218. <b>orientation</b>
  219. </dt>
  220. <dd>One of "portrait" or "landscape" (or shortcuts "p" (Default), "l")</dd>
  221. <dt>
  222. <b>unit</b>
  223. </dt>
  224. <dd>Measurement unit to be used when coordinates are specified. One of "pt" (points), "mm" (Default), "cm", "in"</dd>
  225. <dt>
  226. <b>format</b>
  227. </dt>
  228. <dd>One of 'a3', 'a4' (Default),'a5' ,'letter' ,'legal'</dd>
  229. </dl>
  230. <dl class="detailList">
  231. <dt class="heading">Returns:</dt>
  232. <dd><span class="light fixedFont">{<a href="../symbols/jsPDF.html">jsPDF</a>}</span> </dd>
  233. </dl>
  234. </div>
  235. <!-- ============================== field details ========================== -->
  236. <!-- ============================== method details ========================= -->
  237. <!-- ============================== event details ========================= -->
  238. <hr />
  239. </div>
  240. <!-- ============================== footer ================================= -->
  241. <div class="fineprint" style="clear:both">
  242. Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Tue Aug 21 2012 12:05:12 GMT-0700 (PDT)
  243. </div>
  244. </body>
  245. </html>