Skip to main content
grefel
Community Expert
Community Expert
October 13, 2011
Answered

EPUB/HTML Exportoptions scriptable?

  • October 13, 2011
  • 1 reply
  • 1732 views

Hey,

with InDesign CS5.5 we've got the possibility to control the rasterize and position options for EPUB and XHTML export. (Object -> Object Export Options). Is there any way to acces these Options via Script? It should hang around with PageItem, but i cannot find it there.

Do I miss something?

Thanks,

Gregor

This topic has been closed for replies.
Correct answer grefel

Hey,

i was looking for the ObjectExportOptions these are only Properties of SplineItem, GraphicLine, Group, Oval, Polygon, Rectangle and NOT TextFrame/PageItem. Seems like a Bug, in the GUI I'm able to append Export Options to a Textframe.

Gregor

1 reply

Marc Autret
Legend
October 13, 2011

Hi gregor,

The CS5.5 scripting DOM now exposes the new EPubExportPreference and HTMLExportPreference structures, which you can reach from Document and Book objects. E.g.: myDoc.ePubExportPreferences, etc.

See also: http://www.indiscripts.com/post/2011/04/so-what-s-new-in-indesign-cs5-5-scripting-dom

@+

Marc

grefel
Community Expert
grefelCommunity ExpertAuthor
Community Expert
October 13, 2011

Hey Marc,

I'm aware of the global EPubExportPreference and HTMLExportPreference, but i was looking for the PageItem Options. These would correspond to (Object -> Object Export Options).

Thanks,

Gregor

grefel
Community Expert
grefelCommunity ExpertAuthorCorrect answer
Community Expert
October 13, 2011

Hey,

i was looking for the ObjectExportOptions these are only Properties of SplineItem, GraphicLine, Group, Oval, Polygon, Rectangle and NOT TextFrame/PageItem. Seems like a Bug, in the GUI I'm able to append Export Options to a Textframe.

Gregor