2 Replies Latest reply on Oct 30, 2009 10:13 AM by Peter Kahrel

    JS-CS4: Word/RTF import presets

    Peter Kahrel Adobe Community Professional & MVP

      I've been looking for a property like "app.wordRTFImportPresets", but haven't found anything. Jongware's remarks in http://forums.adobe.com/message/2348441#2348441 seem to imply that they don't exist. Can anybody confirm that?

       

      Thanks,

       

      Peter

        • 1. Re: JS-CS4: Word/RTF import presets
          Dirk Becker  Level 4

          $.writeln(app.wordRTFImportPreferences.properties.toSource().replace(/,/g,",\n\t"));

          ({convertPageBreaks:1397778242,

          importIndex:true,

          importTOC:true,

          removeFormatting:false,

          convertTablesTo:1396921684,

          preserveLocalOverrides:false,

          importUnusedStyles:false,

          resolveCharacterStyleClash:2001879877,

          resolveParagraphStyleClash:2001879877,

          preserveGraphics:true,

          preserveTrackChanges:true,

          importFootnotes:true,

          importEndnotes:true,

          useTypographersQuotes:true,

          convertBulletsAndNumbersToText:false,

          parent:resolve("/")})

           

          Dirk

           

          • 2. Re: JS-CS4: Word/RTF import presets
            Peter Kahrel Adobe Community Professional & MVP

            Thanks, Dirk. That's a way out. What I meant was that I would like scripted access to saved Word/RTF settings. You have access to e.g. PDF export settings, but not to Word/RTF settings. One workaround is to create your own preset file using your method and read that later, but that doesn't give you all the options in the dialog (e.g. mappings).

             

            Another workaround is to read the preset manually. It lives in a folder called Word Import Presets and has the file extension smp. It's in fact an XML file with all the settings in it, so parsing the XML gives you what you want.

             

            But I was hoping that you could load those import settings a bit more easily. Looks like an oversight. On to the feature requests!

             

            Thanks,

             

            Peter