Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve new lines in pdf after converting to text. #31

Open
pradeep-gpost opened this issue Nov 14, 2018 · 0 comments
Open

Preserve new lines in pdf after converting to text. #31

pradeep-gpost opened this issue Nov 14, 2018 · 0 comments

Comments

@pradeep-gpost
Copy link

Hello,

How are you ?
I am able to convert the pdf content to text format. I am getting the output as string dump eliminating new lines in pdf file.

I would need to preserve new lines in pdf after converting to text. How do I do that ?

I am currently calling it as below:

$pdf = new PdfToText ( 'uploads/test_protocol.pdf' ) ;
echo $pdf -> Text ;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant