CRM-17607 Add DOCx and ODT to existing PDF output format

    Details

    • Type: New Feature
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7
    • Fix Version/s: None
    • Component/s: Core CiviCRM
    • Labels:

      Description

      Expand the existing shared PDF Letters feature to support additional document formats - DOCx and ODT. This means all three formats are available from Contact Summary, contact search results, and component search results

      Evaluate / use this library for HTML => DOCx and ODT conversion: https://github.com/PHPOffice/PHPWord

        Attachments

          Activity

          [CRM-17607] Add DOCx and ODT to existing PDF output format
          Jon K Goldberg added a comment -

          I wanted to make sure core team was aware of this extension, which solves a similar problem from a different approach: https://github.com/veda-consulting/uk.co.vedaconsulting.module.wordmailmerge

          Coleman Watts added a comment - - edited

          PR #8423 adds the basic functionality for exporting documents with the phpword library. There are some limitations to the integration with this library, as it does not support advanced formatting like tables & columns.

          I think CRM-17608 will mitigate this limitation, as it will allow users to compose richly formatted documents in their word processor and then do a mail merge with Civi.

          Note that this changes the label of the "Print PDF Letter" activity type to a more generic "Print/Merge Document", a UI change which ought to get documented somehow. Perhaps by setting a post-upgrade message?

          Monish Deb added a comment -

          Tested #8443. Working fine

            People

            • Assignee:
              Monish Deb
              Reporter:
              David Greenberg

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 5 hours
                2d 5h