2024-02-24 12:01:31 +01:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< title > cef4delphi: uCEFDomDocument: Class TCefDomDocumentRef< / title >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
2026-04-04 18:01:24 +02:00
< meta name = "generator" content = "PasDoc 1.0.4" >
2024-02-24 12:01:31 +01:00
< meta http-equiv = "content-type" content = "text/html; charset=utf-8" >
2026-03-19 13:17:28 +01:00
< link rel = "StyleSheet" type = "text/css" href = "bootstrap.min.css" >
2024-02-24 12:01:31 +01:00
< link rel = "StyleSheet" type = "text/css" href = "pasdoc.css" >
2026-03-30 18:44:20 +02:00
< style type = "text/css" >
body { margin : 0.5 em ; }
. badge { padding : 0.1 em 0.5 em ; color : white ; }
< / style > < / head >
2024-02-24 12:01:31 +01:00
< body >
< span id = "TCefDomDocumentRef" > < / span > < h1 class = "cio" > Class TCefDomDocumentRef< / h1 >
< div class = "sections" >
2026-03-19 13:17:28 +01:00
< div class = "one_section" > < a class = "section" href = "#PasDoc-Description" > Description< / a > < / div > < div class = "one_section" > < a class = "section" href = "#PasDoc-Hierarchy" > Hierarchy< / a > < / div > < div class = "one_section" > < a class = "section" href = "#PasDoc-Methods" > Methods< / a > < / div > < / div >
2024-02-24 12:01:31 +01:00
< span id = "PasDoc-Description" > < / span > < h2 class = "unit" > Unit< / h2 >
< p class = "unitlink" >
< a href = "uCEFDomDocument.html" > uCEFDomDocument< / a > < / p >
< h2 class = "declaration" > Declaration< / h2 >
< p class = "declaration" >
< code > type TCefDomDocumentRef = class(< a class = "normal" href = "uCEFBaseRefCounted.TCefBaseRefCountedRef.html" > TCefBaseRefCountedRef< / a > , < a class = "normal" href = "uCEFInterfaces.ICefDomDocument.html" > ICefDomDocument< / a > )< / code > < / p >
< h2 class = "description" > Description< / h2 >
< p class = "nodescription" > This item has no description.< / p > < span id = "PasDoc-Hierarchy" > < / span > < h2 class = "hierarchy" > Hierarchy< / h2 >
< ul class = "hierarchy" > < li class = "ancestor" > TInterfacedObject< / li >
< li class = "ancestor" > < a class = "normal" href = "uCEFBaseRefCounted.TCefBaseRefCountedRef.html" > TCefBaseRefCountedRef< / a > < / li >
< li class = "thisitem" > TCefDomDocumentRef< / li > < / ul > < h2 class = "overview" > Overview< / h2 >
< span id = "PasDoc-Methods" > < / span > < h3 class = "summary" > Methods< / h3 >
< table class = "summary wide_list" >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFDomDocument.TCefDomDocumentRef.html#GetType" > GetType< / a > < / strong > : < a href = "uCEFTypes.html#TCefDomDocumentType" > TCefDomDocumentType< / a > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFDomDocument.TCefDomDocumentRef.html#GetDocument" > GetDocument< / a > < / strong > : < a href = "uCEFInterfaces.ICefDomNode.html" > ICefDomNode< / a > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFDomDocument.TCefDomDocumentRef.html#GetBody" > GetBody< / a > < / strong > : < a href = "uCEFInterfaces.ICefDomNode.html" > ICefDomNode< / a > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFDomDocument.TCefDomDocumentRef.html#GetHead" > GetHead< / a > < / strong > : < a href = "uCEFInterfaces.ICefDomNode.html" > ICefDomNode< / a > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFDomDocument.TCefDomDocumentRef.html#GetTitle" > GetTitle< / a > < / strong > : < a href = "uCEFTypes.html#ustring" > ustring< / a > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFDomDocument.TCefDomDocumentRef.html#GetElementById-ustring-" > GetElementById< / a > < / strong > (const id: < a href = "uCEFTypes.html#ustring" > ustring< / a > ): < a href = "uCEFInterfaces.ICefDomNode.html" > ICefDomNode< / a > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFDomDocument.TCefDomDocumentRef.html#GetFocusedNode" > GetFocusedNode< / a > < / strong > : < a href = "uCEFInterfaces.ICefDomNode.html" > ICefDomNode< / a > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFDomDocument.TCefDomDocumentRef.html#HasSelection" > HasSelection< / a > < / strong > : Boolean;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFDomDocument.TCefDomDocumentRef.html#GetSelectionStartOffset" > GetSelectionStartOffset< / a > < / strong > : Integer;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFDomDocument.TCefDomDocumentRef.html#GetSelectionEndOffset" > GetSelectionEndOffset< / a > < / strong > : Integer;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFDomDocument.TCefDomDocumentRef.html#GetSelectionAsMarkup" > GetSelectionAsMarkup< / a > < / strong > : < a href = "uCEFTypes.html#ustring" > ustring< / a > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFDomDocument.TCefDomDocumentRef.html#GetSelectionAsText" > GetSelectionAsText< / a > < / strong > : < a href = "uCEFTypes.html#ustring" > ustring< / a > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFDomDocument.TCefDomDocumentRef.html#GetBaseUrl" > GetBaseUrl< / a > < / strong > : < a href = "uCEFTypes.html#ustring" > ustring< / a > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFDomDocument.TCefDomDocumentRef.html#GetCompleteUrl-ustring-" > GetCompleteUrl< / a > < / strong > (const partialURL: < a href = "uCEFTypes.html#ustring" > ustring< / a > ): < a href = "uCEFTypes.html#ustring" > ustring< / a > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > class function < strong > < a href = "uCEFDomDocument.TCefDomDocumentRef.html#UnWrap-Pointer-" > UnWrap< / a > < / strong > (data: Pointer): < a href = "uCEFInterfaces.ICefDomDocument.html" > ICefDomDocument< / a > ;< / code > < / td >
< / tr >
< / table >
< h2 class = "description" > Description< / h2 >
< h3 class = "detail" > Methods< / h3 >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "GetType" > < / span > < code > function < strong > GetType< / strong > : < a href = "uCEFTypes.html#TCefDomDocumentType" > TCefDomDocumentType< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefDomDocument.html#GetType" > ICefDomDocument.GetType< / a > .< / p > < p >
Returns the document type. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "GetDocument" > < / span > < code > function < strong > GetDocument< / strong > : < a href = "uCEFInterfaces.ICefDomNode.html" > ICefDomNode< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefDomDocument.html#GetDocument" > ICefDomDocument.GetDocument< / a > .< / p > < p >
Returns the root document node. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "GetBody" > < / span > < code > function < strong > GetBody< / strong > : < a href = "uCEFInterfaces.ICefDomNode.html" > ICefDomNode< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefDomDocument.html#GetBody" > ICefDomDocument.GetBody< / a > .< / p > < p >
Returns the BODY node of an HTML document. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "GetHead" > < / span > < code > function < strong > GetHead< / strong > : < a href = "uCEFInterfaces.ICefDomNode.html" > ICefDomNode< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefDomDocument.html#GetHead" > ICefDomDocument.GetHead< / a > .< / p > < p >
Returns the HEAD node of an HTML document. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "GetTitle" > < / span > < code > function < strong > GetTitle< / strong > : < a href = "uCEFTypes.html#ustring" > ustring< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefDomDocument.html#GetTitle" > ICefDomDocument.GetTitle< / a > .< / p > < p >
Returns the title of an HTML document. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "GetElementById-ustring-" > < / span > < code > function < strong > GetElementById< / strong > (const id: < a href = "uCEFTypes.html#ustring" > ustring< / a > ): < a href = "uCEFInterfaces.ICefDomNode.html" > ICefDomNode< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefDomDocument.html#GetElementById-ustring-" > ICefDomDocument.GetElementById< / a > .< / p > < p >
Returns the document element with the specified ID value. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "GetFocusedNode" > < / span > < code > function < strong > GetFocusedNode< / strong > : < a href = "uCEFInterfaces.ICefDomNode.html" > ICefDomNode< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefDomDocument.html#GetFocusedNode" > ICefDomDocument.GetFocusedNode< / a > .< / p > < p >
Returns the node that currently has keyboard focus. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "HasSelection" > < / span > < code > function < strong > HasSelection< / strong > : Boolean;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefDomDocument.html#HasSelection" > ICefDomDocument.HasSelection< / a > .< / p > < p >
Returns true (1) if a portion of the document is selected. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "GetSelectionStartOffset" > < / span > < code > function < strong > GetSelectionStartOffset< / strong > : Integer;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefDomDocument.html#GetSelectionStartOffset" > ICefDomDocument.GetSelectionStartOffset< / a > .< / p > < p >
Returns the selection offset within the start node. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "GetSelectionEndOffset" > < / span > < code > function < strong > GetSelectionEndOffset< / strong > : Integer;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefDomDocument.html#GetSelectionEndOffset" > ICefDomDocument.GetSelectionEndOffset< / a > .< / p > < p >
Returns the selection offset within the end node. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "GetSelectionAsMarkup" > < / span > < code > function < strong > GetSelectionAsMarkup< / strong > : < a href = "uCEFTypes.html#ustring" > ustring< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefDomDocument.html#GetSelectionAsMarkup" > ICefDomDocument.GetSelectionAsMarkup< / a > .< / p > < p >
Returns the contents of this selection as markup. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "GetSelectionAsText" > < / span > < code > function < strong > GetSelectionAsText< / strong > : < a href = "uCEFTypes.html#ustring" > ustring< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefDomDocument.html#GetSelectionAsText" > ICefDomDocument.GetSelectionAsText< / a > .< / p > < p >
Returns the contents of this selection as text. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "GetBaseUrl" > < / span > < code > function < strong > GetBaseUrl< / strong > : < a href = "uCEFTypes.html#ustring" > ustring< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefDomDocument.html#GetBaseUrl" > ICefDomDocument.GetBaseUrl< / a > .< / p > < p >
Returns the base URL for the document. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "GetCompleteUrl-ustring-" > < / span > < code > function < strong > GetCompleteUrl< / strong > (const partialURL: < a href = "uCEFTypes.html#ustring" > ustring< / a > ): < a href = "uCEFTypes.html#ustring" > ustring< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefDomDocument.html#GetCompleteUrl-ustring-" > ICefDomDocument.GetCompleteUrl< / a > .< / p > < p >
Returns a complete URL based on the document base URL and the specified partial URL. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "UnWrap-Pointer-" > < / span > < code > class function < strong > UnWrap< / strong > (data: Pointer): < a href = "uCEFInterfaces.ICefDomDocument.html" > ICefDomDocument< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "nodescription" > This item has no description.< / p > < / td > < / tr >
< / table >
2026-04-04 18:01:24 +02:00
< hr > < span class = "appinfo" > < em > Generated by < a href = "https://pasdoc.github.io/" > PasDoc 1.0.4< / a > . < / em >
2024-02-24 12:01:31 +01:00
< / span >
< / body > < / html >