Exemplo n.º 1
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));
        }
Exemplo n.º 2
0
        public virtual Int32 GetTextFrag(Int32 iFrag, out string pbstrFrag, NetOffice.MSHTMLApi.IMarkupPointer pPointerFrag)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false, true, false);
            pbstrFrag = string.Empty;
            object[] paramsArray = Invoker.ValidateParamsArray(iFrag, pbstrFrag, pPointerFrag);
            object   returnItem  = Invoker.MethodReturn(this, "GetTextFrag", paramsArray, modifiers);

            pbstrFrag = paramsArray[1] as string;
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
Exemplo n.º 3
0
        public virtual Int32 IsInsideURL(NetOffice.MSHTMLApi.IMarkupPointer pRight, out Int32 pfResult)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false, true);
            pfResult = 0;
            object[] paramsArray = Invoker.ValidateParamsArray(pRight, pfResult);
            object   returnItem  = Invoker.MethodReturn(this, "IsInsideURL", paramsArray, modifiers);

            pfResult = (Int32)paramsArray[1];
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
Exemplo n.º 4
0
        public virtual Int32 IsEqualTo(NetOffice.MSHTMLApi.IMarkupPointer pPointerThat, out Int32 pfAreEqual)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false, true);
            pfAreEqual = 0;
            object[] paramsArray = Invoker.ValidateParamsArray(pPointerThat, pfAreEqual);
            object   returnItem  = Invoker.MethodReturn(this, "IsEqualTo", paramsArray, modifiers);

            pfAreEqual = (Int32)paramsArray[1];
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
Exemplo n.º 5
0
		public virtual Int32 CreateMarkupPointer(out NetOffice.MSHTMLApi.IMarkupPointer ppPointer)
		{
			ParameterModifier[] modifiers = Invoker.CreateParamModifiers(true);
			ppPointer = null;
			object[] paramsArray = Invoker.ValidateParamsArray(ppPointer);
			object returnItem = Invoker.MethodReturn(this, "CreateMarkupPointer", paramsArray, modifiers);
            if (paramsArray[0] is MarshalByRefObject)
                ppPointer = Factory.CreateKnownObjectFromComProxy<NetOffice.MSHTMLApi.IMarkupPointer>(this, paramsArray[0], typeof(NetOffice.MSHTMLApi.IMarkupPointer));
            else
                ppPointer = null;
			return NetRuntimeSystem.Convert.ToInt32(returnItem);
		}
Exemplo n.º 6
0
        public virtual Int32 FindTextFragFromMarkupPointer(NetOffice.MSHTMLApi.IMarkupPointer pPointerFind, out Int32 piFrag, out Int32 pfFragFound)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false, true, true);
            piFrag      = 0;
            pfFragFound = 0;
            object[] paramsArray = Invoker.ValidateParamsArray(pPointerFind, piFrag, pfFragFound);
            object   returnItem  = Invoker.MethodReturn(this, "FindTextFragFromMarkupPointer", paramsArray, modifiers);

            piFrag      = (Int32)paramsArray[1];
            pfFragFound = (Int32)paramsArray[2];
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
Exemplo n.º 7
0
        public virtual Int32 GetComputedStyle(NetOffice.MSHTMLApi.IMarkupPointer pPointer, out NetOffice.MSHTMLApi.IHTMLComputedStyle ppComputedStyle)
        {
            ParameterModifier[] modifiers   = Invoker.CreateParamModifiers(false, true);
            object[]            paramsArray = Invoker.ValidateParamsArray(pPointer, new object());
            object returnItem = Invoker.MethodReturn(this, "GetComputedStyle", paramsArray, modifiers);

            if (paramsArray[1] is MarshalByRefObject)
            {
                ppComputedStyle = Factory.CreateKnownObjectFromComProxy <NetOffice.MSHTMLApi.IHTMLComputedStyle>(this, paramsArray[1], typeof(NetOffice.MSHTMLApi.IHTMLComputedStyle));
            }
            else
            {
                ppComputedStyle = null;
            }
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
Exemplo n.º 8
0
        public virtual Int32 AddSegment(NetOffice.MSHTMLApi.IMarkupPointer pIStart, NetOffice.MSHTMLApi.IMarkupPointer pIEnd, out NetOffice.MSHTMLApi.ISegment ppISegmentAdded)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false, false, true);
            ppISegmentAdded = null;
            object[] paramsArray = Invoker.ValidateParamsArray(pIStart, pIEnd, ppISegmentAdded);
            object   returnItem  = Invoker.MethodReturn(this, "AddSegment", paramsArray, modifiers);

            if (paramsArray[2] is MarshalByRefObject)
            {
                ppISegmentAdded = Factory.CreateKnownObjectFromComProxy <NetOffice.MSHTMLApi.ISegment>(this, paramsArray[2], typeof(NetOffice.MSHTMLApi.ISegment));
            }
            else
            {
                ppISegmentAdded = null;
            }
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
Exemplo n.º 9
0
		public virtual Int32 ParseGlobal(_userHGLOBAL hglobalHTML, Int32 dwFlags, out NetOffice.MSHTMLApi.IMarkupContainer ppContainerResult, NetOffice.MSHTMLApi.IMarkupPointer pPointerStart, NetOffice.MSHTMLApi.IMarkupPointer pPointerFinish)
		{
			ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false,false,true,false,false);
			ppContainerResult = null;
			object[] paramsArray = Invoker.ValidateParamsArray(hglobalHTML, dwFlags, ppContainerResult, pPointerStart, pPointerFinish);
			object returnItem = Invoker.MethodReturn(this, "ParseGlobal", paramsArray, modifiers);
            if (paramsArray[2] is MarshalByRefObject)
                ppContainerResult = Factory.CreateKnownObjectFromComProxy<NetOffice.MSHTMLApi.IMarkupContainer>(this, paramsArray[2], typeof(NetOffice.MSHTMLApi.IMarkupContainer));
            else
                ppContainerResult = null;
            return NetRuntimeSystem.Convert.ToInt32(returnItem);
		}
Exemplo n.º 10
0
		public virtual Int32 InsertText(Int16 pchText, Int32 cch, NetOffice.MSHTMLApi.IMarkupPointer pPointerTarget)
		{
			return InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "InsertText", pchText, cch, pPointerTarget);
		}
Exemplo n.º 11
0
		public virtual Int32 move(NetOffice.MSHTMLApi.IMarkupPointer pPointerSourceStart, NetOffice.MSHTMLApi.IMarkupPointer pPointerSourceFinish, NetOffice.MSHTMLApi.IMarkupPointer pPointerTarget)
		{
			return InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "move", pPointerSourceStart, pPointerSourceFinish, pPointerTarget);
		}
Exemplo n.º 12
0
		public virtual Int32 remove(NetOffice.MSHTMLApi.IMarkupPointer pPointerStart, NetOffice.MSHTMLApi.IMarkupPointer pPointerFinish)
		{
			return InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "remove", pPointerStart, pPointerFinish);
		}
Exemplo n.º 13
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.º 14
0
 public virtual Int32 GetPointers(NetOffice.MSHTMLApi.IMarkupPointer pIStart, NetOffice.MSHTMLApi.IMarkupPointer pIEnd)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "GetPointers", pIStart, pIEnd));
 }
Exemplo n.º 15
0
 public virtual Int32 SelectRange(NetOffice.MSHTMLApi.IMarkupPointer pStart, NetOffice.MSHTMLApi.IMarkupPointer pEnd, NetOffice.MSHTMLApi.Enums._SELECTION_TYPE eType)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "SelectRange", pStart, pEnd, eType));
 }
Exemplo n.º 16
0
 public virtual Int32 findText(string pchFindText, Int32 dwFlags, NetOffice.MSHTMLApi.IMarkupPointer pIEndMatch, NetOffice.MSHTMLApi.IMarkupPointer pIEndSearch)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "findText", pchFindText, dwFlags, pIEndMatch, pIEndSearch));
 }
Exemplo n.º 17
0
		public virtual Int32 MoveRangeToPointers(NetOffice.MSHTMLApi.IMarkupPointer pPointerStart, NetOffice.MSHTMLApi.IMarkupPointer pPointerFinish, NetOffice.MSHTMLApi.IHTMLTxtRange pIRange)
		{
			return InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "MoveRangeToPointers", pPointerStart, pPointerFinish, pIRange);
		}
Exemplo n.º 18
0
 public virtual Int32 MoveUnitBounded(NetOffice.MSHTMLApi.Enums._MOVEUNIT_ACTION muAction, NetOffice.MSHTMLApi.IMarkupPointer pIBoundary)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "MoveUnitBounded", muAction, pIBoundary));
 }
Exemplo n.º 19
0
 public virtual Int32 InsertTextFrag(Int32 iFrag, string bstrInsert, NetOffice.MSHTMLApi.IMarkupPointer pPointerInsert)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "InsertTextFrag", iFrag, bstrInsert, pPointerInsert));
 }
Exemplo n.º 20
0
 public virtual Int32 GetAndClearDirtyRange(Int32 dwCookie, NetOffice.MSHTMLApi.IMarkupPointer pIPointerBegin, NetOffice.MSHTMLApi.IMarkupPointer pIPointerEnd)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "GetAndClearDirtyRange", dwCookie, pIPointerBegin, pIPointerEnd));
 }
Exemplo n.º 21
0
 public virtual Int32 MoveToMarkupPointer(NetOffice.MSHTMLApi.IMarkupPointer pPointer, NetOffice.MSHTMLApi.IDisplayPointer pDispLineContext)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "MoveToMarkupPointer", pPointer, pDispLineContext));
 }
Exemplo n.º 22
0
 public virtual Int32 PositionMarkupPointer(NetOffice.MSHTMLApi.IMarkupPointer pMarkupPointer)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "PositionMarkupPointer", pMarkupPointer));
 }
Exemplo n.º 23
0
 public virtual Int32 OnSelectedElementExit(NetOffice.MSHTMLApi.IMarkupPointer pIElementStart, NetOffice.MSHTMLApi.IMarkupPointer pIElementEnd, NetOffice.MSHTMLApi.IMarkupPointer pIElementContentStart, NetOffice.MSHTMLApi.IMarkupPointer pIElementContentEnd)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "OnSelectedElementExit", pIElementStart, pIElementEnd, pIElementContentStart, pIElementContentEnd));
 }
Exemplo n.º 24
0
 public virtual Int32 MoveToSelectionEnd(NetOffice.MSHTMLApi.IMarkupPointer pIEndAnchor)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "MoveToSelectionEnd", pIEndAnchor));
 }
Exemplo n.º 25
0
 public virtual Int32 MoveMarkupPointerToCaret(NetOffice.MSHTMLApi.IMarkupPointer pIMarkupPointer)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "MoveMarkupPointerToCaret", pIMarkupPointer));
 }