Skip to content

cell plugin & pdf compression with Deflate & javascript plugin #75

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Mar 17, 2013

Conversation

lifof
Copy link
Contributor

@lifof lifof commented Mar 9, 2013

Cells and tables across pages.
Activate compression in pdf.
Embeded PDF JavaScript plugin.

@lifof
Copy link
Contributor Author

lifof commented Mar 11, 2013

Sample code : http://jsfiddle.net/youssef_beddad/MzuE2/

@MrRio
Copy link
Member

MrRio commented Mar 11, 2013

Thanks for this :) I'll review this evening.

@lifof
Copy link
Contributor Author

lifof commented Mar 12, 2013

Sample combining DEFLATE and cell : http://jsfiddle.net/youssef_beddad/9e43G/

@lifof
Copy link
Contributor Author

lifof commented Mar 13, 2013

Hi

Please don't merge this code cause i found some bugs in the cell plugin, when creating a table starting from the bottom or middle of the page it will do the same for the other portions in the next pages, the code is messy but i'll get it to work and add some docs in the upcoming commits as soon as possible.

Thanks in advance
&
Have a great day

@MrRio
Copy link
Member

MrRio commented Mar 13, 2013

Thanks, I'll leave this Pull Request open to remind me.

Perhaps the API should be along the lines of:

var pdf = new jsPDF();
pdf.table(x, y, w, h, {
headers: ['one', 'two', 'three'],
content: [
['val', 'val', 'val'],
['row 2', 'etc', 'etc']
]
});

@lifof
Copy link
Contributor Author

lifof commented Mar 13, 2013

Thanks that's a great idea i'll work on it.

@lifof
Copy link
Contributor Author

lifof commented Mar 14, 2013

Sample for jsPDF plugin Javascript - auto print : http://jsfiddle.net/youssef_beddad/q7EZt/

@lifof
Copy link
Contributor Author

lifof commented Mar 14, 2013

Hello

I think it's ok to merge now.Next addition will be the Table function.

Thanks again
&
Have a great day

innerdaze and others added 9 commits March 15, 2013 14:36
Added support for separate table header names & indexes
… as submodules.

Also replacing BlobBuilder.js with Blob.js
-Fixed some issues that broke cell fonctionnality.
-Added Opera and Safari browser check when saving pdf.
jspdf.js :
-Fixed Blob creation params.
Added check for Safari and Opera.
jspdf.plugin.cell.js & jspdf.plugin.javascript.js :
No more JSLint complains.
Fixed and Reordered some portions of code to be more JSLint friendly.
 - Fixed jsPDFAPI.getTextDimensions
@MrRio
Copy link
Member

MrRio commented Mar 17, 2013

Thanks, some really great fixes and changes in here.

No more asking about Safari or Opera
@lifof
Copy link
Contributor Author

lifof commented Mar 17, 2013

No problem this is also thanks to @lsdriscoll ^^

MrRio added a commit that referenced this pull request Mar 17, 2013
cell plugin & pdf compression with Deflate & javascript plugin
@MrRio MrRio merged commit 13b4be8 into parallax:master Mar 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy