Article View: adobe.scripting.indesign
Article #17495Re: A simple footnote model
From: Jens Schulze
Date: Fri, 30 May 2003 12:56
Date: Fri, 30 May 2003 12:56
25 lines
2133 bytes
2133 bytes
"Guy Verville" wrote: > The process is certainly easy, but I lack a good knowledge of the > Object Model. Something is eluding me. Is there, somewhere, a good, > web or printed, explanation of it? Is there someone here that can guide > me about what might be the solution? Thanks in advance. Obtain the official scripting reference at the bottom of the following page: http://www.pacific.adobe.com/products/indesign/scripting.html AFAIR Ole promised us for the next version a graphic of the object model... would be fine to have it here on my room board in DIN A1 format. What might be helpfull for your task is the TextStyleRange object, e.g. based on the text frame you can iterate over it and so check for the occurences of distinct char styles. One special issue you should regard when developing your algorithm: what if the footnote is in the last lines and the inserted footnote text will be larger that the lines following the footnote number to the end of the page? Would be fine if you can provide us with infos how you are working on this tool, feel free to ask when you are stuck, sometimes someone other might come to a clever solution your are not thinking about. Jens
Technical Details
Message-ID:
<3A2D196CC6114A3B568CE5F54959C4E3@in.WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de95549.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,aa16bd12e0e1253e X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-05-30 06:08:11 PST From: "Jens Schulze" <adobeforums@trickbetrueger.org> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: A simple footnote model Message-ID: <3A2D196CC6114A3B568CE5F54959C4E3@in.WebX.la2eafNXanI> Date: Fri, 30 May 2003 05:56:30 -0700 References: <1de95549.-1@WebX.la2eafNXanI> Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit