Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updating html-formatted documentation

  • Loading branch information...
commit e613b19636e1f7f002669c49422adfd4ac5704a1 1 parent 9ab70fb
Daniel Dotsenko authored
View
8 doc/files.html
@@ -186,8 +186,12 @@
<li><i><a href="symbols/_global_.html">_global_</a></i></li>
+ <li><a href="symbols/FontObject.html">FontObject</a></li>
+
<li><a href="symbols/jsPDF.html">jsPDF</a></li>
+ <li><a href="symbols/PubSub.html">PubSub</a></li>
+
</ul>
<hr />
</div>
@@ -197,7 +201,7 @@ <h1 class="classTitle">File Index</h1>
<div>
- <h2><a href="symbols/src/c__work_jsPDF_tools_jspdf.js.html">c:\work\jsPDF\tools\..\jspdf.js</a></h2>
+ <h2><a href="symbols/src/c__work_jsPDF_jspdf.js.html">c:\work\jsPDF\jspdf.js</a></h2>
<dl>
@@ -212,7 +216,7 @@ <h1 class="classTitle">File Index</h1>
</div>
<div class="fineprint" style="clear:both">
- Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Tue Feb 21 2012 17:56:10 GMT-0800 (PST)
+ Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Tue Aug 21 2012 13:09:28 GMT-0700 (PDT)
</div>
</body>
</html>
View
18 doc/index.html
@@ -186,8 +186,12 @@
<li><i><a href="symbols/_global_.html">_global_</a></i></li>
+ <li><a href="symbols/FontObject.html">FontObject</a></li>
+
<li><a href="symbols/jsPDF.html">jsPDF</a></li>
+ <li><a href="symbols/PubSub.html">PubSub</a></li>
+
</ul>
<hr />
</div>
@@ -203,16 +207,28 @@ <h1 class="classTitle">Class Index</h1>
<hr />
<div>
+ <h2><a href="symbols/FontObject.html">FontObject</a></h2>
+
+ </div>
+ <hr />
+
+ <div>
<h2><a href="symbols/jsPDF.html">jsPDF</a></h2>
</div>
<hr />
+ <div>
+ <h2><a href="symbols/PubSub.html">PubSub</a></h2>
+
+ </div>
+ <hr />
+
</div>
<div class="fineprint" style="clear:both">
- Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Wed Feb 22 2012 00:56:23 GMT-0800 (PST)
+ Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Tue Aug 21 2012 13:09:28 GMT-0700 (PDT)
</div>
</body>
</html>
View
430 doc/symbols/FontObject.html
@@ -0,0 +1,430 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta name="generator" content="JsDoc Toolkit" />
+
+ <title>JsDoc Reference - FontObject</title>
+
+ <style type="text/css">
+ /* default.css */
+body
+{
+ font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
+ width: 800px;
+}
+
+.header
+{
+ clear: both;
+ background-color: #ccc;
+ padding: 8px;
+}
+
+h1
+{
+ font-size: 150%;
+ font-weight: bold;
+ padding: 0;
+ margin: 1em 0 0 .3em;
+}
+
+hr
+{
+ border: none 0;
+ border-top: 1px solid #7F8FB1;
+ height: 1px;
+}
+
+pre.code
+{
+ display: block;
+ padding: 8px;
+ border: 1px dashed #ccc;
+}
+
+#index
+{
+ margin-top: 24px;
+ float: left;
+ width: 160px;
+ position: absolute;
+ left: 8px;
+ background-color: #F3F3F3;
+ padding: 8px;
+}
+
+#content
+{
+ margin-left: 190px;
+ width: 600px;
+}
+
+.classList
+{
+ list-style-type: none;
+ padding: 0;
+ margin: 0 0 0 8px;
+ font-family: arial, sans-serif;
+ font-size: 1em;
+ overflow: auto;
+}
+
+.classList li
+{
+ padding: 0;
+ margin: 0 0 8px 0;
+}
+
+.summaryTable { width: 100%; }
+
+h1.classTitle
+{
+ font-size:170%;
+ line-height:130%;
+}
+
+h2 { font-size: 110%; }
+caption, div.sectionTitle
+{
+ background-color: #7F8FB1;
+ color: #fff;
+ font-size:130%;
+ text-align: left;
+ padding: 2px 6px 2px 6px;
+ border: 1px #7F8FB1 solid;
+}
+
+div.sectionTitle { margin-bottom: 8px; }
+.summaryTable thead { display: none; }
+
+.summaryTable td
+{
+ vertical-align: top;
+ padding: 4px;
+ border-bottom: 1px #7F8FB1 solid;
+ border-right: 1px #7F8FB1 solid;
+}
+
+/*col#summaryAttributes {}*/
+.summaryTable td.attributes
+{
+ border-left: 1px #7F8FB1 solid;
+ width: 140px;
+ text-align: right;
+}
+
+td.attributes, .fixedFont
+{
+ line-height: 15px;
+ color: #002EBE;
+ font-family: "Courier New",Courier,monospace;
+ font-size: 13px;
+}
+
+.summaryTable td.nameDescription
+{
+ text-align: left;
+ font-size: 13px;
+ line-height: 15px;
+}
+
+.summaryTable td.nameDescription, .description
+{
+ line-height: 15px;
+ padding: 4px;
+ padding-left: 4px;
+}
+
+.summaryTable { margin-bottom: 8px; }
+
+ul.inheritsList
+{
+ list-style: square;
+ margin-left: 20px;
+ padding-left: 0;
+}
+
+.detailList {
+ margin-left: 20px;
+ line-height: 15px;
+}
+.detailList dt { margin-left: 20px; }
+
+.detailList .heading
+{
+ font-weight: bold;
+ padding-bottom: 6px;
+ margin-left: 0;
+}
+
+.light, td.attributes, .light a:link, .light a:visited
+{
+ color: #777;
+ font-style: italic;
+}
+
+.fineprint
+{
+ text-align: right;
+ font-size: 10px;
+}
+ </style>
+ </head>
+
+ <body>
+<!-- ============================== header ================================= -->
+ <!-- begin static/header.html -->
+ <div id="header">
+</div>
+ <!-- end static/header.html -->
+
+<!-- ============================== classes index ============================ -->
+ <div id="index">
+ <!-- begin publish.classesIndex -->
+ <div align="center"><a href="../index.html">Class Index</a>
+| <a href="../files.html">File Index</a></div>
+<hr />
+<h2>Classes</h2>
+<ul class="classList">
+
+ <li><i><a href="../symbols/_global_.html">_global_</a></i></li>
+
+ <li><a href="../symbols/FontObject.html">FontObject</a></li>
+
+ <li><a href="../symbols/jsPDF.html">jsPDF</a></li>
+
+ <li><a href="../symbols/PubSub.html">PubSub</a></li>
+
+</ul>
+<hr />
+ <!-- end publish.classesIndex -->
+ </div>
+
+ <div id="content">
+<!-- ============================== class title ============================ -->
+ <h1 class="classTitle">
+
+ Class FontObject
+ </h1>
+
+<!-- ============================== class summary ========================== -->
+ <p class="description">
+
+
+
+
+
+
+ <br /><i>Defined in: </i> <a href="../symbols/src/c__work_jsPDF_jspdf.js.html">jspdf.js</a>.
+
+ </p>
+
+<!-- ============================== constructor summary ==================== -->
+
+ <table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class FontObject.">
+ <caption>Class Summary</caption>
+ <thead>
+ <tr>
+ <th scope="col">Constructor Attributes</th>
+ <th scope="col">Constructor Name and Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription" >
+ <div class="fixedFont">
+ <b><a href="../symbols/FontObject.html#constructor">FontObject</a></b>()
+ </div>
+ <div class="description">FontObject describes a particular font as member of an instnace of jsPDF
+
+ It's a collection of properties like 'id' (to be used in PDF stream),
+ 'fontName' (font's family name), 'fontStyle' (font's style variant label)</div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+
+<!-- ============================== properties summary ===================== -->
+
+
+
+ <table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class FontObject.">
+ <caption>Field Summary</caption>
+ <thead>
+ <tr>
+ <th scope="col">Field Attributes</th>
+ <th scope="col">Field Name and Description</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont">
+ <b><a href="../symbols/FontObject.html#encoding">encoding</a></b>
+ </div>
+ <div class="description">Encoding_name-to-Font_metrics_object mapping.</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont">
+ <b><a href="../symbols/FontObject.html#id">id</a></b>
+ </div>
+ <div class="description">PDF-document-instance-specific label assinged to the font.</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont">
+ <b><a href="../symbols/FontObject.html#PostScriptName">PostScriptName</a></b>
+ </div>
+ <div class="description">PDF specification full name for the font</div>
+ </td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+<!-- ============================== methods summary ======================== -->
+
+<!-- ============================== events summary ======================== -->
+
+
+<!-- ============================== constructor details ==================== -->
+
+ <div class="details"><a name="constructor"> </a>
+ <div class="sectionTitle">
+ Class Detail
+ </div>
+
+ <div class="fixedFont">
+ <b>FontObject</b>()
+ </div>
+
+ <div class="description">
+ FontObject describes a particular font as member of an instnace of jsPDF
+
+ It's a collection of properties like 'id' (to be used in PDF stream),
+ 'fontName' (font's family name), 'fontStyle' (font's style variant label)
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+ </div>
+
+
+<!-- ============================== field details ========================== -->
+
+ <div class="sectionTitle">
+ Field Detail
+ </div>
+
+ <a name="encoding"> </a>
+ <div class="fixedFont">
+
+
+ <b>encoding</b>
+
+ </div>
+ <div class="description">
+ Encoding_name-to-Font_metrics_object mapping.
+
+
+ </div>
+
+
+
+
+
+
+
+
+ <hr />
+
+ <a name="id"> </a>
+ <div class="fixedFont">
+
+
+ <b>id</b>
+
+ </div>
+ <div class="description">
+ PDF-document-instance-specific label assinged to the font.
+
+
+ </div>
+
+
+
+
+
+
+
+
+ <hr />
+
+ <a name="PostScriptName"> </a>
+ <div class="fixedFont">
+
+
+ <b>PostScriptName</b>
+
+ </div>
+ <div class="description">
+ PDF specification full name for the font
+
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+<!-- ============================== method details ========================= -->
+
+
+<!-- ============================== event details ========================= -->
+
+
+ <hr />
+ </div>
+
+
+<!-- ============================== footer ================================= -->
+ <div class="fineprint" style="clear:both">
+
+ 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 13:09:28 GMT-0700 (PDT)
+ </div>
+ </body>
+</html>
View
488 doc/symbols/PubSub.html
@@ -0,0 +1,488 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta name="generator" content="JsDoc Toolkit" />
+
+ <title>JsDoc Reference - PubSub</title>
+
+ <style type="text/css">
+ /* default.css */
+body
+{
+ font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
+ width: 800px;
+}
+
+.header
+{
+ clear: both;
+ background-color: #ccc;
+ padding: 8px;
+}
+
+h1
+{
+ font-size: 150%;
+ font-weight: bold;
+ padding: 0;
+ margin: 1em 0 0 .3em;
+}
+
+hr
+{
+ border: none 0;
+ border-top: 1px solid #7F8FB1;
+ height: 1px;
+}
+
+pre.code
+{
+ display: block;
+ padding: 8px;
+ border: 1px dashed #ccc;
+}
+
+#index
+{
+ margin-top: 24px;
+ float: left;
+ width: 160px;
+ position: absolute;
+ left: 8px;
+ background-color: #F3F3F3;
+ padding: 8px;
+}
+
+#content
+{
+ margin-left: 190px;
+ width: 600px;
+}
+
+.classList
+{
+ list-style-type: none;
+ padding: 0;
+ margin: 0 0 0 8px;
+ font-family: arial, sans-serif;
+ font-size: 1em;
+ overflow: auto;
+}
+
+.classList li
+{
+ padding: 0;
+ margin: 0 0 8px 0;
+}
+
+.summaryTable { width: 100%; }
+
+h1.classTitle
+{
+ font-size:170%;
+ line-height:130%;
+}
+
+h2 { font-size: 110%; }
+caption, div.sectionTitle
+{
+ background-color: #7F8FB1;
+ color: #fff;
+ font-size:130%;
+ text-align: left;
+ padding: 2px 6px 2px 6px;
+ border: 1px #7F8FB1 solid;
+}
+
+div.sectionTitle { margin-bottom: 8px; }
+.summaryTable thead { display: none; }
+
+.summaryTable td
+{
+ vertical-align: top;
+ padding: 4px;
+ border-bottom: 1px #7F8FB1 solid;
+ border-right: 1px #7F8FB1 solid;
+}
+
+/*col#summaryAttributes {}*/
+.summaryTable td.attributes
+{
+ border-left: 1px #7F8FB1 solid;
+ width: 140px;
+ text-align: right;
+}
+
+td.attributes, .fixedFont
+{
+ line-height: 15px;
+ color: #002EBE;
+ font-family: "Courier New",Courier,monospace;
+ font-size: 13px;
+}
+
+.summaryTable td.nameDescription
+{
+ text-align: left;
+ font-size: 13px;
+ line-height: 15px;
+}
+
+.summaryTable td.nameDescription, .description
+{
+ line-height: 15px;
+ padding: 4px;
+ padding-left: 4px;
+}
+
+.summaryTable { margin-bottom: 8px; }
+
+ul.inheritsList
+{
+ list-style: square;
+ margin-left: 20px;
+ padding-left: 0;
+}
+
+.detailList {
+ margin-left: 20px;
+ line-height: 15px;
+}
+.detailList dt { margin-left: 20px; }
+
+.detailList .heading
+{
+ font-weight: bold;
+ padding-bottom: 6px;
+ margin-left: 0;
+}
+
+.light, td.attributes, .light a:link, .light a:visited
+{
+ color: #777;
+ font-style: italic;
+}
+
+.fineprint
+{
+ text-align: right;
+ font-size: 10px;
+}
+ </style>
+ </head>
+
+ <body>
+<!-- ============================== header ================================= -->
+ <!-- begin static/header.html -->
+ <div id="header">
+</div>
+ <!-- end static/header.html -->
+
+<!-- ============================== classes index ============================ -->
+ <div id="index">
+ <!-- begin publish.classesIndex -->
+ <div align="center"><a href="../index.html">Class Index</a>
+| <a href="../files.html">File Index</a></div>
+<hr />
+<h2>Classes</h2>
+<ul class="classList">
+
+ <li><i><a href="../symbols/_global_.html">_global_</a></i></li>
+
+ <li><a href="../symbols/FontObject.html">FontObject</a></li>
+
+ <li><a href="../symbols/jsPDF.html">jsPDF</a></li>
+
+ <li><a href="../symbols/PubSub.html">PubSub</a></li>
+
+</ul>
+<hr />
+ <!-- end publish.classesIndex -->
+ </div>
+
+ <div id="content">
+<!-- ============================== class title ============================ -->
+ <h1 class="classTitle">
+
+ Class PubSub
+ </h1>
+
+<!-- ============================== class summary ========================== -->
+ <p class="description">
+
+
+
+
+
+
+ <br /><i>Defined in: </i> <a href="../symbols/src/c__work_jsPDF_jspdf.js.html">jspdf.js</a>.
+
+ </p>
+
+<!-- ============================== constructor summary ==================== -->
+
+ <table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class PubSub.">
+ <caption>Class Summary</caption>
+ <thead>
+ <tr>
+ <th scope="col">Constructor Attributes</th>
+ <th scope="col">Constructor Name and Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription" >
+ <div class="fixedFont">
+ <b><a href="../symbols/PubSub.html#constructor">PubSub</a></b>()
+ </div>
+ <div class="description">PubSub implementation</div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+
+<!-- ============================== properties summary ===================== -->
+
+
+<!-- ============================== methods summary ======================== -->
+
+
+
+ <table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class PubSub.">
+ <caption>Method Summary</caption>
+ <thead>
+ <tr>
+ <th scope="col">Method Attributes</th>
+ <th scope="col">Method Name and Description</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/PubSub.html#publish">publish</a></b>(topic, **args)
+ </div>
+ <div class="description">Allows caller to emit an event and pass arguments to event listeners.</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/PubSub.html#subscribe">subscribe</a></b>(topic, callback, once)
+ </div>
+ <div class="description">Allows listener code to subscribe to channel and be called when data is available</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/PubSub.html#unsubscribe">unsubscribe</a></b>(token)
+ </div>
+ <div class="description">Allows listener code to unsubscribe from a channel</div>
+ </td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+<!-- ============================== events summary ======================== -->
+
+
+<!-- ============================== constructor details ==================== -->
+
+ <div class="details"><a name="constructor"> </a>
+ <div class="sectionTitle">
+ Class Detail
+ </div>
+
+ <div class="fixedFont">
+ <b>PubSub</b>()
+ </div>
+
+ <div class="description">
+ PubSub implementation
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+ </div>
+
+
+<!-- ============================== field details ========================== -->
+
+
+<!-- ============================== method details ========================= -->
+
+ <div class="sectionTitle">
+ Method Detail
+ </div>
+
+ <a name="publish"> </a>
+ <div class="fixedFont">
+
+
+ <b>publish</b>(topic, **args)
+
+ </div>
+ <div class="description">
+ Allows caller to emit an event and pass arguments to event listeners.
+
+
+ </div>
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Parameters:</dt>
+
+ <dt>
+ <b>topic</b>
+
+ </dt>
+ <dd>{String} Name of the channel on which to voice this event</dd>
+
+ <dt>
+ <b>**args</b>
+
+ </dt>
+ <dd>Any number of arguments you want to pass to the listeners of this event.</dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+ <hr />
+
+ <a name="subscribe"> </a>
+ <div class="fixedFont">
+
+ <span class="light">{Object}</span>
+ <b>subscribe</b>(topic, callback, once)
+
+ </div>
+ <div class="description">
+ Allows listener code to subscribe to channel and be called when data is available
+
+
+ </div>
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Parameters:</dt>
+
+ <dt>
+ <b>topic</b>
+
+ </dt>
+ <dd>{String} Name of the channel on which to voice this event</dd>
+
+ <dt>
+ <b>callback</b>
+
+ </dt>
+ <dd>{Function} Executable (function pointer) that will be ran when event is voiced on this channel.</dd>
+
+ <dt>
+ <b>once</b>
+
+ </dt>
+ <dd>{Boolean} (optional. False by default) Flag indicating if the function is to be triggered only once.</dd>
+
+ </dl>
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Returns:</dt>
+
+ <dd><span class="light fixedFont">{Object}</span> A token object that cen be used for unsubscribing.</dd>
+
+ </dl>
+
+
+
+
+ <hr />
+
+ <a name="unsubscribe"> </a>
+ <div class="fixedFont">
+
+
+ <b>unsubscribe</b>(token)
+
+ </div>
+ <div class="description">
+ Allows listener code to unsubscribe from a channel
+
+
+ </div>
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Parameters:</dt>
+
+ <dt>
+ <b>token</b>
+
+ </dt>
+ <dd>{Object} A token object that was returned by `subscribe` method</dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+<!-- ============================== event details ========================= -->
+
+
+ <hr />
+ </div>
+
+
+<!-- ============================== footer ================================= -->
+ <div class="fineprint" style="clear:both">
+
+ 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 13:09:28 GMT-0700 (PDT)
+ </div>
+ </body>
+</html>
View
90 doc/symbols/_global_.html
@@ -191,8 +191,12 @@
<li><i><a href="../symbols/_global_.html">_global_</a></i></li>
+ <li><a href="../symbols/FontObject.html">FontObject</a></li>
+
<li><a href="../symbols/jsPDF.html">jsPDF</a></li>
+ <li><a href="../symbols/PubSub.html">PubSub</a></li>
+
</ul>
<hr />
<!-- end publish.classesIndex -->
@@ -223,6 +227,33 @@ <h1 class="classTitle">
<!-- ============================== methods summary ======================== -->
+
+
+ <table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class _global_.">
+ <caption>Method Summary</caption>
+ <thead>
+ <tr>
+ <th scope="col">Method Attributes</th>
+ <th scope="col">Method Name and Description</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/_global_.html#to8bitStream">to8bitStream</a></b>(text, flags)
+ </div>
+ <div class="description"></div>
+ </td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
<!-- ============================== events summary ======================== -->
@@ -234,6 +265,63 @@ <h1 class="classTitle">
<!-- ============================== method details ========================= -->
+ <div class="sectionTitle">
+ Method Detail
+ </div>
+
+ <a name="to8bitStream"> </a>
+ <div class="fixedFont">
+
+ <span class="light">{String}</span>
+ <b>to8bitStream</b>(text, flags)
+
+ </div>
+ <div class="description">
+
+
+ <br />
+ <i>Defined in: </i> <a href="../symbols/src/c__work_jsPDF_jspdf.js.html">jspdf.js</a>.
+
+
+ </div>
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Parameters:</dt>
+
+ <dt>
+ <b>text</b>
+
+ </dt>
+ <dd>{String}</dd>
+
+ <dt>
+ <b>flags</b>
+
+ </dt>
+ <dd>{Object} Encoding flags.</dd>
+
+ </dl>
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Returns:</dt>
+
+ <dd><span class="light fixedFont">{String}</span> Encoded string</dd>
+
+ </dl>
+
+
+
+
+
+
+
<!-- ============================== event details ========================= -->
@@ -245,7 +333,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
- Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Tue Feb 21 2012 17:56:10 GMT-0800 (PST)
+ 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 13:09:28 GMT-0700 (PDT)
</div>
</body>
</html>
View
566 doc/symbols/jsPDF-PubSub.html
@@ -0,0 +1,566 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta name="generator" content="JsDoc Toolkit" />
+
+ <title>JsDoc Reference - jsPDF-PubSub</title>
+
+ <style type="text/css">
+ /* default.css */
+body
+{
+ font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
+ width: 800px;
+}
+
+.header
+{
+ clear: both;
+ background-color: #ccc;
+ padding: 8px;
+}
+
+h1
+{
+ font-size: 150%;
+ font-weight: bold;
+ padding: 0;
+ margin: 1em 0 0 .3em;
+}
+
+hr
+{
+ border: none 0;
+ border-top: 1px solid #7F8FB1;
+ height: 1px;
+}
+
+pre.code
+{
+ display: block;
+ padding: 8px;
+ border: 1px dashed #ccc;
+}
+
+#index
+{
+ margin-top: 24px;
+ float: left;
+ width: 160px;
+ position: absolute;
+ left: 8px;
+ background-color: #F3F3F3;
+ padding: 8px;
+}
+
+#content
+{
+ margin-left: 190px;
+ width: 600px;
+}
+
+.classList
+{
+ list-style-type: none;
+ padding: 0;
+ margin: 0 0 0 8px;
+ font-family: arial, sans-serif;
+ font-size: 1em;
+ overflow: auto;
+}
+
+.classList li
+{
+ padding: 0;
+ margin: 0 0 8px 0;
+}
+
+.summaryTable { width: 100%; }
+
+h1.classTitle
+{
+ font-size:170%;
+ line-height:130%;
+}
+
+h2 { font-size: 110%; }
+caption, div.sectionTitle
+{
+ background-color: #7F8FB1;
+ color: #fff;
+ font-size:130%;
+ text-align: left;
+ padding: 2px 6px 2px 6px;
+ border: 1px #7F8FB1 solid;
+}
+
+div.sectionTitle { margin-bottom: 8px; }
+.summaryTable thead { display: none; }
+
+.summaryTable td
+{
+ vertical-align: top;
+ padding: 4px;
+ border-bottom: 1px #7F8FB1 solid;
+ border-right: 1px #7F8FB1 solid;
+}
+
+/*col#summaryAttributes {}*/
+.summaryTable td.attributes
+{
+ border-left: 1px #7F8FB1 solid;
+ width: 140px;
+ text-align: right;
+}
+
+td.attributes, .fixedFont
+{
+ line-height: 15px;
+ color: #002EBE;
+ font-family: "Courier New",Courier,monospace;
+ font-size: 13px;
+}
+
+.summaryTable td.nameDescription
+{
+ text-align: left;
+ font-size: 13px;
+ line-height: 15px;
+}
+
+.summaryTable td.nameDescription, .description
+{
+ line-height: 15px;
+ padding: 4px;
+ padding-left: 4px;
+}
+
+.summaryTable { margin-bottom: 8px; }
+
+ul.inheritsList
+{
+ list-style: square;
+ margin-left: 20px;
+ padding-left: 0;
+}
+
+.detailList {
+ margin-left: 20px;
+ line-height: 15px;
+}
+.detailList dt { margin-left: 20px; }
+
+.detailList .heading
+{
+ font-weight: bold;
+ padding-bottom: 6px;
+ margin-left: 0;
+}
+
+.light, td.attributes, .light a:link, .light a:visited
+{
+ color: #777;
+ font-style: italic;
+}
+
+.fineprint
+{
+ text-align: right;
+ font-size: 10px;
+}
+ </style>
+ </head>
+
+ <body>
+<!-- ============================== header ================================= -->
+ <!-- begin static/header.html -->
+ <div id="header">
+</div>
+ <!-- end static/header.html -->
+
+<!-- ============================== classes index ============================ -->
+ <div id="index">
+ <!-- begin publish.classesIndex -->
+ <div align="center"><a href="../index.html">Class Index</a>
+| <a href="../files.html">File Index</a></div>
+<hr />
+<h2>Classes</h2>
+<ul class="classList">
+
+ <li><i><a href="../symbols/_global_.html">_global_</a></i></li>
+
+ <li><a href="../symbols/FontObject.html">FontObject</a></li>
+
+ <li><a href="../symbols/jsPDF.html">jsPDF</a></li>
+
+ <li><a href="../symbols/jsPDF-PubSub.html">jsPDF-PubSub</a></li>
+
+</ul>
+<hr />
+ <!-- end publish.classesIndex -->
+ </div>
+
+ <div id="content">
+<!-- ============================== class title ============================ -->
+ <h1 class="classTitle">
+
+ Class jsPDF-PubSub
+ </h1>
+
+<!-- ============================== class summary ========================== -->
+ <p class="description">
+
+
+
+
+
+
+ <br /><i>Defined in: </i> <a href="../symbols/src/c__work_jsPDF_jspdf.js.html">jspdf.js</a>.
+
+ </p>
+
+<!-- ============================== constructor summary ==================== -->
+
+ <table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class jsPDF-PubSub.">
+ <caption>Class Summary</caption>
+ <thead>
+ <tr>
+ <th scope="col">Constructor Attributes</th>
+ <th scope="col">Constructor Name and Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td class="attributes">&lt;inner&gt; &nbsp;</td>
+ <td class="nameDescription" >
+ <div class="fixedFont">
+ <b><a href="../symbols/jsPDF-PubSub.html#constructor">jsPDF-PubSub</a></b>(context)
+ </div>
+ <div class="description">PubSub implementation</div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+
+<!-- ============================== properties summary ===================== -->
+
+
+
+ <table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class jsPDF-PubSub.">
+ <caption>Field Summary</caption>
+ <thead>
+ <tr>
+ <th scope="col">Field Attributes</th>
+ <th scope="col">Field Name and Description</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont">
+ <b><a href="../symbols/jsPDF-PubSub.html#topics">topics</a></b>
+ </div>
+ <div class="description"></div>
+ </td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+<!-- ============================== methods summary ======================== -->
+
+
+
+ <table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class jsPDF-PubSub.">
+ <caption>Method Summary</caption>
+ <thead>
+ <tr>
+ <th scope="col">Method Attributes</th>
+ <th scope="col">Method Name and Description</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/jsPDF-PubSub.html#publish">publish</a></b>(topic, **arguments, arg2, etc)
+ </div>
+ <div class="description">Allows caller to emit an event and pass arguments to event listeners.</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/jsPDF-PubSub.html#subscribe">subscribe</a></b>(topic, callback, once)
+ </div>
+ <div class="description">Allows listener code to subscribe to channel and be called when data is available</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/jsPDF-PubSub.html#unsubscribe">unsubscribe</a></b>(token)
+ </div>
+ <div class="description">Allows listener code to unsubscribe from a channel</div>
+ </td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+<!-- ============================== events summary ======================== -->
+
+
+<!-- ============================== constructor details ==================== -->
+
+ <div class="details"><a name="constructor"> </a>
+ <div class="sectionTitle">
+ Class Detail
+ </div>
+
+ <div class="fixedFont">&lt;inner&gt;
+ <b>jsPDF-PubSub</b>(context)
+ </div>
+
+ <div class="description">
+ PubSub implementation
+
+ </div>
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Parameters:</dt>
+
+ <dt>
+ <b>context</b>
+
+ </dt>
+ <dd></dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+ </div>
+
+
+<!-- ============================== field details ========================== -->
+
+ <div class="sectionTitle">
+ Field Detail
+ </div>
+
+ <a name="topics"> </a>
+ <div class="fixedFont">
+
+
+ <b>topics</b>
+
+ </div>
+ <div class="description">
+
+
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+<!-- ============================== method details ========================= -->
+
+ <div class="sectionTitle">
+ Method Detail
+ </div>
+
+ <a name="publish"> </a>
+ <div class="fixedFont">
+
+
+ <b>publish</b>(topic, **arguments, arg2, etc)
+
+ </div>
+ <div class="description">
+ Allows caller to emit an event and pass arguments to event listeners.
+
+
+ </div>
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Parameters:</dt>
+
+ <dt>
+ <b>topic</b>
+
+ </dt>
+ <dd>{String} Name of the channel on which to voice this event</dd>
+
+ <dt>
+ <b>**arguments</b>
+
+ </dt>
+ <dd>Any number of arguments you want to pass to the listeners of this event.</dd>
+
+ <dt>
+ <b>arg2</b>
+
+ </dt>
+ <dd></dd>
+
+ <dt>
+ <b>etc</b>
+
+ </dt>
+ <dd></dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+ <hr />
+
+ <a name="subscribe"> </a>
+ <div class="fixedFont">
+
+ <span class="light">{Object}</span>
+ <b>subscribe</b>(topic, callback, once)
+
+ </div>
+ <div class="description">
+ Allows listener code to subscribe to channel and be called when data is available
+
+
+ </div>
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Parameters:</dt>
+
+ <dt>
+ <b>topic</b>
+
+ </dt>
+ <dd>{String} Name of the channel on which to voice this event</dd>
+
+ <dt>
+ <b>callback</b>
+
+ </dt>
+ <dd>{Function} Executable (function pointer) that will be ran when event is voiced on this channel.</dd>
+
+ <dt>
+ <b>once</b>
+
+ </dt>
+ <dd>{Boolean} (optional. False by default) Flag indicating if the function is to be triggered only once.</dd>
+
+ </dl>
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Returns:</dt>
+
+ <dd><span class="light fixedFont">{Object}</span> A token object that cen be used for unsubscribing.</dd>
+
+ </dl>
+
+
+
+
+ <hr />
+
+ <a name="unsubscribe"> </a>
+ <div class="fixedFont">
+
+
+ <b>unsubscribe</b>(token)
+
+ </div>
+ <div class="description">
+ Allows listener code to unsubscribe from a channel
+
+
+ </div>
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Parameters:</dt>
+
+ <dt>
+ <b>token</b>
+
+ </dt>
+ <dd>{Object} A token object that was returned by `subscribe` method</dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+<!-- ============================== event details ========================= -->
+
+
+ <hr />
+ </div>
+
+
+<!-- ============================== footer ================================= -->
+ <div class="fineprint" style="clear:both">
+
+ 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:58:07 GMT-0700 (PDT)
+ </div>
+ </body>
+</html>
View
326 doc/symbols/jsPDF-jsPDF.html
@@ -0,0 +1,326 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta name="generator" content="JsDoc Toolkit" />
+
+ <title>JsDoc Reference - jsPDF-jsPDF</title>
+
+ <style type="text/css">
+ /* default.css */
+body
+{
+ font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
+ width: 800px;
+}
+
+.header
+{
+ clear: both;
+ background-color: #ccc;
+ padding: 8px;
+}
+
+h1
+{
+ font-size: 150%;
+ font-weight: bold;
+ padding: 0;
+ margin: 1em 0 0 .3em;
+}
+
+hr
+{
+ border: none 0;
+ border-top: 1px solid #7F8FB1;
+ height: 1px;
+}
+
+pre.code
+{
+ display: block;
+ padding: 8px;
+ border: 1px dashed #ccc;
+}
+
+#index
+{
+ margin-top: 24px;
+ float: left;
+ width: 160px;
+ position: absolute;
+ left: 8px;
+ background-color: #F3F3F3;
+ padding: 8px;
+}
+
+#content
+{
+ margin-left: 190px;
+ width: 600px;
+}
+
+.classList
+{
+ list-style-type: none;
+ padding: 0;
+ margin: 0 0 0 8px;
+ font-family: arial, sans-serif;
+ font-size: 1em;
+ overflow: auto;
+}
+
+.classList li
+{
+ padding: 0;
+ margin: 0 0 8px 0;
+}
+
+.summaryTable { width: 100%; }
+
+h1.classTitle
+{
+ font-size:170%;
+ line-height:130%;
+}
+
+h2 { font-size: 110%; }
+caption, div.sectionTitle
+{
+ background-color: #7F8FB1;
+ color: #fff;
+ font-size:130%;
+ text-align: left;
+ padding: 2px 6px 2px 6px;
+ border: 1px #7F8FB1 solid;
+}
+
+div.sectionTitle { margin-bottom: 8px; }
+.summaryTable thead { display: none; }
+
+.summaryTable td
+{
+ vertical-align: top;
+ padding: 4px;
+ border-bottom: 1px #7F8FB1 solid;
+ border-right: 1px #7F8FB1 solid;
+}
+
+/*col#summaryAttributes {}*/
+.summaryTable td.attributes
+{
+ border-left: 1px #7F8FB1 solid;
+ width: 140px;
+ text-align: right;
+}
+
+td.attributes, .fixedFont
+{
+ line-height: 15px;
+ color: #002EBE;
+ font-family: "Courier New",Courier,monospace;
+ font-size: 13px;
+}
+
+.summaryTable td.nameDescription
+{
+ text-align: left;
+ font-size: 13px;
+ line-height: 15px;
+}
+
+.summaryTable td.nameDescription, .description
+{
+ line-height: 15px;
+ padding: 4px;
+ padding-left: 4px;
+}
+
+.summaryTable { margin-bottom: 8px; }
+
+ul.inheritsList
+{
+ list-style: square;
+ margin-left: 20px;
+ padding-left: 0;
+}
+
+.detailList {
+ margin-left: 20px;
+ line-height: 15px;
+}
+.detailList dt { margin-left: 20px; }
+
+.detailList .heading
+{
+ font-weight: bold;
+ padding-bottom: 6px;
+ margin-left: 0;
+}
+
+.light, td.attributes, .light a:link, .light a:visited
+{
+ color: #777;
+ font-style: italic;
+}
+
+.fineprint
+{
+ text-align: right;
+ font-size: 10px;
+}
+ </style>
+ </head>
+
+ <body>
+<!-- ============================== header ================================= -->
+ <!-- begin static/header.html -->
+ <div id="header">
+</div>
+ <!-- end static/header.html -->
+
+<!-- ============================== classes index ============================ -->
+ <div id="index">
+ <!-- begin publish.classesIndex -->
+ <div align="center"><a href="../index.html">Class Index</a>
+| <a href="../files.html">File Index</a></div>
+<hr />
+<h2>Classes</h2>
+<ul class="classList">
+
+ <li><i><a href="../symbols/_global_.html">_global_</a></i></li>
+
+ <li><a href="../symbols/jsPDF.html">jsPDF</a></li>
+
+ <li><a href="../symbols/jsPDF-jsPDF.html">jsPDF-jsPDF</a></li>
+
+</ul>
+<hr />
+ <!-- end publish.classesIndex -->
+ </div>
+
+ <div id="content">
+<!-- ============================== class title ============================ -->
+ <h1 class="classTitle">
+
+ Class jsPDF-jsPDF
+ </h1>
+
+<!-- ============================== class summary ========================== -->
+ <p class="description">
+
+
+
+
+
+
+ <br /><i>Defined in: </i> <a href="../symbols/src/c__work_jsPDF_jspdf.js.html">jspdf.js</a>.
+
+ </p>
+
+<!-- ============================== constructor summary ==================== -->
+
+ <table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class jsPDF-jsPDF.">
+ <caption>Class Summary</caption>
+ <thead>
+ <tr>
+ <th scope="col">Constructor Attributes</th>
+ <th scope="col">Constructor Name and Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td class="attributes">&lt;inner&gt; &nbsp;</td>
+ <td class="nameDescription" >
+ <div class="fixedFont">
+ <b><a href="../symbols/jsPDF-jsPDF.html#constructor">jsPDF-jsPDF</a></b>(orientation, unit, format)
+ </div>
+ <div class="description"></div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+
+<!-- ============================== properties summary ===================== -->
+
+
+<!-- ============================== methods summary ======================== -->
+
+<!-- ============================== events summary ======================== -->
+
+
+<!-- ============================== constructor details ==================== -->
+
+ <div class="details"><a name="constructor"> </a>
+ <div class="sectionTitle">
+ Class Detail
+ </div>
+
+ <div class="fixedFont">&lt;inner&gt;
+ <b>jsPDF-jsPDF</b>(orientation, unit, format)
+ </div>
+
+ <div class="description">
+
+
+ </div>
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Parameters:</dt>
+
+ <dt>
+ <span class="light fixedFont">{String}</span> <b>orientation</b>
+
+ </dt>
+ <dd></dd>
+
+ <dt>
+ <span class="light fixedFont">{String}</span> <b>unit</b>
+
+ </dt>
+ <dd></dd>
+
+ <dt>
+ <span class="light fixedFont">{String}</span> <b>format</b>
+
+ </dt>
+ <dd></dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+ </div>
+
+
+<!-- ============================== field details ========================== -->
+
+
+<!-- ============================== method details ========================= -->
+
+
+<!-- ============================== event details ========================= -->
+
+
+ <hr />
+ </div>
+
+
+<!-- ============================== footer ================================= -->
+ <div class="fineprint" style="clear:both">
+
+ 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:23:43 GMT-0700 (PDT)
+ </div>
+ </body>
+</html>
View
1,217 doc/symbols/jsPDF.html
@@ -191,8 +191,12 @@
<li><i><a href="../symbols/_global_.html">_global_</a></i></li>
+ <li><a href="../symbols/FontObject.html">FontObject</a></li>
+
<li><a href="../symbols/jsPDF.html">jsPDF</a></li>
+ <li><a href="../symbols/PubSub.html">PubSub</a></li>
+
</ul>
<hr />
<!-- end publish.classesIndex -->
@@ -213,7 +217,7 @@ <h1 class="classTitle">
- <br /><i>Defined in: </i> <a href="../symbols/src/c__work_jsPDF_tools_jspdf.js.html">jspdf.js</a>.
+ <br /><i>Defined in: </i> <a href="../symbols/src/c__work_jsPDF_jspdf.js.html">jspdf.js</a>.
</p>
@@ -243,6 +247,46 @@ <h1 class="classTitle">
<!-- ============================== properties summary ===================== -->
+
+
+ <table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class jsPDF.">
+ <caption>Field Summary</caption>
+ <thead>
+ <tr>
+ <th scope="col">Field Attributes</th>
+ <th scope="col">Field Name and Description</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont">
+ jsPDF.<b><a href="../symbols/jsPDF.html#.API">API</a></b>
+ </div>
+ <div class="description">jsPDF.API is a STATIC property of jsPDF class.</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont">
+ <b><a href="../symbols/jsPDF.html#CapJoinStyles">CapJoinStyles</a></b>
+ </div>
+ <div class="description">Is an Object providing a mapping from human-readable to
+ integer flag values designating the varieties of line cap
+ and join styles.</div>
+ </td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
<!-- ============================== methods summary ======================== -->
@@ -261,7 +305,7 @@ <h1 class="classTitle">
<tr>
<td class="attributes">&nbsp;</td>
<td class="nameDescription">
- <div class="fixedFont">jsPDF.<b><a href="../symbols/jsPDF.html#.addPage">addPage</a></b>()
+ <div class="fixedFont"><b><a href="../symbols/jsPDF.html#addPage">addPage</a></b>()
</div>
<div class="description">Adds (and transfers the focus to) new page to the PDF document.</div>
</td>
@@ -270,12 +314,169 @@ <h1 class="classTitle">
<tr>
<td class="attributes">&nbsp;</td>
<td class="nameDescription">
- <div class="fixedFont">jsPDF.<b><a href="../symbols/jsPDF.html#.text">text</a></b>(x, y, text)
+ <div class="fixedFont"><b><a href="../symbols/jsPDF.html#circle">circle</a></b>(x, y, r, style)
+ </div>
+ <div class="description">Adds an circle to PDF</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/jsPDF.html#ellipse">ellipse</a></b>(x, y, rx, rx, style)
+ </div>
+ <div class="description">Adds an ellipse to PDF</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/jsPDF.html#getFontList">getFontList</a></b>()
+ </div>
+ <div class="description">Returns an object - a tree of fontName to fontStyle relationships available to
+ active PDF document.</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/jsPDF.html#lines">lines</a></b>(lines, x, y, scale)
+ </div>
+ <div class="description">Adds series of curves (straight lines or cubic bezier curves) to canvas, starting at `x`, `y` coordinates.</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/jsPDF.html#output">output</a></b>(type, options)
+ </div>
+ <div class="description">Generates the PDF document.</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/jsPDF.html#rect">rect</a></b>(x, y, w, h, style)
+ </div>
+ <div class="description">Adds a rectangle to PDF</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/jsPDF.html#setDrawColor">setDrawColor</a></b>(r, g, b)
+ </div>
+ <div class="description">Sets the stroke color for upcoming elements.</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/jsPDF.html#setFillColor">setFillColor</a></b>(r, g, b)
+ </div>
+ <div class="description">Sets the fill color for upcoming elements.</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/jsPDF.html#setFont">setFont</a></b>(fontName, fontStyle)
+ </div>
+ <div class="description">Sets text font face, variant for upcoming text elements.</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/jsPDF.html#setFontSize">setFontSize</a></b>(size)
+ </div>
+ <div class="description">Sets font size for upcoming text elements.</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/jsPDF.html#setFontStyle">setFontStyle</a></b>(style)
+ </div>
+ <div class="description">Switches font style or variant for upcoming text elements,
+ while keeping the font face or family same.</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/jsPDF.html#setLineCap">setLineCap</a></b>(style)
+ </div>
+ <div class="description">Sets the line cap styles
+ See {jsPDF.CapJoinStyles} for variants</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/jsPDF.html#setLineJoin">setLineJoin</a></b>(style)
+ </div>
+ <div class="description">Sets the line join styles
+ See {jsPDF.CapJoinStyles} for variants</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/jsPDF.html#setLineWidth">setLineWidth</a></b>(width)
+ </div>
+ <div class="description">Sets line width for upcoming lines.</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/jsPDF.html#setProperties">setProperties</a></b>(A)
+ </div>
+ <div class="description">Adds a properties to the PDF document</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/jsPDF.html#setTextColor">setTextColor</a></b>(r, g, b)
+ </div>
+ <div class="description">Sets the text color for upcoming elements.</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/jsPDF.html#text">text</a></b>(text, x, y, flags)
</div>
<div class="description">Adds text to page.</div>
</td>
</tr>
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont"><b><a href="../symbols/jsPDF.html#triangle">triangle</a></b>(x1, y1, x2, y2, x3, y3, style)
+ </div>
+ <div class="description">Adds a triangle to PDF</div>
+ </td>
+ </tr>
+
</tbody>
</table>
@@ -309,19 +510,19 @@ <h1 class="classTitle">
<dt class="heading">Parameters:</dt>
<dt>
- <span class="light fixedFont">{String}</span> <b>orientation</b>
+ <b>orientation</b>
</dt>
<dd>One of "portrait" or "landscape" (or shortcuts "p" (Default), "l")</dd>
<dt>
- <span class="light fixedFont">{String}</span> <b>unit</b>
+ <b>unit</b>
</dt>
<dd>Measurement unit to be used when coordinates are specified. One of "pt" (points), "mm" (Default), "cm", "in"</dd>
<dt>
- <span class="light fixedFont">{String}</span> <b>format</b>
+ <b>format</b>
</dt>
<dd>One of 'a3', 'a4' (Default),'a5' ,'letter' ,'legal'</dd>
@@ -347,6 +548,75 @@ <h1 class="classTitle">
<!-- ============================== field details ========================== -->
+ <div class="sectionTitle">
+ Field Detail
+ </div>
+
+ <a name=".API"> </a>
+ <div class="fixedFont">
+
+
+ <span class="light">jsPDF.</span><b>API</b>
+
+ </div>
+ <div class="description">
+ jsPDF.API is a STATIC property of jsPDF class.
+jsPDF.API is an object you can add methods and properties to.
+The methods / properties you add will show up in new jsPDF objects.
+
+One property is prepopulated. It is the 'events' Object. Plugin authors can add topics, callbacks to this object. These will be reassigned to all new instances of jsPDF.
+Examples:
+ jsPDF.API.events['initialized'] = function(){ 'this' is API object }
+ jsPDF.API.events['addFont'] = function(added_font_object){ 'this' is API object }
+
+
+ </div>
+
+
+
+ <pre class="code"> jsPDF.API.mymethod = function(){
+ // 'this' will be ref to internal API object. see jsPDF source
+ // , so you can refer to built-in methods like so:
+ // this.line(....)
+ // this.text(....)
+ }
+ var pdfdoc = new jsPDF()
+ pdfdoc.mymethod() // <- !!!!!!</pre>
+
+
+
+
+
+
+
+
+ <hr />
+
+ <a name="CapJoinStyles"> </a>
+ <div class="fixedFont">
+
+ <span class="light">{Object}</span>
+ <b>CapJoinStyles</b>
+
+ </div>
+ <div class="description">
+ Is an Object providing a mapping from human-readable to
+ integer flag values designating the varieties of line cap
+ and join styles.