PHPWord icon indicating copy to clipboard operation
PHPWord copied to clipboard

pdf file tabs

Open mpolch opened this issue 4 years ago • 5 comments

Describe the Bug

I am using phpword from a docx file. In docx file I am using tabulators. All my tabulators are erased and the text is moved to the left. I need this output of docx as pdf. What could do to have the same look and feel in pdf file?

Steps to Reproduce

Please provide a code sample that reproduces the issue.

<?php
require __DIR__ . '/vendor/autoload.php';

$phpWord = new \PhpOffice\PhpWord\PhpWord();
$section = $phpWord->addSection();
$section->...

Expected Behavior

A clear and concise description of what you expected to happen.

Current Behavior

What is the current behavior?

Context

Please fill in your environment information:

  • PHP Version:
  • PHPWord Version:

mpolch avatar Mar 30 '21 09:03 mpolch

I've got the same problem. Have You solved this task?

ossorian avatar Jul 13 '23 12:07 ossorian

@mpolch @ossorian Hi, have you got a sample file, please ?

Progi1984 avatar Aug 09 '24 08:08 Progi1984

Hi, I gave up to solve this issue with phpword. I created another page. I do not think the it has been solved.

mpolch avatar Aug 09 '24 08:08 mpolch

If you have a file, it is always accepted 😁

Progi1984 avatar Aug 09 '24 09:08 Progi1984

Hi, I am using the both attached files. Please keep in mind that I am using only the word version. No conversion to the pdf. word_file.pdf word_docx.pdf Regards

mpolch avatar Aug 09 '24 09:08 mpolch