List Info

Thread: Dispatching a CommandURL from a hidden document




Dispatching a CommandURL from a hidden document
user name
2006-11-30 13:12:31
Hi together,

one more question today.

I wrote a little program, copying text from one document to
an other
using the CommandURLs ".uno:SelectAll",
".uno:Copy" and ".uno:Paste".
This works quite well. But if I open my document in hidden
mode, nothing
is copied. How can I copy the whole content from one
document to an
other in hidden mode?

Greetings, Tobias

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org

Dispatching a CommandURL from a hidden document
user name
2006-11-30 21:42:28
Tobias Krais wrote:

> Hi together,
> 
> one more question today.
> 
> I wrote a little program, copying text from one
document to an other
> using the CommandURLs ".uno:SelectAll",
".uno:Copy" and ".uno:Paste".
> This works quite well. But if I open my document in
hidden mode, nothing
> is copied. How can I copy the whole content from one
document to an
> other in hidden mode?

It is very probable that dispatches don't work in hidden
mode. I think I
already gave you a macro to accomplish the same what you can
do with
the clipboard, at least for Writer.

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/Gu
llFOSS
Please don't reply to "nospamformbagmx.de".
I use it for the OOo lists and only rarely read other mails
sent to it.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )