

/* this ALWAYS GENERATED file contains the definitions for the interfaces */


 /* File created by MIDL compiler version 7.00.0500 */
/* at Sun Jun 07 00:15:02 2009
 */
/* Compiler settings for .\CyberArticle.idl:
    Oicf, W1, Zp8, env=Win32 (32b run)
    protocol : dce , ms_ext, c_ext, robust
    error checks: stub_data 
    VC __declspec() decoration level: 
         __declspec(uuid()), __declspec(selectany), __declspec(novtable)
         DECLSPEC_UUID(), MIDL_INTERFACE()
*/
//@@MIDL_FILE_HEADING(  )

#pragma warning( disable: 4049 )  /* more than 64k source lines */


/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif

#include "rpc.h"
#include "rpcndr.h"

#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__


#ifndef __CyberArticle_i_h__
#define __CyberArticle_i_h__

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

/* Forward Declarations */ 

#ifndef __ICAAutomationApp_FWD_DEFINED__
#define __ICAAutomationApp_FWD_DEFINED__
typedef interface ICAAutomationApp ICAAutomationApp;
#endif 	/* __ICAAutomationApp_FWD_DEFINED__ */


#ifndef __CAAutomationApp_FWD_DEFINED__
#define __CAAutomationApp_FWD_DEFINED__

#ifdef __cplusplus
typedef class CAAutomationApp CAAutomationApp;
#else
typedef struct CAAutomationApp CAAutomationApp;
#endif /* __cplusplus */

#endif 	/* __CAAutomationApp_FWD_DEFINED__ */


#ifdef __cplusplus
extern "C"{
#endif 



#ifndef __LibCyberArticle_LIBRARY_DEFINED__
#define __LibCyberArticle_LIBRARY_DEFINED__

/* library LibCyberArticle */
/* [version][uuid] */ 


EXTERN_C const IID LIBID_LibCyberArticle;

#ifndef __ICAAutomationApp_INTERFACE_DEFINED__
#define __ICAAutomationApp_INTERFACE_DEFINED__

/* interface ICAAutomationApp */
/* [object][dual][oleautomation][uuid] */ 


EXTERN_C const IID IID_ICAAutomationApp;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("09FE5BB2-C94F-412F-82E7-17A6D289B8C8")
    ICAAutomationApp : public IDispatch
    {
    public:
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SelectedNodes( 
            /* [retval][out] */ IDispatch **pVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CurrentArticle( 
            /* [retval][out] */ IDispatch **pVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CurrentArticleHtmlDocument( 
            /* [retval][out] */ IDispatch **pVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HWND( 
            /* [retval][out] */ long *pVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_BookCount( 
            /* [retval][out] */ long *pVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Book( 
            /* [in] */ long nBookIndex,
            /* [retval][out] */ IDispatch **pVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Attribute( 
            /* [in] */ BSTR bstrAttributeName,
            /* [retval][out] */ BSTR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Attribute( 
            /* [in] */ BSTR bstrAttributeName,
            /* [in] */ BSTR newVal) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddBook( 
            /* [in] */ BSTR bstrBookGUID) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CloseBook( 
            /* [in] */ BSTR bstrBookGUID) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ViewArticle( 
            /* [in] */ BSTR bstrBookGUID,
            /* [in] */ long nArticleID) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SelectNode( 
            /* [in] */ BSTR bstrBookGUID,
            /* [in] */ long nNodeID) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE NewArticle( 
            /* [in] */ IDispatch *pParentNode,
            /* [in] */ BSTR bstrTitle) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE NewArticleUsingTemplate( 
            /* [in] */ IDispatch *pParentNode,
            /* [in] */ BSTR bstrTitle,
            /* [in] */ BSTR bstrTemplateFileName) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EditArticle( 
            /* [in] */ IDispatch *pArticle) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LoadCAString( 
            /* [in] */ BSTR bstrStringName,
            /* [retval][out] */ BSTR *pVal) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LoadMacroString( 
            /* [in] */ BSTR bstrMacroAppGUID,
            /* [in] */ BSTR bstrStringName,
            /* [retval][out] */ BSTR *pVal) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE BeginTrackTextSelection( 
            /* [in] */ BSTR bstrNewTextStyle,
            /* [in] */ BSTR bstrSpanExtAttributeName,
            /* [in] */ BSTR bstrSpanExtAttributeValue) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EndTrackTextSelection( void) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct ICAAutomationAppVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            ICAAutomationApp * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ 
            __RPC__deref_out  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            ICAAutomationApp * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            ICAAutomationApp * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            ICAAutomationApp * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            ICAAutomationApp * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            ICAAutomationApp * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [range][in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            ICAAutomationApp * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SelectedNodes )( 
            ICAAutomationApp * This,
            /* [retval][out] */ IDispatch **pVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentArticle )( 
            ICAAutomationApp * This,
            /* [retval][out] */ IDispatch **pVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentArticleHtmlDocument )( 
            ICAAutomationApp * This,
            /* [retval][out] */ IDispatch **pVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HWND )( 
            ICAAutomationApp * This,
            /* [retval][out] */ long *pVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BookCount )( 
            ICAAutomationApp * This,
            /* [retval][out] */ long *pVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Book )( 
            ICAAutomationApp * This,
            /* [in] */ long nBookIndex,
            /* [retval][out] */ IDispatch **pVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Attribute )( 
            ICAAutomationApp * This,
            /* [in] */ BSTR bstrAttributeName,
            /* [retval][out] */ BSTR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Attribute )( 
            ICAAutomationApp * This,
            /* [in] */ BSTR bstrAttributeName,
            /* [in] */ BSTR newVal);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddBook )( 
            ICAAutomationApp * This,
            /* [in] */ BSTR bstrBookGUID);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CloseBook )( 
            ICAAutomationApp * This,
            /* [in] */ BSTR bstrBookGUID);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ViewArticle )( 
            ICAAutomationApp * This,
            /* [in] */ BSTR bstrBookGUID,
            /* [in] */ long nArticleID);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SelectNode )( 
            ICAAutomationApp * This,
            /* [in] */ BSTR bstrBookGUID,
            /* [in] */ long nNodeID);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *NewArticle )( 
            ICAAutomationApp * This,
            /* [in] */ IDispatch *pParentNode,
            /* [in] */ BSTR bstrTitle);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *NewArticleUsingTemplate )( 
            ICAAutomationApp * This,
            /* [in] */ IDispatch *pParentNode,
            /* [in] */ BSTR bstrTitle,
            /* [in] */ BSTR bstrTemplateFileName);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EditArticle )( 
            ICAAutomationApp * This,
            /* [in] */ IDispatch *pArticle);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LoadCAString )( 
            ICAAutomationApp * This,
            /* [in] */ BSTR bstrStringName,
            /* [retval][out] */ BSTR *pVal);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LoadMacroString )( 
            ICAAutomationApp * This,
            /* [in] */ BSTR bstrMacroAppGUID,
            /* [in] */ BSTR bstrStringName,
            /* [retval][out] */ BSTR *pVal);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *BeginTrackTextSelection )( 
            ICAAutomationApp * This,
            /* [in] */ BSTR bstrNewTextStyle,
            /* [in] */ BSTR bstrSpanExtAttributeName,
            /* [in] */ BSTR bstrSpanExtAttributeValue);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EndTrackTextSelection )( 
            ICAAutomationApp * This);
        
        END_INTERFACE
    } ICAAutomationAppVtbl;

    interface ICAAutomationApp
    {
        CONST_VTBL struct ICAAutomationAppVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define ICAAutomationApp_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define ICAAutomationApp_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define ICAAutomationApp_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define ICAAutomationApp_GetTypeInfoCount(This,pctinfo)	\
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 

#define ICAAutomationApp_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 

#define ICAAutomationApp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 

#define ICAAutomationApp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 


#define ICAAutomationApp_get_SelectedNodes(This,pVal)	\
    ( (This)->lpVtbl -> get_SelectedNodes(This,pVal) ) 

#define ICAAutomationApp_get_CurrentArticle(This,pVal)	\
    ( (This)->lpVtbl -> get_CurrentArticle(This,pVal) ) 

#define ICAAutomationApp_get_CurrentArticleHtmlDocument(This,pVal)	\
    ( (This)->lpVtbl -> get_CurrentArticleHtmlDocument(This,pVal) ) 

#define ICAAutomationApp_get_HWND(This,pVal)	\
    ( (This)->lpVtbl -> get_HWND(This,pVal) ) 

#define ICAAutomationApp_get_BookCount(This,pVal)	\
    ( (This)->lpVtbl -> get_BookCount(This,pVal) ) 

#define ICAAutomationApp_get_Book(This,nBookIndex,pVal)	\
    ( (This)->lpVtbl -> get_Book(This,nBookIndex,pVal) ) 

#define ICAAutomationApp_get_Attribute(This,bstrAttributeName,pVal)	\
    ( (This)->lpVtbl -> get_Attribute(This,bstrAttributeName,pVal) ) 

#define ICAAutomationApp_put_Attribute(This,bstrAttributeName,newVal)	\
    ( (This)->lpVtbl -> put_Attribute(This,bstrAttributeName,newVal) ) 

#define ICAAutomationApp_AddBook(This,bstrBookGUID)	\
    ( (This)->lpVtbl -> AddBook(This,bstrBookGUID) ) 

#define ICAAutomationApp_CloseBook(This,bstrBookGUID)	\
    ( (This)->lpVtbl -> CloseBook(This,bstrBookGUID) ) 

#define ICAAutomationApp_ViewArticle(This,bstrBookGUID,nArticleID)	\
    ( (This)->lpVtbl -> ViewArticle(This,bstrBookGUID,nArticleID) ) 

#define ICAAutomationApp_SelectNode(This,bstrBookGUID,nNodeID)	\
    ( (This)->lpVtbl -> SelectNode(This,bstrBookGUID,nNodeID) ) 

#define ICAAutomationApp_NewArticle(This,pParentNode,bstrTitle)	\
    ( (This)->lpVtbl -> NewArticle(This,pParentNode,bstrTitle) ) 

#define ICAAutomationApp_NewArticleUsingTemplate(This,pParentNode,bstrTitle,bstrTemplateFileName)	\
    ( (This)->lpVtbl -> NewArticleUsingTemplate(This,pParentNode,bstrTitle,bstrTemplateFileName) ) 

#define ICAAutomationApp_EditArticle(This,pArticle)	\
    ( (This)->lpVtbl -> EditArticle(This,pArticle) ) 

#define ICAAutomationApp_LoadCAString(This,bstrStringName,pVal)	\
    ( (This)->lpVtbl -> LoadCAString(This,bstrStringName,pVal) ) 

#define ICAAutomationApp_LoadMacroString(This,bstrMacroAppGUID,bstrStringName,pVal)	\
    ( (This)->lpVtbl -> LoadMacroString(This,bstrMacroAppGUID,bstrStringName,pVal) ) 

#define ICAAutomationApp_BeginTrackTextSelection(This,bstrNewTextStyle,bstrSpanExtAttributeName,bstrSpanExtAttributeValue)	\
    ( (This)->lpVtbl -> BeginTrackTextSelection(This,bstrNewTextStyle,bstrSpanExtAttributeName,bstrSpanExtAttributeValue) ) 

#define ICAAutomationApp_EndTrackTextSelection(This)	\
    ( (This)->lpVtbl -> EndTrackTextSelection(This) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* __ICAAutomationApp_INTERFACE_DEFINED__ */


EXTERN_C const CLSID CLSID_CAAutomationApp;

#ifdef __cplusplus

class DECLSPEC_UUID("ABB0119F-1C59-4C96-88CD-27C8A4598893")
CAAutomationApp;
#endif
#endif /* __LibCyberArticle_LIBRARY_DEFINED__ */

/* Additional Prototypes for ALL interfaces */

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif


