I am exporting InDesign file as HTML with no css option. If I use the option showingOptions is true, then the dialog HTML Export options dialog is open when running the script. But I need to export InDesign file as html with no css and without dialog open… If anyone knows pls let me know....
Thanks in advance,
Like other export types, HTML export has its own export preferences:
app.documents.htmlExportPreferences.generateCascadeStyleSheet = false;
Thanks for your reply. its throwing error to me. Then i searched it in InDesign CS6 object model reference.
Error : Object does not support the property or method 'generateCascadeStyleSheet'
app.activeDocument.htmlExportPreferences.cssExportOption = StyleSheetExportOption.NONE;
Its working now.
- Sudha K