Ask Your Question
3

Paste unformatted text default option

asked 2012-03-09 03:28:20 +0200

undoIT gravatar image undoIT
31 1 3 4
http://couponsdealuxe.com...

updated 2013-02-24 16:14:38 +0200

manj_k gravatar image manj_k
5622 4 31 48

Is there any way to set Paste Special (Unformatted text) as the default option when using Ctrl Shift V to paste in Calc, Writer etc? I have read that it is possible to create a macro and then assign a keyboard shortcut to it. I'm just wondering if there is a configuration option to toggle pasting formatted text to unformatted text as the default so that a paste special prompt isn't displayed every time I paste some formatted text.

Alternatively, is there a way to set the import options to a default so that there isn't a prompt for import options after pressing Ctrl V to paste?

delete close flag offensive retag edit

6 Answers

Sort by » oldest newest most voted
6

answered 2012-03-18 17:22:43 +0200

manj_k gravatar image manj_k
5622 4 31 48

updated 2012-03-18 17:27:21 +0200

My favorite shortcut key for 'Paste unformatted text' is 'Ctrl+U', assigned to that macro:

sub paste_unformatted
rem ----------------------------------------------------------------------
rem define variables
dim document   as object
dim dispatcher as object
rem ----------------------------------------------------------------------
rem get access to the document
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")

rem ----------------------------------------------------------------------
dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name = "SelectedFormat"
args1(0).Value = 1

dispatcher.executeDispatch(document, ".uno:ClipboardFormatItems", "", 0, args1())

end sub

You may create this macro as follows:

(1) Record macro

Ctrl+Shift+V > U > Enter

Stop recording

(2) [New window: LibreOffice Basic Macros]

Type 'Macro name' (e.g.): 'paste_unformatted' > Save

(3) Tools > Customize > Keyboard > Functions > Category > LibreOffice Macros > user > Standard > Module1

Function > 'paste_unformatted'

Shortcut keys > Ctrl+U > Modify > OK

Customize 'Ctrl+U'

link delete flag offensive edit
2

answered 2012-04-25 07:45:01 +0200

Robert Reese gravatar image Robert Reese
21 1 2

Actually, it is quite easy. Just follow these steps (on the PC version 3.5, at least):

  1. Click on Tools
  2. Click on Customize...
  3. Click on the Keyboard tab at the top
  4. To the RIGHT of the Shortcut Keys box, click on LibreOffice
  5. Below the Shortcut Keys box, find the Functions box, then find and click on Edit
  6. In the next box, the Function box, find and click on Paste Unformatted Text
  7. In the Shortcut Keys box above, find and click once on Ctrl+V
  8. On the RIGHT, click the button titled Modify
  9. Optional: Click the Save... button and save your keyboard configuration so you can import in into another computer or if you reinstall LibreOffice
  10. Click the OK button at the bottom to finish.

That's it! :)

HTH, Robert~

link delete flag offensive edit
1

answered 2012-09-14 07:07:06 +0200

howdystranger gravatar image howdystranger flag of New Zealand
11 1 2
http://www.howdystranger....

updated 2012-09-14 07:09:04 +0200

"In Writer text documents, you can press Ctrl+Alt+Shift+V to paste the contents of the clipboard as unformatted text. " http://help.libreoffice.org/Common/Pasting_Contents_in_Special_Formats

Doesn't exactly deal with defaults, but perhaps useful in the meanwhile!

link delete flag offensive edit
0

answered 2012-11-02 06:24:53 +0200

usha gravatar image usha
1

i did same paste special, but it doesn't work. the formula is still on active. ideally after paste special formula should not reflect.

link delete flag offensive edit
0

answered 2012-03-09 17:15:06 +0200

jofilho gravatar image jofilho flag of Brazil
503 2 10

Unfortunately, these options are not so configurable and you'll need a macro to do what you wanting.

link delete flag offensive edit
0

answered 2012-03-09 18:20:24 +0200

Florian Reisinger gravatar image Florian Reisinger flag of Austria
209 4 16
http://flosmind.wordpress...

I don't know how to make a makro, but it should do the follwing (German UI...): Press: ALT + B + H Press: ENTER Press: ENTER

link delete flag offensive edit

Login/Signup to Answer

Donate

LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!

Question tools

Follow
3 followers

subscribe to rss feed

Stats

Asked: 2012-03-09 03:28:20 +0200

Seen: 5,299 times

Last updated: Nov 02 '12