Copy paste from pdf without the formatting
I've never understood how to copy and paste from pdf to word without getting the line return characters which mess up the formatting. Why doesn't text flow from line to line as it does in a normal word processor? Why does adobe insist on copying the newline character when you paste from pdf to another application?
This must be the dumbest feature in the world.
If there's a way to copy and paste from a pdf in plain text, without line breaks, please please tell me how. Thanks
I don't know a way to do it right out of Adobe, but you can use this tool to do what you're asking: http://www.textfixer.com/tools/remove-line-breaks.php. I routinely have to copy and paste pdf material for the web for a non-profit I work for, and I use that tool every time because it works so well. Plus it's free. If you find out how to do it without using a third-party tool let me know!
Similar Messages
-
How can I copy/paste from mail without format?
This has been an annoying feature since I upgraded, finally bugged me enough to ask for help.
I receive a weekly newsletter that is formatted into paragraphs with multiple columns. I usually copy parts that I think my son would be interested in, then email it to him. The problem is, when I paste it into mail it retains its formatting, including the shrunken width of the original columns. When I click the text a black, rectangular box appears around it, which I have no control over.
This also happens in Safari when I copy news articles to pass on. It is extremely annoying, and I can't figure out a way to stop Lion from doing that. Switching over to text (non-html) is not an option, since I then lose the hypertext links included in the articles, as well as the images.Edit > Paste and Match Style. This matches the format in the text window you are pasting into, rather than the format you are copying from.
-
I have most of what I need here, but I’m missing 2 important pieces.
#1) I want to copy/paste from all PDF files in a folder and paste the copied data into a single Word file.
It works fine if I have ONLY Word docs in my folder. When I have PDF files and Word files, the contents of the Word files are copied in fine, but the contents of the PDF files seem to come in as Chinese, and there is no Chinese in
the PDF, so I have no idea where that’s coming from.
#2) I want to extract all embedded files (in all my Word files) and save the extracted/opened file into the folder. Some embedded files are PDFs and some are Excel files.
Here the code that I’m working with now.
Sub Foo()
Dim i As Long
Dim MyName As String, MyPath As String
Application.ScreenUpdating = False
Documents.Add
MyPath = "C:\Users\001\Desktop\Test\" ' <= change this as necessary
MyName = Dir$(MyPath & "*.*") ' not *.* if you just want doc files
On Error Resume Next
Do While MyName <> ""
If InStr(MyName, "~") = 0 Then
Selection.InsertFile _
FileName:="""" & MyPath & MyName & """", _
ConfirmConversions:=False, Link:=False, _
Attachment:=False
Dim Myshape As InlineShape
Dim IndexCount As Integer
IndexCount = 1
For Each Myshape In ActiveDocument.InlineShapes
If Myshape.AlternativeText = PDFname Then
ActiveDocument.InlineShapes(IndexCount).OLEFormat.Activate
End If
IndexCount = IndexCount + 1
Next
Selection.InsertBreak Type:=wdPageBreak
End If
On Error Resume Next
Debug.Print MyName
MyName = Dir ' gets the next doc file in the directory
Loop
End Sub
If this has to be done using 2 Macros, that’s fine.
If I can do it in 1, that’s great too.
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.Hi ryguy72,
>>When I have PDF files and Word files, the contents of the Word files are copied in fine, but the contents of the PDF files seem to come in as Chinese, and there is no Chinese in the PDF, so I have no idea where that’s coming from.<<
Based on the code, you were insert the file via the code Selection.InsertFile. I am trying to reproduce this issue however failed. I suggest that you insert the PDF file manually to see whether this issue relative to the specific file. You can insert PDF
file via Insert->Text->Object->Text from file.
If this issue also could reproduced manually, I would suggest that you reopen a new thread in forum to narrow down whether this issue relative to the specific PDF file or Word application.
>> I want to extract all embedded files (in all my Word files) and save the extracted/opened file into the folder. Some embedded files are PDFs and some are Excel files.<<
We can save the embedded spreadsheet via Excel object model. Here is an example that check the whether the inlineshape is an embedded workbook and save it to the disk for you reference:
If Application.ActiveDocument.InlineShapes(1).OLEFormat.ClassType = "Excel.Sheet.12" Then
Application.ActiveDocument.InlineShapes(1).OLEFormat.DoVerb xlPrimary
Application.ActiveDocument.InlineShapes(1).OLEFormat.Object.SaveAs "C:\workbook1.xlsx"
Application.ActiveDocument.InlineShapes(1).OLEFormat.Object.Close
End If
And since the Word object model doesn't provide API to save the embedded PDF, I would suggest that you get more effective response from PDF support forum to see whether it supports automation. If yes, we can export the PDF as embedded spreadsheet like code
absolve.
Hope it is helpful.
Regards & Fei
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
I can't copy paste from pdf to word due to Unicode character problem.
I was able to copy paste from a pdf document on word and all of a sudden it won't let me paste anymore. Well, I can paste the text but it come up as 'square' thingy. The spanner icon lights up and says This document contains unicode characters that might not display correctly in the earlier version of the office. I'm using Office/Word 2008 on my Mac book air..
I just dont understand why all of a suddent it wont past from the same pdf I was using to copy text from.
Thanks.If you don't get an answer here, there's a forum devoted entirely to Word problems at
http://answers.microsoft.com/en-us/mac/forum/macword -
HT2523 How can I copy text from TextEdit without including formatting?
This is not the most important question in the world, but I would like to skip the extra paste and cut into the Address bar of Safari to get rid of text formatting. Is there a way to do something like cmd + shift + c to just copy the text?
It's not the copying, but the pasting where you can remove formatting. In most mac apps you can use Shift + Alt + Cmd + V to paste with the formatting of the target.
If you want that to be the default behaviour, you can use this trick. -
Cannot copy and paste from PDF Created with Distiller 9.0
Hi,
Can anyone tell me why I would be havingissues with copying/pasting from a PDF created w/ Distiller 9, as opposed to Distiller 8.x? I don't use Distiller myself, it just looks like this was what the creator of the document used. Is this a possible copyright protection that's been built in?I can select text, but oddly enough it seems to automaitcally select random text - I can't select line to line. It randomly selects parts of all paragraphs at once. I'm very certain it's not an image.
I also checked to see if there were any security features that might be preventing copy/paste, and found none. I even compared it to an older edition of the document (which we can select text from perfectly), and none of the security features were any different. I would send this PDF to you, but I am in a heavily regulated work environment that doesn't allow for outgoing attachments or uploading.
If you have any other ideas, please let me know. If not, I really do appreciate your help.
Thanks. -
How to hide cut/copy/paste/Replace… menu on the UIWebView when it is being displayed over the keyboard.
Detail: I am having a HTML from, having text box, displayed using UIWebView. If user types in text box it shows the keyboard. Now If user tap and hold on text box it shows a popup menu. Now while keyboard and pop up are being displayed user scrolls the view. At this time it shows pop up over the keyboard which I need to hide.
I tried setMenuVisible of UIMenuController when popup rect and keyboard rect intersects each other on viewDidScroll but it didn't help me.
Any clues will help a lot.
Thanks.You are more likely to get an answer if you post programming problems to the Developer forum. This forum is intended for normal user level problems.
-
Folks,
Hello. I have just installed Oracle Linux 5 as Guest OS on the top of VMPlayer. Host OS is Windows 7.
I downloaded Oracle E-Business Suite R12 from edelivery into Windows 7 in a folder(EBS_R12) on my LapTop screen.
In order to install EBS R12 into Oracle Linux 5, I copy/paste the folder EBS_R12 into Oracle Linux 5 screen. The file size is about 50GB. After coply/paste is completed successfully, I cannot find where is the folder (EBS_R12) in the Guest OS Oracle Linux 5.
Can any folks tell me where is the folder (EBS_R12) in Oracle Linux 5 after copy/paste from Windows 7 ?Hi,
After coply/paste is completed successfully, I cannot find where is the folder (EBS_R12) in the Guest OS Oracle Linux 5.Was the copy/paste successful.
If yes then you can do the following
#find / -name EBS_R12 -type d -print
(Assuming you copied the folder "EBS_R12" , But not its contents).
Thanks -
Copy & Paste from Illustrator to InDesign CS4
Hi,
I am aware that there are issues when copying/pasting from Illustrator to InDesign, in particular:
http://help.adobe.com/en_US/InDesign/6.0/WSa285fff53dea4f8617383751001ea8cb3f-6bdda.html
I have the following problems:
1- I copy and paste text from Illustrator to InDesign on the same platform and some (not all) of the text is converted to outline in InDesign. The same font is available to both applications. Why this behaviour?
2- I copy and paste objects containing text from Illustrator to InDesign and some of the objects appear to have moved respective positions when pasted into InDesign. Is this to be expected?
Are there solutions to these problems? Note that if I expand everything in Illustrator prior to copying and pasting into InDesign, none of these issues occur, but everything is obviously in outline form, with the limitations it entails.
My clipboard settings are as indicated in the link above, but I have tried other settings with no more luck.
(Important: Before pasting a graphic, make sure that Illustrator is configured to copy as AICB (see Illustrator Help). In InDesign, make sure that Prefer PDF When Pasting isn’t selected in the Clipboard Handling preferences. If these options aren’t set properly, the Illustrator graphic cannot be edited in InDesign.)
It is not practical for me to create an Illustrator file for each of the Illustrator graphics and import those files via Place into InDesign. I must use Copy/Paste.
I use CS4.
Thanks.You can copy/paste from Illy to ID by selecting the text with the type tool in Illy and then pasting it into ID. You will not be able to maintain the formatting. If you want to maintain the appearance the text will be converted to outlines.
If you need to get anything other than very simple objects from Illy to ID then you should save as AI and use the file > place command to place those objects as linked graphics into ID.
Your closing statement is irrelevant. Whether you like it or not, this is the way it is.
Bob -
Copying text from pdf, "square" characters
Using SQL 2005 standard edition.
I have an issue with pdf generated reports. When copying text from the pdf (from a cell in a table row) the characters are just pasted as "squares" into notepad\word etc. Each character is just a small square. I am using Arial font and not doing anything outside of the norm. This is also an inconsistent problem, it doesnt happen on all cells\tables but only on particular ones. Could it be data specific?
Anyone come across this before?It is not data specific but the format specific. There are many similar issues commonly encountered. The reason is that the format in the clipboard cannot be well recognized by notepad or word. You can refer to this article:
http://support.microsoft.com/kb/212318
From which you can read:"Microsoft Word does not directly support conversion from Adobe Portable Document Format (PDF). PDF is the format in which documents are saved for viewing and exchange in the Adobe Acrobat Reader and Adobe Acrobat Exchange for Windows."
For those words if you could not copy/paste successfully, you may use some tools from Adobe company to extract the data from PDF file to some recognized format such as HTML. I know that there is a tool which can do this conversion:
http://www.adobe.com/products/acrobat/access_onlinetools.html
Hope this answers your question.Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Copy&paste from a file excel to Adobe Interactive Form
Hi all
my project is based on WDJ and Adobe Interactive Form.
I need to know if it is possible to do a copy&paste from a file excel to my Adobe Interactive Form.
Can I copy an area of data from an Excel spreadsheet (set of contiguous rows and columns)
and paste them into a text field of my form, preserving the formatting (font, size, structure of coloums/rows,...)?
Can you help me please?
Thanks!You may try posting this question in either the Designer or Forms forum.
This forum is for the LiveCycle PDF Generator ES product - a server side document conversion module. If you want to convert the entire Excel spreadsheet to a PDF server side, then PDF Generator is the correct tool to use. -
Copying text from PDF to Pages
I am trying to copy text from a PDF file into Pages, after pasting the copied text into my new Pages document the spacing between most of the text becomes corrupeted,
for ex.
"Copying text from PDF to Pages" is imported as "CopyingtextfromPDFtoPages"
does anyone know how to correct this?
Imac Mac OS X (10.4.7)Rishi,
Welcome to Apple Discussions.
After reading your post, I tried to duplicate this problem. I opened a PDF, selected a sentence, then copied it to the clipboard. I then opened Pages, selected the blank template, then pasted in the text. It pasted perfectly.
Does this problem happen with all text in a PDF? With different PDFs?
-Dennis -
Problem of spaces with copy-paste from Acrobat Reader X (10.1.0)
Hi all,
I have a problem when doing a copy-paste from a text in Acrobat Reader X (10.1.0). When I paste, all spaces are erased.
It does not come from the document as the problem is for every pdf.
Do someone have an idea of where the problem comes from ?
Thanks and cheers
JulienThis is not the forum for Reader, but the problem probably lies with the way the file was created, and/or with the fonts used in it.
-
Not precise vector copy&paste from Illus cs4 to flash cs4
Hi,
does somebody knows if there is a solution to that or does somebody have an explanation to this ...
I have a really complex shape made in Illustrator cs4 that I need to import in flash cs4. When I import my shape in flash , my shape doesn't keep the exactly, precisely same shape. I try to reduce the amount of point with illustrator with Object->path->simplify ... It's help but not enough. My shape is to complex to re-draw one by one every single points as the original.
I did some test as in Flash cs3 and this problem dosen't exist. In cs4 you can test it do a circle , the smallest you can and zoom , you will see that the circle is not a circle anymore. (cs3 does't do it)
HelpYou can copy/paste from Illy to ID by selecting the text with the type tool in Illy and then pasting it into ID. You will not be able to maintain the formatting. If you want to maintain the appearance the text will be converted to outlines.
If you need to get anything other than very simple objects from Illy to ID then you should save as AI and use the file > place command to place those objects as linked graphics into ID.
Your closing statement is irrelevant. Whether you like it or not, this is the way it is.
Bob -
Pasting images but keeping the format of the old image...
I apologise in advance - this is probably a REALLY dumb question but I'm new to iMacs and iPages. Everyone was new once!
So, to the point: I have a ipages document with pictures (photos) in it, all formatted perfectly (shadows etc). I now want to replace the photos with other photos (same size) but when I paste a new photo the old format is lost. Do I have to re-format every new photo I import (there is quote a few on my document). Please tell me there must be a way just to replace the image rather than having to paste then image and the formatting the new image too - please?! Many thanks in advance.You might find it very useful to copy snippets like these images, either created by yourself or from templates, and copy them into a "library" file.
Then when you need them you can just copy them back into the file wherever you need them.
Be also aware that holding down the option key whilst you drag an object duplicates it, so you can quickly manufacture lots of images say with the same attributes.
Then use +Menu > Arrange > Distribute+ to spread them out evenly.
Maybe you are looking for
-
HT1911 after purchase fraud my apple ID was disabled from iphone, how do i restore
After an unauthorized purchase on itunes was resolved (through paypal) and my phone was updated (3g) my appleID was disabled on my iphone. I can get it on my mac which makes me think it's something wrong with my phone. I believe this all happened whe
-
How do I restore audio for yahoo e-mail attachments such as YouTube?
Sound does not activate when playing e-mail attachments or web site tutorials.
-
Missing return statement, yet I don't want anything printed.
Here is what I have coded for quizSet public boolean quizSet(int no, int score) while ((score > 10 || score < 0)) if (no == 1) quiz1 = score; else quiz2 = score; }Basically I get an error saying
-
Front Row no longer works with Airtunes
May I add my voice to a retrograde step from tiger to leopard. I now no longer proudly show off front row when I play music in my bar since leopard only plays front row directed music through the imac speakers and not air tunes.
-
Customized Setting of External Applications are NOT saved if using templates
We are using templates and on the template we have put the "External Application" portlet . Now if normal user tries and customize this portlet then these settings are not saved. Like user want's to see only 2 applications so he checks only 2 applica