00001
00002
00003
00004
00005
00006
00007 import "oaidl.idl";
00008 import "ocidl.idl";
00009
00010
00011
00025 [
00026 object,
00027 uuid(ECDEABD9-0855-11D3-A75D-AA5D93000000),
00028 dual,
00029 helpstring("IGraphmatFile Interface"),
00030 pointer_default(unique)
00031 ]
00032
00033
00037 interface IGraphmatFile : IDispatch
00038 {
00040 [propget, id(1), helpstring("property bMacSynHierarchy")] HRESULT bMacSynHierarchy([out, retval] BOOL *pVal);
00041 [propput, id(1), helpstring("property bMacSynHierarchy")] HRESULT bMacSynHierarchy([in] BOOL newVal);
00042
00044 [propget, id(2), helpstring("property XmlMacSynOutputFile")] HRESULT XmlMacSynOutputFile([out, retval] BSTR *pVal);
00045 [propput, id(2), helpstring("property XmlMacSynOutputFile")] HRESULT XmlMacSynOutputFile([in] BSTR newVal);
00046
00048 [propget, id(3), helpstring("property Language")] HRESULT Language([out, retval] int *pVal);
00049 [propput, id(3), helpstring("property Language")] HRESULT Language([in] int newVal);
00050
00052 [propget, id(5), helpstring("property bEmptyLineIsSentenceDelim")] HRESULT bEmptyLineIsSentenceDelim([out, retval] BOOL *pVal);
00053 [propput, id(5), helpstring("property bEmptyLineIsSentenceDelim")] HRESULT bEmptyLineIsSentenceDelim([in] BOOL newVal);
00054
00056 [propget, id(6), helpstring("property bUseParagraphTagToDivide")] HRESULT bUseParagraphTagToDivide([out, retval] BOOL *pVal);
00057 [propput, id(6), helpstring("property bUseParagraphTagToDivide")] HRESULT bUseParagraphTagToDivide([in] BOOL newVal);
00058
00060 [propget, id(7), helpstring("property bUseIndention")] HRESULT bUseIndention([out, retval] BOOL *pVal);
00061 [propput, id(7), helpstring("property bUseIndention")] HRESULT bUseIndention([in] BOOL newVal);
00062
00064 [propget, id(10), helpstring("property bSubdueWrongMacroSynUnitToMainRoot")] HRESULT bSubdueWrongMacroSynUnitToMainRoot([out, retval] BOOL* pVal);
00065 [propput, id(10), helpstring("property bSubdueWrongMacroSynUnitToMainRoot")] HRESULT bSubdueWrongMacroSynUnitToMainRoot([in] BOOL newVal);
00066
00068 [propget, id(11), helpstring("property GraOutputFile")] HRESULT GraOutputFile([out, retval] BSTR *pVal);
00069 [propput, id(11), helpstring("property GraOutputFile")] HRESULT GraOutputFile([in] BSTR newVal);
00070
00072 [id(12), helpstring("method LoadDicts")] HRESULT LoadDicts();
00073
00075 [id(13), helpstring("method LoadFileToGraphan")] HRESULT LoadFileToGraphan([in] BSTR CommandLine);
00076
00078 [id(14), helpstring("method LoadStringToGraphan")] HRESULT LoadStringToGraphan([in] BSTR Buffer);
00079
00081 [propget, id(15), helpstring("property IsTableLoaded")] HRESULT IsTableLoaded([out, retval] BOOL *pVal);
00082
00084 [id(17), helpstring("method GetLineCount")] HRESULT GetLineCount([retval,out]UINT* Count);
00085
00087 [id(18), helpstring("method GetWord")] HRESULT GetWord([in] UINT LineNo, [retval, out] BSTR* s);
00088
00090 [id(16), helpstring("method HasDescr")] HRESULT HasDescr([in] UINT LineNo, [in]UINT D, [retval, out] BOOL* result);
00091
00093 [id(19), helpstring("method GetDescriptorStr")] HRESULT GetDescriptorStr([in] UINT DescriptorNo, [retval, out] BSTR* result);
00094
00095 [id(20), helpstring("method GetRubiconTypeStr")] HRESULT GetRubiconTypeStr([in]UINT RubiconTypeNo, [retval, out] BSTR* result);
00096
00098 [id(21), helpstring("method GetLine")] HRESULT GetLine([in] UINT LineNo, [retval, out] BSTR* result);
00099
00101 [id(22), helpstring("method GetOborotNo")] HRESULT GetOborotNo([in] UINT LineNo, [retval, out] LONG* result);
00102
00105 [id(24), helpstring("method SetOborDic")] HRESULT SetOborDic([in] IUnknown* Dic);
00106
00109 [id(25), helpstring("method GetUnitOffset")] HRESULT GetUnitOffset([in] int LineNo, [out, retval] int* Offset );
00110
00112 [id(26), helpstring("method GetUnitLength")] HRESULT GetUnitLength([in] int LineNo, [out, retval] BYTE* Length );
00113
00115 [id(27), helpstring("method FreeTable")] HRESULT FreeTable();
00116
00118 [id(28), helpstring("method FreeDicts")] HRESULT FreeDicts();
00119
00121 [id(29), helpstring("method GetTokenLanguage")] HRESULT GetTokenLanguage([in] int LineNo, [out, retval]int* Language);
00122
00123
00124
00125 };
00126
00127
00128 [
00129 uuid(ECDEABCD-0855-11D3-A75D-AA5D93000000),
00130 version(1.0),
00131 helpstring("graphan 1.0 Type Library")
00132 ]
00133 library GRAPHANLib
00134 {
00135 importlib("stdole32.tlb");
00136 importlib("stdole2.tlb");
00137
00138 #include "../GraphanLib/Descriptors.h"
00139
00140 [
00141 uuid(ECDEABDA-0855-11D3-A75D-AA5D93000000),
00142 helpstring("GraphmatFile Class"),
00143 licensed
00144 ]
00145 coclass GraphmatFile
00146 {
00147 [default] interface IGraphmatFile;
00148 };
00149
00150 };
00151
00152