Exemplo n.º 1
0
		public virtual Int32 GetElementTagId(NetOffice.MSHTMLApi.IHTMLElement pElement, out NetOffice.MSHTMLApi.Enums._ELEMENT_TAG_ID ptagId)
		{
			ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false,true);
			ptagId = 0;
			object[] paramsArray = Invoker.ValidateParamsArray(pElement, ptagId);
			object returnItem = Invoker.MethodReturn(this, "GetElementTagId", paramsArray, modifiers);
			ptagId = (NetOffice.MSHTMLApi.Enums._ELEMENT_TAG_ID)paramsArray[1];
			return NetRuntimeSystem.Convert.ToInt32(returnItem);
		}
Exemplo n.º 2
0
		public virtual Int32 IsScopedElement(NetOffice.MSHTMLApi.IHTMLElement pElement, out Int32 pfScoped)
		{
			ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false,true);
			pfScoped = 0;
			object[] paramsArray = Invoker.ValidateParamsArray(pElement, pfScoped);
			object returnItem = Invoker.MethodReturn(this, "IsScopedElement", paramsArray, modifiers);
			pfScoped = (Int32)paramsArray[1];
			return NetRuntimeSystem.Convert.ToInt32(returnItem);
		}
Exemplo n.º 3
0
        public virtual Int32 HasFlowLayout(NetOffice.MSHTMLApi.IHTMLElement pIElement, out Int32 pfHasFlowLayout)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false, true);
            pfHasFlowLayout = 0;
            object[] paramsArray = Invoker.ValidateParamsArray(pIElement, pfHasFlowLayout);
            object   returnItem  = Invoker.MethodReturn(this, "HasFlowLayout", paramsArray, modifiers);

            pfHasFlowLayout = (Int32)paramsArray[1];
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
Exemplo n.º 4
0
		public virtual Int32 CloneElement(NetOffice.MSHTMLApi.IHTMLElement pElemCloneThis, out NetOffice.MSHTMLApi.IHTMLElement ppElementTheClone)
		{
			ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false,true);
			ppElementTheClone = null;
			object[] paramsArray = Invoker.ValidateParamsArray(pElemCloneThis, ppElementTheClone);
			object returnItem = Invoker.MethodReturn(this, "CloneElement", paramsArray, modifiers);
            if (paramsArray[1] is MarshalByRefObject)
                ppElementTheClone = Factory.CreateKnownObjectFromComProxy<NetOffice.MSHTMLApi.IHTMLElement>(this, paramsArray[1], typeof(NetOffice.MSHTMLApi.IHTMLElement));
            else
                ppElementTheClone = null;
			return NetRuntimeSystem.Convert.ToInt32(returnItem);
		}
Exemplo n.º 5
0
        public virtual Int32 GetElement(out NetOffice.MSHTMLApi.IHTMLElement ppIElement)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(true);
            ppIElement = null;
            object[] paramsArray = Invoker.ValidateParamsArray(ppIElement);
            object   returnItem  = Invoker.MethodReturn(this, "GetElement", paramsArray, modifiers);

            if (paramsArray[0] is MarshalByRefObject)
            {
                ppIElement = Factory.CreateKnownObjectFromComProxy <NetOffice.MSHTMLApi.IHTMLElement>(this, paramsArray[0], typeof(NetOffice.MSHTMLApi.IHTMLElement));
            }
            else
            {
                ppIElement = null;
            }
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
Exemplo n.º 6
0
		public virtual Int32 createElement(NetOffice.MSHTMLApi.Enums._ELEMENT_TAG_ID tagID, Int16 pchAttributes, out NetOffice.MSHTMLApi.IHTMLElement ppElement)
		{
			ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false,false,true);
			ppElement = null;
			object[] paramsArray = Invoker.ValidateParamsArray(tagID, pchAttributes, ppElement);
			object returnItem = Invoker.MethodReturn(this, "createElement", paramsArray, modifiers);
            if (paramsArray[2] is MarshalByRefObject)
                ppElement = Factory.CreateKnownObjectFromComProxy<NetOffice.MSHTMLApi.IHTMLElement>(this, paramsArray[2], typeof(NetOffice.MSHTMLApi.IHTMLElement));
            else
                ppElement = null;
			return NetRuntimeSystem.Convert.ToInt32(returnItem);
		}
Exemplo n.º 7
0
 public virtual void add(NetOffice.MSHTMLApi.IHTMLElement element)
 {
     InvokerService.InvokeInternal.ExecuteMethod(this, "add", element);
 }
Exemplo n.º 8
0
 public virtual Int32 MoveToContent(NetOffice.MSHTMLApi.IHTMLElement pIElement, Int32 fAtStart)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "MoveToContent", pIElement, fAtStart));
 }
Exemplo n.º 9
0
 public virtual Int32 SnapRect(NetOffice.MSHTMLApi.IHTMLElement pIElement, tagRECT prcNew, NetOffice.MSHTMLApi.Enums._ELEMENT_CORNER eHandle)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "SnapRect", pIElement, prcNew, eHandle));
 }
Exemplo n.º 10
0
		public virtual Int32 RemoveElement(NetOffice.MSHTMLApi.IHTMLElement pElementRemove)
		{
			return InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "RemoveElement", pElementRemove);
		}
Exemplo n.º 11
0
        public virtual Int32 right(Int32 fMove, out NetOffice.MSHTMLApi.Enums._MARKUP_CONTEXT_TYPE pContext, out NetOffice.MSHTMLApi.IHTMLElement ppElement, Int32 pcch, out Int16 pchText)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false, true, true, false, true);
            pContext  = 0;
            ppElement = null;
            pchText   = 0;
            object[] paramsArray = Invoker.ValidateParamsArray(fMove, pContext, ppElement, pcch, pchText);
            object   returnItem  = Invoker.MethodReturn(this, "right", paramsArray, modifiers);

            pContext = (NetOffice.MSHTMLApi.Enums._MARKUP_CONTEXT_TYPE)paramsArray[1];
            if (paramsArray[2] is MarshalByRefObject)
            {
                ppElement = Factory.CreateKnownObjectFromComProxy <NetOffice.MSHTMLApi.IHTMLElement>(this, paramsArray[2], typeof(NetOffice.MSHTMLApi.IHTMLElement));
            }
            else
            {
                ppElement = null;
            }
            pchText = (Int16)paramsArray[4];
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
Exemplo n.º 12
0
 public virtual Int32 MoveAdjacentToElement(NetOffice.MSHTMLApi.IHTMLElement pElement, NetOffice.MSHTMLApi.Enums._ELEMENT_ADJACENCY eAdj)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "MoveAdjacentToElement", pElement, eAdj));
 }
Exemplo n.º 13
0
 public virtual Int32 GetEventTarget(NetOffice.MSHTMLApi.IHTMLElement ppElement)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "GetEventTarget", ppElement));
 }
Exemplo n.º 14
0
 public virtual Int32 ScrollRectIntoView(NetOffice.MSHTMLApi.IHTMLElement pIElement, tagRECT rect)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "ScrollRectIntoView", pIElement, rect));
 }
Exemplo n.º 15
0
 public virtual Int32 TransformPoint(tagPOINT pPoint, NetOffice.MSHTMLApi.Enums._COORD_SYSTEM eSource, NetOffice.MSHTMLApi.Enums._COORD_SYSTEM eDestination, NetOffice.MSHTMLApi.IHTMLElement pIElement)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "TransformPoint", pPoint, eSource, eDestination, pIElement));
 }
Exemplo n.º 16
0
		public virtual Int32 InsertElement(NetOffice.MSHTMLApi.IHTMLElement pElementInsert, NetOffice.MSHTMLApi.IMarkupPointer pPointerStart, NetOffice.MSHTMLApi.IMarkupPointer pPointerFinish)
		{
			return InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "InsertElement", pElementInsert, pPointerStart, pPointerFinish);
		}
Exemplo n.º 17
0
        public virtual Int32 moveToPoint(tagPOINT ptPoint, NetOffice.MSHTMLApi.Enums._COORD_SYSTEM eCoordSystem, NetOffice.MSHTMLApi.IHTMLElement pElementContext, Int32 dwHitTestOptions, out Int32 pdwHitTestResults)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false, false, false, false, true);
            pdwHitTestResults = 0;
            object[] paramsArray = Invoker.ValidateParamsArray(ptPoint, eCoordSystem, pElementContext, dwHitTestOptions, pdwHitTestResults);
            object   returnItem  = Invoker.MethodReturn(this, "moveToPoint", paramsArray, modifiers);

            pdwHitTestResults = (Int32)paramsArray[4];
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
Exemplo n.º 18
0
 public virtual bool contains(NetOffice.MSHTMLApi.IHTMLElement pChild)
 {
     return(InvokerService.InvokeInternal.ExecuteBoolMethodGet(this, "contains", pChild));
 }
Exemplo n.º 19
0
 public virtual void moveToElementText(NetOffice.MSHTMLApi.IHTMLElement element)
 {
     InvokerService.InvokeInternal.ExecuteMethod(this, "moveToElementText", element);
 }
Exemplo n.º 20
0
 public virtual void addElement(NetOffice.MSHTMLApi.IHTMLElement item)
 {
     InvokerService.InvokeInternal.ExecuteMethod(this, "addElement", item);
 }
Exemplo n.º 21
0
        public virtual Int32 ValidateElements(NetOffice.MSHTMLApi.IMarkupPointer pPointerStart, NetOffice.MSHTMLApi.IMarkupPointer pPointerFinish, NetOffice.MSHTMLApi.IMarkupPointer pPointerTarget, NetOffice.MSHTMLApi.IMarkupPointer pPointerStatus, out NetOffice.MSHTMLApi.IHTMLElement ppElemFailBottom, out NetOffice.MSHTMLApi.IHTMLElement ppElemFailTop)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false, false, false, false, true, true);
            ppElemFailBottom = null;
            ppElemFailTop    = null;
            object[] paramsArray = Invoker.ValidateParamsArray(pPointerStart, pPointerFinish, pPointerTarget, pPointerStatus, ppElemFailBottom, ppElemFailTop);
            object   returnItem  = Invoker.MethodReturn(this, "ValidateElements", paramsArray, modifiers);

            if (paramsArray[4] is MarshalByRefObject)
            {
                ppElemFailBottom = Factory.CreateKnownObjectFromComProxy <NetOffice.MSHTMLApi.IHTMLElement>(this, paramsArray[4], typeof(NetOffice.MSHTMLApi.IHTMLElement));
            }
            else
            {
                ppElemFailBottom = null;
            }
            if (paramsArray[5] is MarshalByRefObject)
            {
                ppElemFailTop = Factory.CreateKnownObjectFromComProxy <NetOffice.MSHTMLApi.IHTMLElement>(this, paramsArray[5], typeof(NetOffice.MSHTMLApi.IHTMLElement));
            }
            else
            {
                ppElemFailTop = null;
            }
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }