Hi Canon, I've been working with QPDF a lot recently. I took a look at that and it seemed pretty daunting. Have you asked Rob about it? There may be some subsection of DynaPDF (the package it's built on) to do such transforms.
It certainly seems possible to take the raw text, with the markup, and write something to transform the styles into the inline style options QPDF supports. Depending on how complex your pages are and how you need to place the text on the page it could work. In my case I needed to fit text into fairly specific areas which required calculating how much space text required prior to placing it. This would be very difficult, I think. But if you don't need that sort of fussy control probably more doable. On Mon, Jun 18, 2018 at 11:55 AM Cannon Smith via 4D_Tech < [email protected]> wrote: > Hi Everyone, > > Has anyone written code that would take a 4D styled text variable, parse > out the different styles in it, and convert them to tags that can be > embedded into text to be used with Rob’s QPDF Draw Text plugin command? > > -- > Cannon.Smith > Synergy Farm Solutions Inc. > Hill Spring, AB Canada > 403-626-3236 > <[email protected]> > <www.synergyfarmsolutions.com> > > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** -- Kirk Brooks San Francisco, CA ======================= *We go vote - they go home* ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

