Exemplo n.º 1
0
        } //ProcessTable

        private MarkupRange GetMarkupRange()
        {
            MshtmlMarkupServices markupServices = new MshtmlMarkupServices((IMarkupServicesRaw)Document);
            MarkupRange          range          = markupServices.CreateMarkupRange(Document.selection.createRange());

            range.Start.Gravity = mshtml._POINTER_GRAVITY.POINTER_GRAVITY_Left;
            range.End.Gravity   = mshtml._POINTER_GRAVITY.POINTER_GRAVITY_Right;
            range.Start.Cling   = false;
            range.End.Cling     = false;

            return(range);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Initialize with begin and end pointers
 /// </summary>
 /// <param name="start">start</param>
 /// <param name="end">end</param>
 /// <param name="markupServices"></param>
 internal MarkupRange(MarkupPointer start, MarkupPointer end, MshtmlMarkupServices markupServices)
 {
     Start          = start;
     End            = end;
     MarkupServices = markupServices;
 }
Exemplo n.º 3
0
 internal MarkupContainer(MshtmlMarkupServices markupServices, IMarkupContainerRaw container)
 {
     MarkupServices = markupServices;
     Container      = container;
 }
Exemplo n.º 4
0
 internal MarkupPointer(MshtmlMarkupServices markupServices, IMarkupPointerRaw pointer)
 {
     MarkupServices = markupServices;
     _pointerRaw    = pointer;
 }