InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IScriptOfText.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Harshvardhan Singh
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change $
14 // ___________________
15 //
16 // ADOBE CONFIDENTIAL
17 //
18 // Copyright 2021 Adobe
19 // All Rights Reserved.
20 //
21 // NOTICE: All information contained herein is, and remains
22 // the property of Adobe and its suppliers,
23 // if any. The intellectual and technical concepts contained
24 // herein are proprietary to Adobe and its
25 // suppliers and are protected by all applicable intellectual property
26 // laws, including trade secret and copyright laws.
27 // Dissemination of this information or reproduction of this material
28 // is strictly forbidden unless prior written permission is obtained
29 // from Adobe .
30 //
31 //========================================================================================
32 
33 #ifndef IScriptOfText_h
34 #define IScriptOfText_h
35 
36 #include "IPMUnknown.h"
37 #include "LinguisticID.h"
38 
40 public:
41  enum{kDefaultIID = IID_ISCRIPTOFTEXT};
42 
43  virtual bool16 IsScriptRoman(const char *romanText)=0;
44  virtual bool16 IsScriptJapanese(const char *japaneseText)=0;
45  virtual int32 RoundTripScriptOfText( const char *anyText, int32 writingScript, bool16 dontAssert = kFalse )=0;
46 
47 };
48 #endif /* IScriptOfText_h */