default type and setting for pasting

Stephan Zietsman <sziets@gmail.com> writes:

But now, copy and paste every second or third word from 3 or 4
paragraphs. Now you need to do 100 or so paste specials, then 1 or 2
extra mouse clicks make it fairly tedious. From what I read, it seems
that lee is copying and pasting a few words at a time, but it is done
quite frequently. So in lee's case, he would probably prefer
something else.

exactly

And it looks like he found a solution that works for
him.

I haven´t really tried it yet. The button in the toolbar does what it´s
supposed to do, and I´m sure it´ll save me a lot of work since I won´t
have to type anymore.

lee,
I think it should be possible to assign a short-cut key to the icon
you created. As you probably don't want a keyboard button, maybe you
can try to assign it to the middle mouse button? Just a thought, I
could be wrong.

That would be nice. Is it at all possible to assign something to mouse
buttons in LO?

Even with that, there´s still the problem that the text would be
inserted where the mouse pointer happens to be rather than where the
cursor is. Any idea how to fix that?

Stephan Zietsman <sziets@gmail.com> writes:

Stephan Zietsman wrote:

So in lee's case, he would probably prefer
something else.  And it looks like he found a solution that works for
him.

Sorry, lee. I assumed your gender (by saying "he" and "him"), which
is generally considered bad etiquette. I apologise.

Np, "he" is fine :slight_smile:

lee wrote:

Hm. Perhaps I can find a way to put an icon into the toolbar that pastes
unformatted text? ... YES! I just did :slight_smile: It´s not an icon, it makes a
big field in the toolbar, labled "Unformatierten Text einfügen" ("insert
unformatted text"). That makes a nicely big field easy enough to click
:slight_smile: I´ll use that now.

How did you create an icon like that? At first I thought it should be
fairly easy, but when I tried, I couldn't find a way.

Dunno, I changed the toolbar by adding the function to it. The toolbar
flickered, so I knew something changed. Yet I couldn´t find an icon for
it, so I went back to modifying the toolbar and disabled one or two
other functions before it occured to me that I better switch "paste
unformatted text" on and off while looking at the toolbar. Finally I
noticed it´s there as a field with a text label. Now I can only hope
it´s not going to be replaced by some icon automagically ...

Hi :slight_smile:
It is frustrating when things don't work the way you want. I think Word does
exactly the same way, as does my rather bad email client. It's been this way
for over a decade so people are just used to reformatting text nearer the end of
working on a document. Certainly if you are touch-typing then it's easier to
just type the headings and things in as standard text and then apply formatting
throughout the document at the end.

I think you make good points and maybe it is time to approach the devs to get a
more rational and up-to-date set of defaults for the standard Paste? Please
post this as a wish-list item or feature request and post the url into here so
that people can support your request.
http://wiki.documentfoundation.org/BugReport
Regards from
Tom :slight_smile:

________________________________
From: Stephan Zietsman <sziets@gmail.com>
To: users@global.libreoffice.org
Sent: Tue, 21 June, 2011 8:29:21
Subject: Re: [libreoffice-users] Enabling Macros - misleading labelling

Roxy Robinson wrote:

And just why would Macros be considered experimental features??? Macros have
been
around forever.

Macros are not considered an experimental feature. They work even if
"Enable experimental (unstable) features" is unticked. However,
*recording* macros is not a fully polished feature, so it's considered
experimental. There are other ways to create macros, such as opening
the Macro editer (ALT+F11) and typing code in Basic.

Regards

Hi :slight_smile:
I thought macros were written in Java or something not Basic?? I haven't tried
so i don't know.

Regards from
Tom :slight_smile:

And, once again, you are talking about an issue that is more OS specific than it is
OO or LO specific. You folks that use the Linux type OS's think you are the only
people on earth, I suppose because both your OS and OO/LO are open source software.
Therefore, you are better than, especially us that may be using Windows. I have been
on other lists that are pretty much the same way.
I came to this list because I had 2 problems. I pretty much found the answer to one
on my own while arguing with your folks here. The other problem I've encountered on
my last 3 installs has been completely ignored. So I really don't care if you solve
each other's problems or not. Quite often, you are comparing apples and oranges, and
that is one issue I learned a very long time ago its best to completely ignore! What
works in Windows, may not work, and will definitely work differently in Ubuntu, and
vice versa. This part of the issue was just barely touched on by someone else in one
of the first postings I saw after joining. I don't think I have seen another post
from that person since.
So, goodbye!
Roxy

Even with that, there´s still the problem that the text would be
inserted where the mouse pointer happens to be rather than where the
cursor is. Any idea how to fix that?

I believe some things are "experimental" because the code for
implementing them is being rewritten or updated and they may not be
considered fully stable or finished or up to quality standards or
something. So even though macros have been around forever, the mechanism
for recording them (as opposed to writing them) might still be under
development. I don't know this for sure in the case of macros, but it
seems logical to me.

--Jean

Tom Davies <tomdavies04@yahoo.co.uk> writes:

I think you make good points and maybe it is time to approach the devs to get a
more rational and up-to-date set of defaults for the standard Paste? Please
post this as a wish-list item or feature request and post the url into here so
that people can support your request.
http://wiki.documentfoundation.org/BugReport

Thanks, I´ll look into it and see if I can make a feature request. I
guess I should make two, one about setting a default pasting style and
another one about having the text inserted where the cursor is rather
than where the mouse pointer is ...

Roxy Robinson <rocmar62@ranchwireless.com> writes:

And, once again, you are talking about an issue that is more OS specific than it is
OO or LO specific.

In which way? Can you specify a default pasting style with versions of
LO that run on Windows or MacOS? Do people using Windows or MacOS always
want to paste the way LO has made an unchangeable default and never
paste "unformatted text" or whatever other styles there are?

It doesn´t make any sense to me that the default pasting style (or
however you may call it) is unchangeable, and that doesn´t have anything
at all to do with what operating system I´m using.

You folks that use the Linux type OS's think you are the only people
on earth, I suppose because both your OS and OO/LO are open source
software.

I could say the same about users of other OSs.

Therefore, you are better than, especially us that may be using
Windows.

Am I?

I can only speak for myself, and I don´t expect anyone to have the same
point of view I have. Nobody in this discussion has yet explained why
being able to set a default posting style would be a bad feature because
they are using a particular OS. If you think that is the case, you´re
welcome to explain it.

I have been on other lists that are pretty much the same way. I came
to this list because I had 2 problems. I pretty much found the answer
to one on my own while arguing with your folks here. The other problem
I've encountered on my last 3 installs has been completely ignored. So
I really don't care if you solve each other's problems or not. Quite
often, you are comparing apples and oranges, and that is one issue I
learned a very long time ago its best to completely ignore! What works
in Windows, may not work, and will definitely work differently in
Ubuntu, and vice versa. This part of the issue was just barely touched
on by someone else in one of the first postings I saw after joining. I
don't think I have seen another post from that person since. So,
goodbye!

It´s always a possibility that nobody has had the same problems you
encountered, so nobody was able to help. That a problem cannot be solved
with answeres from a mailing list happens to me as well. What do you
expect?

Stephan

Stephan Zietsman wrote:
> How did you create an icon like that? At first I thought it should be
> fairly easy, but when I tried, I couldn't find a way.

Never mind, I found it. Right-click on any toolbar -> Customise
toolbar... -> Toolbar tab -> Add... -> (Category) Edit -> (Commands)
Paste Unformatted text -> Add -> OK

I can't find a way to assign middle mouse to it though, sorry.

Regards
Stephan

I would think using a mouse button would be OS and driver dependent. The
OS must have the correct drivers and the mouse must configured to allow
this possibly very selective use. The real problem is this use would
implemented in all software since one is reconfiguring the default
behavior of hardware not normally used for pasting. Reconfiguring the
commands on a keyboard or toolbars is much easier. Keyboards are capable
of a wide variety of key combinations and toolbars are only limited by
software design choices.

Roxy Robinson <rocmar62@ranchwireless.com> writes:

And, once again, you are talking about an issue that is more OS specific than it is
OO or LO specific.

PS: What´s OS specific about the problem that when pasting with the
mouse, text is inserted where the mouse pointer happens to be rather
than where the cursor is? Is that different for diferent OSs? It doesn´t
even matter whether it´s different or not.

Hi :slight_smile:
There are a lot of things that appear to work almost identically on all
different OSes. The OS is interesting to hear about and can sometimes help if
drilling down into the causes or possible work-arounds. Part of the aim of LO
is to behave and look the same on Windows, Mac, Bsd or Gnu&Linux (presumably
Gnu&Hurd too). The Windows version is a little bit different from the one for
the other platforms apparently so it's interesting to hear just how widespread a
problem might be or how easy it might be to pinpoint and solve an issue.

Regards from
Tom :slight_smile:

Hi :slight_smile:
You probably have other ideas about completely different issues that would be
worth posting. It is good to split things that might be able to be handled
separately. Some of the easier things can be done as an exercise by people
learning how to program for LibreOffice. It's up to the devs what they choose
to work on but giving them some good ideas to work with can help them even if
they don't work on some things straight-away.

I find that the keyboard combinations such as Ctrl V pastes where the cursor is
but mouse clicks do it where the mouse is. That doesn't really help if there is
no key combination of course!

Regards from
Tom :slight_smile:

Dear Roxy (if you are still there)

I hope this helps:-

on my System

I downloaded MS's Optical Intellimouse program and installed (I have an MS intellimouse).

I am now able to select the default options for the middle button - I selected "paste (ctrl+v)"

To paste formatted text as copied, just press the wheel

To paste as unformatted text, I press the shift key and then the middle button (the wheel), up comes the special paste window box.

in Word chose "unformatted text" and in Calc untick all, excluding text & numbers then press OK.

Now wherever the cursor is or cell selected, it deposits the text at that point (not where the mouse is) in the format as indicated in the sheets default settings at the top of the page i.e. if the settings say [arial] [6] - that's how the text is pasted at the cursor or in the cell.

It seems that it could be a mouse problem?

regards

John B
ms xp pro sp3
LO 3.4.0

planas <jslozier@gmail.com> writes:

I can't find a way to assign middle mouse to it though, sorry.

I would think using a mouse button would be OS and driver dependent. The
OS must have the correct drivers and the mouse must configured to allow
this possibly very selective use. The real problem is this use would
implemented in all software since one is reconfiguring the default
behavior of hardware not normally used for pasting. Reconfiguring the
commands on a keyboard or toolbars is much easier. Keyboards are capable
of a wide variety of key combinations and toolbars are only limited by
software design choices.

I´m not sure what you mean. Obviously, you need to get your pointing
device to work before you can use it. What a particular application does
when it receives an event like a mouse click is for the particular
application to decide.

Aren´t you using your mouse or trackball or other kind of pointing
device to copy and paste? Copy and paste works by default as I described
in previous posts ever since I started using X11 almost 20 years
ago. Before that, it worked as I described with the GUI on AIX machines
and some Sun workstation they had at the university. It works the same
on the console when you enable it, and it used to be enabled by default
in Suse and Debian until changes were made that could lead to
interferences with X-servers and gpm[1] wasn´t installed by default
anymore. IIRC, it also worked on the console of the AIX machines.

It works the same in LO. Unfortunately, it´s screwed up in LO because
the way LO does copy and paste is using an unsuitable default ("paste
everything" instead of "paste unformatted") that cannot be changed. I
really wonder what´s so difficult to understand about it.

That you cannot bind something to mouseclicks in LO would make for
another feature request. That feature shouldn´t be needed for pasting
because pasting should just work right.

[1]: see http://www.nico.schottelius.org/software/gpm/

Hi,

I´ve entered two feature requests about this:

lee <lee@yun.yagibdah.de> writes:

how do I set a default pasting type so that when pasting, only the text
itself is pasted and not the formatting with it?

https://bugs.freedesktop.org/show_bug.cgi?id=38572

How do I make it so that text, when pasted with the mouse, is inserted
at the position of the text cursor where it´s supposed to be inserted,
rather than where the mouse pointer happens to be?

https://bugs.freedesktop.org/show_bug.cgi?id=38573

Dear Lee

This may be a work around until this is resolved

I downloaded ms intellimouse software, which allows programming different functions of mouse buttons for different programs.

I was amazed it worked as I have not used this software before.

I selected "settings", "add" libreOffice, on the "wheel button" I selected "Macro"

wrote the macro as :>> ctrl+shift+v, down arrow,down arrow, down arrow, enter > saved (ok)

then I copied some formatted text and clicked the wheel

It placed the text, now unformatted, at the text cursor position and not the mouse position.

regards

John B
Xp pro sp 3
LO 3.3.3.1

I was only aware of two things being enabled in "experimental mode". Macro recording and some kind of editing mode in Calc. If you have a list of other things I would love to see it. Note that I attribute that information to Michael Meeks.

Why is the recorder marked as Experimental? I will guess. Because it generates dispatches which provides little to no incite into how the internal objects work. Record a macro in say Word... Never done it, but I have seen recorded macros that are very readable using the API.

Finally, to address another question... Well, when someone says "macro", I think StarBasic. You will find people refer to macros using java script, Python, and numerous other languages.