I decided to "svn co" afew open source apps particularly Code::Blocks and see how they handle exporting of documents.
Styling of content is handled differently and independently for each output format.
Sadly HTML styling is not given enough emphasis in c/c++ pdf libs.
Could have been a very very usefull shortcut.
 


_______________________________________________

In programming, as in everything else, to be in error is to be reborn. 
_______________________________________________




2012/11/12 Wanjohi Ndegwa <andegs2000@gmail.com>
Hey James, did you ever find a solution to your problem?



On Fri, Nov 2, 2012 at 10:07 PM, James Nzomo <kazikubwa@gmail.com> wrote:
Never heard of it before but looks very very USEFULL. 
Lemme see how to work with it.




_______________________________________________

In programming, as in everything else, to be in error is to be reborn. 
_______________________________________________




2012/11/2 <ashok+skunkworks@parliaments.info>



2012/11/1 James Nzomo <kazikubwa@gmail.com>
@Ashok, Not really rendering html as pdf, but specifying styling & images using basic html.
Take TCPDF (php pdf lib)  for example. It has a function writeHTML() illustrated here http://www.tcpdf.org/examples/example_006.phps

@wanjohi. I've used libharu. I'm now considering adding the above functionality to it.

I basically want to generate & export some reports to basic HTML,PDF and maybe excell without too much programming overhead. The HTML & PDF exports must look simmilar.


Have you looked into using XSL-FO ? 

Ashok





 




_______________________________________________

In programming, as in everything else, to be in error is to be reborn. 
_______________________________________________




2012/11/1 Wanjohi Ndegwa <andegs2000@gmail.com>
http://stackoverflow.com/questions/58730/open-source-pdf-library-for-c-c-application

But at the end of the day it will depend what you intend to achieve in your application.

Hope this helps


On Wed, Oct 31, 2012 at 5:01 PM, James Nzomo <kazikubwa@gmail.com> wrote:
Does anyone know any such nice lib?...prefferably free (as in beer) :)




_______________________________________________

In programming, as in everything else, to be in error is to be reborn. 
_______________________________________________



_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------

Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke


_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------

Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke


_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------

Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke


_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------

Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke


_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------

Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke


_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------

Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke