The Drupal 6 project I'm working on involves a custom content type with a bunch of different elements. I'm needing to replicate an existing form -- see screenshot.
Ultimately, I need to take the data stored in the CCK fields attached to this content type, and rebuild them as a table as per the screenshot. It then needs to be savable as a PDF.
It seems like there are two ways of doing PDF content of the nature I'm wanting:
- Views PDF -- cumbersome as heck to configure; requires manually positioning each field.
- Print -- I can't figure out how to directly access the CCK field variables through its $print object; consequently, I can't rebuild this as a table.
How would one go about taking a lot of CCK fields, formatting them as a table, then making that PDF-able?
Thanks.
Edit: To clarify, I have each row of, say, the FAC table stored as a row in the content type, through a compound/multifield module called "Flexifield". Data isn't stored as per the table; it's stored as a label ("level"), a decimal number and a boolean (above or below grade?). Another boolean toggles between Imperial and Metric for the entire sheet. The columns are generated by converting the number stored to either Imperial or Metric, depending on which the stored measurement is set as. Consequently, I'll ultimately need a way to tweak and restructure the data using PHP. This is why I can't, for instance, just tell the fields to display as a table.