InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
TxtImpID.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Adobe Developer Technologies
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 // Defines IDs used by the TxtImp plug-in.
24 //
25 //========================================================================================
26 
27 #ifndef __TxtImpID_h__
28 #define __TxtImpID_h__
29 
30 #include "SDKDef.h"
31 
32 // Company:
33 #define kTxtImpCompanyKey kSDKDefPlugInCompanyKey // Company name used internally for menu paths and the like. Must be globally unique, only A-Z, 0-9, space and "_".
34 #define kTxtImpCompanyValue kSDKDefPlugInCompanyValue // Company name displayed externally.
35 
36 // Plug-in:
37 #define kTxtImpPluginName "TextImportFilter" // Name of this plug-in.
38 #define kTxtImpPrefixNumber 0x42100 // Unique prefix number for this plug-in(*Must* be obtained from Adobe Developer Support).
39 #define kTxtImpVersion kSDKDefPluginVersionString // Version of this plug-in (for the About Box).
40 #define kTxtImpAuthor "Adobe Developer Technologies" // Author of this plug-in (for the About Box).
41 
42 // Plug-in Prefix: (please change kTxtImpPrefixNumber above to modify the prefix.)
43 #define kTxtImpPrefix RezLong(kTxtImpPrefixNumber) // The unique numeric prefix for all object model IDs for this plug-in.
44 #define kTxtImpStringPrefix SDK_DEF_STRINGIZE(kTxtImpPrefixNumber) // The string equivalent of the unique prefix number for this plug-in.
45 
46 // PluginID:
47 
48 // ClassIDs:
49 //Start from InDesign 3.0, plug-ins no longer need to provide register bosses for menu, string, action, panel and tool tip.
50 #if 0
51 #endif
52 
53 
54 // InterfaceIDs:
55 
56 // ImplementationIDs:
57 
58 // ActionIDs:
59 
60 // WidgetIDs:
61 
62 // "About Plug-ins" sub-menu:
63 #define kTxtImpAboutMenuKey kTxtImpStringPrefix "kTxtImpAboutMenuKey"
64 #define kTxtImpAboutMenuPath kSDKDefStandardAboutMenuPath kTxtImpCompanyKey
65 
66 // "Plug-ins" sub-menu:
67 #define kTxtImpPluginsMenuKey kTxtImpStringPrefix "kTxtImpPluginsMenuKey"
68 #define kTxtImpPluginsMenuPath kSDKDefPlugInsStandardMenuPath kTxtImpCompanyKey kSDKDefDelimitMenuPath kTxtImpPluginsMenuKey
69 
70 // Menu item keys:
71 
72 // Other StringKeys:
73 #define kTxtImpAboutBoxStringKey kTxtImpStringPrefix "kTxtImpAboutBoxStringKey"
74 #define kTxtImpTargetMenuPath kTxtImpPluginsMenuPath
75 #define kTxtImpFormatNameKey kTxtImpStringPrefix "kTxtImpFormatName"
76 #define kTxtImpProgressBarTitleKey kTxtImpStringPrefix "kTxtImpProgressBarTitleKey"
77 #define kTxtImpInProgressStringKey kTxtImpStringPrefix "kTxtImpInProgressStringKey"
78 #define kTxtImpEncodingASCIIKey kTxtImpStringPrefix "kTxtImpEncodingASCIIKey"
79 #define kTxtImpEncodingUNICODEKey kTxtImpStringPrefix "kTxtImpEncodingUNICDEKey"
80 #define kTxtImpEncodingShiftJISKey kTxtImpStringPrefix "kTxtImpEncodingShiftJISKey"
81 #define kTxtImpEncodingJISKey kTxtImpStringPrefix "kTxtImpEncodingJISKey"
82 
83 // Nontranslated Stringkeys:
84 #define kTxtImpFileExtensionKey "CPP"
85 
86 // Nontranslated Strings:
87 #define kTxtImpFileType 'TEXT'
88 
89 // Initial data format version numbers
90 #define kTxtImpFirstMajorFormatNumber kSDKDef_30_PersistMajorVersionNumber
91 #define kTxtImpFirstMinorFormatNumber kSDKDef_30_PersistMinorVersionNumber
92 
93 // Data format version numbers for the PluginVersion resource
94 #define kTxtImpCurrentMajorFormatNumber kTxtImpFirstMajorFormatNumber // most recent major format change
95 #define kTxtImpCurrentMinorFormatNumber kTxtImpFirstMinorFormatNumber // most recent minor format change
96 
97 #endif // __TxtImpID_h__
98 
99 // End, TxtImpID.h.
100 
101 
102