comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Re: Workbench - copy and past to Word

Re: Workbench - copy and past to Word
type: item
description: Hi Jean, When you paste into word there should be an option along the lines of accepting the word document formatting or the text source formatting. I can't reproduce the problem here at the moment as I am using a different OS. Alternatively, paste the text into notepad (or your favorite text editor) and then into word. The problem stems for the copy command in IDL taking the text formatting (font, color etc) into consideration. Cheers.
creator: russell.grew
date: 2008-09-22T23:34:32-00:00

Re: Workbench - copy and past to Word
type: item
description: RussellGrew wrote: > Hi Jean, > > When you paste into word there should be an option along the lines of > accepting the word document formatting or the text source formatting. > I can't reproduce the problem here at the moment as I am using a > different OS. > > Alternatively, paste the text into notepad (or your favorite text > editor) and then into word. The problem stems for the copy command in > IDL taking the text formatting (font, color etc) into consideration. > > Cheers. Russell, Thanks for tips... though both methods require two extra actions... I am really looking for a way to configure the workbench so that the formating is not copied in IDL.. Jean
creator: Jean H.
date: 2008-09-23T17:21:35-00:00

Re: Workbench - copy and past to Word
type: item
description: Jean H writes: > Thanks for tips... though both methods require two extra actions... I > am really looking for a way to configure the workbench so that the > formating is not copied in IDL.. The real problem with infinite choice is that it raises your expectations to unrealistic levels. :-) Cheers, David -- David Fanning, Ph.D. Fanning Software Consulting, Inc. Coyote's Guide to IDL Programming: http://www.dfanning.com/ Sepore ma de ni thui. ("Perhaps thou speakest truth.")
creator: David Fanning
date: 2008-09-23T17:55:23-00:00

Re: Workbench - copy and past to Word
type: item
description: On Sep 23, 1:21 pm, Jean H <jghas...@DELTHIS.ucalgary.ANDTHIS.ca> wrote: > RussellGrew wrote: > > Russell, > Thanks for tips... though both methods require two extra actions... I > am really looking for a way to configure the workbench so that the > formating is not copied in IDL.. I recently went through the same exercise for another non-IDL copy-and- paste to word problem. I don't think it is an IDL or workbench issue, but a windows/word thing. You can configure word to always match the source or destination formatting when you paste. In word 2007, it is in the word options->advanced settings dialog. Since 95% of the time I just want to copy the text, not the formatting, I was so glad to find this... Mike
creator: Mike[2]
date: 2008-09-25T15:03:14-00:00

Re: Workbench - copy and past to Word
type: item
description: > I recently went through the same exercise for another non-IDL copy-and- > paste to word problem. I don't think it is an IDL or workbench issue, > but a windows/word thing. You can configure word to always match the > source or destination formatting when you paste. In word 2007, it is > in the word options->advanced settings dialog. Since 95% of the time > I just want to copy the text, not the formatting, I was so glad to > find this... > > Mike Thanks Mike... if others wonder, in Word 2003, I had to be a bit more tricky: in normal.dot, create a macro with the following procedure: Sub EditPaste_noFormat() On Error Resume Next Selection.PasteSpecial DataType:=wdPasteText End Sub Then put an icon on the toolbar that links to it, and assign the key ALT+V (unassigned) to it... so you are not loosing the formated paste! Alternatively, if you call the function "EditPaste()", then doing "paste" or "CRTL+V" will paste without formating... and you must go through "special paste" to keep the formating! Jean
creator: Jean H.
date: 2008-09-25T20:22:58-00:00