🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #16276

PageRange ignored when Exporting to SVG

#16276
From: E_Gunnar_Liljas
Date: Tue, 30 Sep 2003 17:57
24 lines
1478 bytes
I'm trynig to automate SVG exporting, and it seems the PageRange property of the SVGExportPreference is completely ignored by InDesign.

Dim aPrefs As InDesign.SVGExportPreference
Set aPrefs = mApp.SVGExportPreferences
aPrefs.EmbedFonts = True
aPrefs.EmbedImages = True
aPrefs.FileEncoding = idUTF8Encoding
aPrefs.FontSubsetting = idSubsetGlyphs
aPrefs.RenderingStyle = idProgressive
aPrefs.StyleFormat = idCSS
aPrefs.PageRange = "2"

mDoc.Export "SVG",ThePath,false

...exports the entire document

Also, using the export function on a TextFrame object

aFrame.Export "SVG",ThePath,false

...also exports the entire document. Isn't there any way to emulate the "Export Selection" option for SVG export?

Best regards
Gunnar
Technical Details
Message-ID: <2ccd9561.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!sn-xit-02!sn-xit-06!sn-xit-05!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsgate.cistron.nl!news2.euro.net!newsfeed.freenet.de!eusc.inter.net!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: f939a,d20c2bfaf3a59e97,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-09-30 11:08:04 PST
From: E_Gunnar_Liljas@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!sn-xit-02!sn-xit-06!sn-xit-05!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsgate.cistron.nl!news2.euro.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: PageRange ignored when Exporting to SVG
Message-ID: <2ccd9561.-1@webx.la2eafNXanI>
Date: Tue, 30 Sep 2003 10:57:29 -0700
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit