Skip to content

Hyper links are not clicable when converting Word to PDF #2766

Open
@mohammad-azzam-dev

Description

@mohammad-azzam-dev

Describe the bug and add attachments

Each time I convert the Words docx that I created into PDF hyperlinks are no more clickable

I tried many ways to solve it, but nothing helped anyone has any clue about what's going on?

Expected behavior

The pdf should be downloaded with clickable hyperlinks, if I download the word doc version the hyper links are clickable

Steps to reproduce

    $file_path = $temp_directory . DIRECTORY_SEPARATOR . $file_name . ".pdf";
    $tmp_file = $temp_directory . DIRECTORY_SEPARATOR . $file_name . ".docx";
    $core_path = substr(COREPATH, 0, -12);

    require_once $core_path . '/application/libraries/phpdocx-premium-14-ns/Classes/Phpdocx/Create/CreateDocx.php';
    Phpdocx\Utilities\PhpdocxUtilities::parseConfig($core_path . 'application/config/phpdocx.ini', true);
    $docx = new Phpdocx\Create\CreateDocx();
    $docx->transformDocument($tmp_file, $file_path, 'libreoffice');

PHPWord version(s) where the bug happened

phpdocx-premium-14-ns

PHP version(s) where the bug happened

8.0

Priority

  • I want to crowdfund the bug fix (with @algora-io) and fund a community developer.
  • I want to pay the bug fix and fund a maintainer for that. (Contact @Progi1984)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions