Generate a directive in to pdf with index CSS.

64 views
Skip to first unread message

Shihabudheen

unread,
Apr 1, 2015, 6:49:28 AM4/1/15
to ang...@googlegroups.com
 

  I want to comvert a directive in to PDF (Export as pdf). Is there any library for that?

Gustavo Cruz

unread,
Apr 1, 2015, 8:35:06 AM4/1/15
to ang...@googlegroups.com
Maybe jsPDF ?

On Wed, Apr 1, 2015 at 7:49 AM, Shihabudheen <shihab...@gmail.com> wrote:
 

  I want to comvert a directive in to PDF (Export as pdf). Is there any library for that?

--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

muhammed shihabudheen

unread,
Apr 1, 2015, 9:44:00 AM4/1/15
to ang...@googlegroups.com
Thanks for the answer.. It is working also. But problem is not taking CSS when I am converting and div in to pdf.

--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/ep8FOLFibgU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.

To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.



--
Thanks
Muhammed Shihabudheen f
Web developer.
Mob:971556679474

Sander Elias

unread,
Apr 1, 2015, 9:48:32 AM4/1/15
to ang...@googlegroups.com
Maybe it's an idea to consult the authors of the jsPDF tool then?

muhammed shihabudheen

unread,
Apr 1, 2015, 9:53:32 AM4/1/15
to ang...@googlegroups.com

On Wed, Apr 1, 2015 at 5:48 PM, Sander Elias <sande...@gmail.com> wrote:
Maybe it's an idea to consult the authors of the jsPDF tool then?

--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/ep8FOLFibgU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

vikram raj

unread,
Apr 1, 2015, 9:53:57 AM4/1/15
to ang...@googlegroups.com
You have to write the css inside the HTML.

muhammed shihabudheen

unread,
Apr 1, 2015, 9:56:47 AM4/1/15
to ang...@googlegroups.com
Inlince css also not working, Images also not taking.. :(

--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/ep8FOLFibgU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

vikram raj

unread,
Apr 1, 2015, 11:14:32 AM4/1/15
to ang...@googlegroups.com
have a look at this. https://parall.ax/products/jspdf. hope this will be helpful 
Reply all
Reply to author
Forward
0 new messages