Thread View: alt.pl.openoffice
3 messages
3 total messages
Started by Skrzekacz
Wed, 14 Oct 2009 07:27
Wklej tekst niesformatowany na stałe.
Author: Skrzekacz
Date: Wed, 14 Oct 2009 07:27
Date: Wed, 14 Oct 2009 07:27
3 lines
1038 bytes
1038 bytes
Czy jest mozliwość ustawienia na stałe wklejania tekstu niesformatowanego. Obecnie domyslnie kopiuje również formatowanie, więc za każdym razem muszę robić Wklej Specjalnie/Tekst niesformatowany.
Re: Wklej tekst niesformatowany na stałe.
Author: Johnson
Date: Wed, 14 Oct 2009 07:35
Date: Wed, 14 Oct 2009 07:35
34 lines
1819 bytes
1819 bytes
Skrzekacz pisze:
> Czy jest mozliwość ustawienia na stałe wklejania tekstu
> niesformatowanego.
Zarejestrowałem makro:
sub Test
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 = 10
dispatcher.executeDispatch(document, ".uno:ClipboardFormatItems", "", 0,
args1())
end sub
przypisz sobie do ctrl+v i już
--
@2009 Johnson
Gdy widzisz mędrca, myśl o tym, by mu dorównać. Gdy widzisz tego, komu
brak rozsądku, zastanów się nad sobą samym.
Re: Wklej tekst niesformatowany na stałe.
Author: Skrzekacz
Date: Wed, 14 Oct 2009 11:16
Date: Wed, 14 Oct 2009 11:16
9 lines
1235 bytes
1235 bytes
Użytkownik "Johnson" <johnson@nospam.pl> napisał w wiadomości news:hb3v09$red$1@inews.gazeta.pl... > Zarejestrowałem makro: > przypisz sobie do ctrl+v i już Rozwiązanie genialne w swej prostocie. Dzieki bo nie wiedzieć czemu sam na to nie wpadłem, a robiłem bardziej skomplikowane rzeczy za pomoca makr.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads