3 Replies Latest reply on Apr 28, 2008 11:54 AM by (Peter_Coppens)

    Table cell font when cell is empty


      Using javascript, I am trying to get hold of the font that would be used when a user would enter text in an empty cell.

      I tried something like


      Where currCell is the empty table cell (currCell.paragraphs.length==0).

      In my case this returns Times. On the other hand, when I start typing text in that empty cell, InDesign (CS3) uses another font (Optima) (which is the expected font).

      Is there any way I can get hold of the correct font for that empty cell?

      Guidance more than welcome!