Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


How to remove extra Line Breaks when copy / pasting after exporting to PDF

New Here ,
Feb 02, 2021 Feb 02, 2021

Copy link to clipboard

Copied

After exporting my InDesign file to a PDF, I noticed that line breaks are added when copy / pasting text from the PDF.

 

So, for example, a snippet of exported placeholder text pastes as

Xero moluptae nisit et hillestiis re nectorios porunt as aborum aut veliqui cumqui
volorep udaest aut la peliquam eatis aut rerum nobit, odici cum fugit dunt eum
quiasse cuptasp ernates nonsend itiurib erumquam haris sinctur, sae non repra
quod ma volo into omnihit dolum volorae deseque nihil into quid ut fugia quam,
seremquam quibus, seque vit, quis volore voloria de sitem inum aciasit aperios

Instead of the expected format of

Xero moluptae nisit et hillestiis re nectorios porunt as aborum aut veliqui cumqui volorep udaest aut la peliquam eatis aut rerum nobit, odici cum fugit dunt eum quiasse cuptasp ernates nonsend itiurib erumquam haris sinctur, sae non repra quod ma volo into omnihit dolum volorae deseque nihil into quid ut fugia quam, seremquam quibus, seque vit, quis volore voloria de sitem inum aciasit aperios

 

Is there a way to prevent this from happening?

TOPICS
How to

Views

358

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Community Professional , Feb 03, 2021 Feb 03, 2021
Hi Drow17, text in a PDF does not know that it belongs to a paragraph optically. But Acrobat Pro has a mode where Acrobat tries to hold text together that has line breaks or uses hyphenation. Select the text when in Edit PDF and copy it: In my case the hyphenated words are detected as hyphenated; in the pasted text the hyphens will not show up: Regards, Uwe Laubender ( ACP )

Likes

Translate

Translate
Adobe Community Professional ,
Feb 02, 2021 Feb 02, 2021

Copy link to clipboard

Copied

Copying text from the PDF into ... what? In my experience, while some PDFs allow copying text, that is all you get: text.

Mike Witherell

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 02, 2021 Feb 02, 2021

Copy link to clipboard

Copied

I just wasn't sure if there was a way to prevent the exported text in the PDF from adding the additional line breaks. (My example above formatted differently before posting, so it's not very useful.)

 

Essentially, the PDF could have a line of text that says "This is a line of text" that spans across two separate lines. When I copy / paste it anywhere, it will include that line break, instead of pasting all into a single line

 

"This is a line

of text".

 

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Feb 03, 2021 Feb 03, 2021

Copy link to clipboard

Copied

LATEST

Hi Drow17,

text in a PDF does not know that it belongs to a paragraph optically.

But Acrobat Pro has a mode where Acrobat tries to hold text together that has line breaks or uses hyphenation.

 

Select the text when in Edit PDF and copy it:

EditTextMode-CopyText-AcrobatPro.png

 

In my case the hyphenated words are detected as hyphenated; in the pasted text the hyphens will not show up:

EditTextMode-TextCopyPastedFrom-AcrobatPro-to-Editor.png

 

Regards,
Uwe Laubender

( ACP )

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines