🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.pl.openoffice
Article #14339

Re: Wklej tekst niesformatowany na stałe.

#14339
From: Johnson
Date: Wed, 14 Oct 2009 07:35
34 lines
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.
Technical Details
Message-ID: <hb3v09$red$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
References: <hb3uh7$poa$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: Johnson <johnson@nospam.pl>
Newsgroups: alt.pl.openoffice
Subject: Re: Wklej tekst niesformatowany na stałe.
Date: Wed, 14 Oct 2009 09:35:36 +0200
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 34
Message-ID: <hb3v09$red$1@inews.gazeta.pl>
References: <hb3uh7$poa$1@inews.gazeta.pl>
NNTP-Posting-Host: host-89-231-128-7.rawamaz.mm.pl
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1255505737 28109 89.231.128.7 (14 Oct 2009 07:35:37 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Wed, 14 Oct 2009 07:35:37 +0000 (UTC)
X-User: Jarlex
In-Reply-To: <hb3uh7$poa$1@inews.gazeta.pl>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit