InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
FormScriptingDefs.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Mark VerMurlen
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //
23 // Contains defines used throughout scripting architecture
24 //
25 //========================================================================================
26 
27 #ifndef __FORMSCRIPTINGDEFS__
28 #define __FORMSCRIPTINGDEFS__
29 
30 #define kFormScriptingStringsRsrcID 7000
31 #define kFormScriptingStringsNoTransRsrcID 7100
32 #define kFormScriptErrorStringTableRsrcID 7002
33 
34 // ------------------------------------------------------------------
35 
36 //
37 // Please make sure any id's you add are unique !!!
38 //
39 
40 enum InteractiveElementsScriptSuites
41 {
42  s_InteractiveElementsSuite = 'InES',
43 
44  enLastFormScriptSuite
45 };
46 
47 // ------------------------------------------------------------------
48 
49 // Script Misc
50 enum FormScriptMisc
51 {
52  //These are used for inheritance in the AETE
53  FormItemProperties = 'FPrp'
54 };
55 
56 // ------------------------------------------------------------------
57 
58 enum FormDefs
59 {
60  c_FormField = 'Ffld', // cRectangle in AERegistry.h
61  c_FormFields = 'Ffds',
62 
63  c_PushButton = 'Push',
64  c_PushButtons = 'Pshs',
65  c_RadioButton = 'Rdio',
66  c_RadioButtons = 'Rdos',
67  c_CheckBox = 'Chkb',
68  c_CheckBoxes = 'Chbs',
69  c_EditTextField = 'Edtx',
70  c_EditTextFields = 'Edts',
71  c_ListBox = 'Lisb',
72  c_ListBoxes = 'Lsbs',
73  c_ComboBox = 'Cmbo',
74  c_ComboBoxes = 'Cmbx',
75  c_SignatureField = 'Sigf',
76  c_SignatureFields = 'Sigs',
77 
78  c_FieldChoice = 'CHoc',
79  c_FieldChoices = 'CHcs',
80  c_FieldAppearance = 'APrc',
81  c_FieldAppearances = 'APrs',
82 
83  c_ButtonPref = 'btnp',
84 
85  c_MultiStateObject = 'Msob',
86  c_MultiStateObjects = 'Msos',
87 
88  e_ApplyAppearance = 'AApr',
89  e_ConvertButtonToObject = 'bToO',
90  e_ReleaseStateAsObject = 'Srls',
91  e_ReleaseAllStatesAsObjects = 'Srss',
92  e_ResetAllMultiStateObjects = 'rstM',
93  e_ResetAllButtons = 'rstB',
94 
95  e_AddItemsAsState = 'aias',
96  e_AddItemsToState = 'aits',
97 
98  en_FieldVisibilityInPDF = 'FVIP',
99  en_PDFVisible = 'FVis',
100  en_PDFHidden = 'Fhid',
101  en_PDFVisibleNoPrint = 'FVNP',
102  en_PDFHiddenButPrint = 'FHBP',
103 
104  en_AppearanceState = 'FStt',
105  en_StateNormal = 'Fstn',
106  en_StateOver = 'Fstv',
107  en_StateDown = 'Fstd',
108  en_StateNormalOn = 'Fsno',
109  en_StateNormalOff = 'Fsnf',
110  en_StateOverOn = 'Fsvo',
111  en_StateOverOff = 'Fsvf',
112  en_StateDownOn = 'Fsdo',
113  en_StateDownOff = 'Fsdf',
114  en_StateCustom = 'Fcss',
115 
116  en_FieldTextAlign = 'ATxx',
117 
118  p_FormExportMapping = 'Fexm',
119  p_FormValue = p_Value,
120  p_FormDefaultValue = 'Fdvl',
121  p_FormVisibilityInPDF = 'Fvip',
122  p_FormExport = 'Fexp',
123  p_FormExportRequired = 'Fexr',
124  p_FormAppearanceStyle = p_StyleName,
125 
126  p_FieldTextFont = 'Ffnt',
127  p_FieldTextFontStyle = 'Ffsy',
128  p_FieldTextSize = 'Ffsz',
129  p_FieldTextFillColor = 'Ffcl',
130  p_FieldTextFillTint = 'Fftt',
131  p_FieldTextOverprint = 'Ffov',
132  p_FieldTextLineColor = 'Ffsc',
133  p_FieldTextLineTint = 'Ffst',
134  p_FieldTextStrokeOverprint = 'Ffso',
135  p_FieldTextLineWeight = 'Ffsw',
136  p_FieldTextLineMiterLimit = 'Ffml',
137  p_FieldTextLineJoin = 'Ffsj',
138  p_FieldTextLineAlign = 'Ffsa',
139 
140  p_ExportValue = 'Fexv',
141 
142  p_DefaultChecked = 'Cdfc',
143 
144  p_TextMultiline = 'Txml',
145  p_TextPassword = 'iSpw',
146  p_TextScroll = 'Txds',
147  p_TextHasMaxLength = 'Txhm',
148  p_FormSpellCheck = 'Fnsc',
149  p_TextUseForFileSel = 'Tufs',
150  p_TextMaxLength = 'Txmx',
151  p_FieldTextAlignment = 'Txal',
152 
153  p_ChoiceAllowMultiSel = 'Cham',
154  p_ChoiceEditable = 'Ched',
155  p_ChoiceSort = 'Chst',
156  p_ChoiceList = 'Chlt',
157 
158  p_FormActiveState = 'Favt',
159  p_AppearanceState = 'APst',
160  p_AppearanceIsActive = 'APav',
161 
162  p_ChoicePositionIndex = 'CHps',
163 
164  p_CalculationOrder = 'COpp',
165  p_TabOrder = 'TOpp',
166 
167  p_ButtonPref = 'bnpp',
168 
169  p_NewPosition = 'APnp',
170  p_ActiveStateIndex = 'Aase',
171 
172  p_InitiallyHidden = 'Minh',
173  p_PageItems = 'pGpI',
174 
175  p_FormMERTL = 'MRTL',
176  p_PrintableInPDF = 'PPDF',
177  p_HiddenUntilTriggered = 'HiTr'
178 };
179 
180 #endif //#ifndef __FORMSCRIPTINGDEFS__