[EMAIL PROTECTED] wrote:
Hi,
Hi, Liu

I like OpenOffice since it's legally free. And with very well developed
functions already.
And I believe it is impossible to integrate a menu-item, button or shortcut for each and every function/property/formatting we can think of.

Anyway, while I was using the software, I've always been thinking if it's
possible to customize the "right-click menu", it would be just even easier to 
use.

For example I try to copy-paste a paragraph of article from web, I needed to
click "edit", "paste special", then choose the "unformated text" every time. It
becomes annoying to go so many steps for just pasting something, especially if
someone needs to copy-paste texts often (like me, a student writing reports all
the time). If I can customize the right-click menu, then I could add the "paste
as unformated text" option into the menu, it would really save me a lot of work.

When I have to paste unformatted text task several times I use Ctrl+Shift+V, U, Enter.
Ctrl+Shift+V calls the dialog
U selects entry "Unformatted Text" in the selected listbox
Enter pushes the default button of that dialog ("OK")

It's just a thought, and I dont even know if your OpenOffice development guys
are ever going to read my email. But since I study IT and IT management, I
thought it's important to get users' feedbacks and meet people's needs, so I
wanted to send this email just for supporting.

No, I don't believe developers read this list. You may create an account at http://qa.openoffice.org/issue_handling/project_issues.html in order to file an issue or request of enhancement.

Doing the above keystrokes while the macro-recorder is running, OOo generates the following Basic-code, which should be saved in container "My Macros", Libray "Standard". You may bind it to any shortcut, userdefined button or your own menu-entry (not context-menu).

sub rec_PasteUnformatted
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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to