/// <summary>
        /// Get all the links in the HTML with the element rectangle and href data.
        /// </summary>
        /// <returns>collection of all the links in the HTML</returns>
        public List <LinkElementData <RRect> > GetLinks()
        {
            var linkBoxes = new List <CssBox>();

            DomUtils.GetAllLinkBoxes(this._root, linkBoxes);

            var linkElements = new List <LinkElementData <RRect> >();

            foreach (var box in linkBoxes)
            {
                linkElements.Add(new LinkElementData <RRect>(box.GetAttribute("id"), box.GetAttribute("href"), CommonUtils.GetFirstValueOrDefault(box.Rectangles, box.Bounds)));
            }
            return(linkElements);
        }