Article View: adobe.scripting.indesign
Article #20824Re: Insert soft return (newby)
From: Olav Kvern
Date: Thu, 30 May 2002 21:23
Date: Thu, 30 May 2002 21:23
13 lines
1435 bytes
1435 bytes
Jay-- I think the best way to answer is to start at the bottom of your post and work our way up. character -1 is the *last* character in a text object (any text object); character -2 is the penultimate character. So, in this case, myLastBaseline is the last basline in the found item--which is *not* (necessarily) a paragraph. myParaEndBaseline is the baseline of the character before the return *of the paragraph containing the found item*. Basically, we're checking to see if there's a difference between the baseline of the last character in the paragraph and the last character of the found item. Does that make more sense? Thanks, Ole
Technical Details
Message-ID:
<ef8b754.11@WebX.aaQKaf7vad4>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!peer1-sjc1.usenetserver.com!usenetserver.com!newsfeed-east.nntpserver.com!nntpserver.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<ef8b754.-1@WebX.aaQKaf7vad4>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,4c5b67e22acd13de X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-05-30 14:37:41 PST From: "Olav Kvern" <okvern@adobe.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!peer1-sjc1.usenetserver.com!usenetserver.com!newsfeed-east.nntpserver.com!nntpserver.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Insert soft return (newby) Message-ID: <ef8b754.11@WebX.aaQKaf7vad4> Date: Thu, 30 May 2002 14:23:10 -0700 References: <ef8b754.-1@WebX.aaQKaf7vad4> Lines: 20 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit