🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18928

Re: Can I update a TOC via VB?

#18928
From: Olav Kvern
Date: Mon, 03 Feb 2003 20:55
13 lines
1105 bytes
iolaire--

Once you've created a TOC, you can use the Document.CreateTOC method to update the TOC.

The method looks like this:

CreateTOC(TOCStyle As Object, [replace As Boolean], [Book As Object], [placePoint])

Just set replace to True, and you should be good to go.

Thanks,

Ole
Technical Details
Message-ID: <1de7adea.0@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeeds.sol.net!195.40.0.165.MISMATCH!easynet-monga!easynet.net!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de7adea.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,fb0a3198c158c246
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-02-03 13:08:19 PST
From: "Olav Kvern" <okvern@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeeds.sol.net!195.40.0.165.MISMATCH!easynet-monga!easynet.net!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Can I update a TOC via VB?
Message-ID: <1de7adea.0@WebX.la2eafNXanI>
Date: Mon, 3 Feb 2003 12:55:10 -0800
References: <1de7adea.-1@WebX.la2eafNXanI>
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit