mPDF and Bootstrap Issues


#1

With all the bootstrap being added lately, eventually someone will run across bootstrap not playing well with pdf generation. I was able to get bootstrap tables and most other styles to work with mPDF by creating a bootstrap 3 theme specific to pdf. Some functions, like grids, don’t work and I am working to re-style to html5 using width percents. Because bootstrap calculates many styles on the fly(even calculating margins and padding) this may not be possible.
Anyway, Until I get to adding capability to custom report and you run across this, I can give you the theme.


#2

@sjpadgett ,

Sounds good. I probably won’t try touching a script that outputs html/mpdf this until have a really good handle on bootstrap; I’m currently working on the low hanging fruit like reports and forms (the new/view but not the report.php to avoid messing up reports for now). @robert.down is bravely working on bootstrap stuff in more centralized places, and will avoid the places that use html/mPDF for now.

-brady