Adobe 65009333 Scripting Guide - Page 28

dictionary = English: USA, English: USA Legal

Page 28 highlights

Text and Type Placing text and setting text-import preferences 28 //TextImportCharacterSet.windowsCE //TextImportCharacterSet.windowsCyrillic //TextImportCharacterSet.windowsEE //TextImportCharacterSet.windowsGreek //TextImportCharacterSet.windowsTurkish characterSet = TextImportCharacterSet.unicode; convertSpacesIntoTabs = true; spacesIntoTabsCount = 3; //The dictionary property can take any of the following //language names (as strings): //Bulgarian //Catalan //Croatian //Czech //Danish //Dutch //English: Canadian //English: UK //English: USA //English: USA Legal //English: USA Medical //Estonian //Finnish //French //French: Canadian //German: Reformed //German: Swiss //German: Traditional //Greek //Hungarian //Italian //Latvian //Lithuanian //Neutral //Norwegian: Bokmal //Norwegian: Nynorsk //Polish //Portuguese //Portuguese: Brazilian //Romanian //Russian //Slovak //Slovenian //Spanish: Castilian //Swedish //Turkish dictionary = "English: USA"; //platform options: //ImportPlatform.macintosh //ImportPlatform.pc platform = ImportPlatform.macintosh; stripReturnsBetweenLines = true; stripReturnsBetweenParagraphs = true; useTypographersQuotes = true; }

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88

Text and Type
Placing text and setting text-import preferences
28
//TextImportCharacterSet.windowsCE
//TextImportCharacterSet.windowsCyrillic
//TextImportCharacterSet.windowsEE
//TextImportCharacterSet.windowsGreek
//TextImportCharacterSet.windowsTurkish
characterSet = TextImportCharacterSet.unicode;
convertSpacesIntoTabs = true;
spacesIntoTabsCount = 3;
//The dictionary property can take any of the following
//language names (as strings):
//Bulgarian
//Catalan
//Croatian
//Czech
//Danish
//Dutch
//English: Canadian
//English: UK
//English: USA
//English: USA Legal
//English: USA Medical
//Estonian
//Finnish
//French
//French: Canadian
//German: Reformed
//German: Swiss
//German: Traditional
//Greek
//Hungarian
//Italian
//Latvian
//Lithuanian
//Neutral
//Norwegian: Bokmal
//Norwegian: Nynorsk
//Polish
//Portuguese
//Portuguese: Brazilian
//Romanian
//Russian
//Slovak
//Slovenian
//Spanish: Castilian
//Swedish
//Turkish
dictionary = "English: USA";
//platform options:
//ImportPlatform.macintosh
//ImportPlatform.pc
platform = ImportPlatform.macintosh;
stripReturnsBetweenLines = true;
stripReturnsBetweenParagraphs = true;
useTypographersQuotes = true;
}