Details
-
Type: Improvement
-
Status: In Progress
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 4.4.5
-
Fix Version/s: Unscheduled
-
Component/s: None
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
The action "Create PDF Letter" currently uses the library DOMPDF. The action "Create Name Badges" uses a newer library called TCPDF. "Create PDF Letter" needs to be updated to also use TCPDF. This will have the benefit of improving the code consistency, and allow for the use of "stationary" ie letterhead that needs to be used as the background for every page in the PDF file.
NOTE: Stationery path field has been suppressed in Contact/Form/Task/PDFLetterCommon.php since it's not functional with DOMPDF. That field should be reinstated and some help added when this issue is resolved. At that point the Stationery path value included in the PDF Page Format settings (currently that field isn't available under Administer > Communications > Print Page (PDF) Formats > Add PDF Page Format) so admin can set it for a given format and it get's populated for Print PDF Letter action if user selects a format that has it set.
Attachments
Issue Links
- is supplemented by
-
CRM-15883 Need to remove inoperative "stationery" box from page format when using Print PDF letter?
- Done/Fixed