4 Replies Latest reply on Jul 24, 2015 9:40 PM by Sudha K

    Export table as html with border

    Sudha K



         When i am exporting table into html file  using indesign javascript, its exporting table as html without border using the below code.


         How can i export the table with border using indesign javascript without css option??


      htmlPath = File(app.activeDocument.fullName.fsName.replace(".indd",".html"));  

      app.activeDocument.htmlExportPreferences.viewDocumentAfterExport = true;

      app.activeDocument.htmlExportPreferences.cssExportOption = StyleSheetExportOption.NONE;

      app.activeDocument.exportFile(ExportFormat.HTML, htmlPath, false);


      Screen shot 2015-07-24 at 1.45.19 PM.png



      Screen shot 2015-07-24 at 1.57.35 PM.png


      Thanks in advance,

      Sudha K