๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.indesign.sdk
Article #4397

Question about how to "use" PasteData in copy&paste

#4397
From: FerdinandSchwrer itip
Date: Sun, 20 Jun 2004 08:14
9 lines
1126 bytes
While pre-processing the text edit command "paste", I utilize the PasteData argument in order to find out if's ok to paste at the requested position.

To decide this, I need to look at the text attributes of the text that's to be pasted.

I found the PasteData::GetStoryRef and PasteData::GetDataStart. However, it looks like GetStoryRef returns the story the original text was copied from. But GetDataStart is not the text index in the source story but in the scrap, I guess??

Any idea?
Thanks in advance?
Ferdinand
Technical Details
Message-ID: <3bb4af7a.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!newsfeed.icl.net!newsfeed.arcor.de!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f63e9,5a658475d27e1c57,start
X-Google-Attributes: gidf63e9,public
From: Ferdinand_Schw๏ฟฝrer(itip)@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!newsfeed.icl.net!newsfeed.arcor.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.indesign.sdk
Subject: Question about how to "use" PasteData  in copy&paste
Message-ID: <3bb4af7a.-1@webx.la2eafNXanI>
Date: Sun, 20 Jun 2004 01:14:25 -0700
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit