Files
common/CEF4Delphi/win32/hpps/uCEFDomDocument.hpp
T
2026-06-12 23:18:12 +08:00

88 lines
3.0 KiB
C++

// CodeGear C++Builder
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'uCEFDomDocument.pas' rev: 37.00 (Windows)
#ifndef uCEFDomDocumentHPP
#define uCEFDomDocumentHPP
#pragma delphiheader begin
#pragma option push
#if defined(__BORLANDC__) && !defined(__clang__)
#pragma option -w- // All warnings off
#pragma option -Vx // Zero-length empty class member
#endif
#pragma pack(push,8)
#include <System.hpp>
#include <SysInit.hpp>
#include <uCEFBaseRefCounted.hpp>
#include <uCEFInterfaces.hpp>
#include <uCEFTypes.hpp>
//-- user supplied -----------------------------------------------------------
namespace Ucefdomdocument
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TCefDomDocumentRef;
//-- type declarations -------------------------------------------------------
#pragma pack(push,4)
class PASCALIMPLEMENTATION TCefDomDocumentRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
{
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
protected:
Uceftypes::TCefDomDocumentType __fastcall GetType();
Ucefinterfaces::_di_ICefDomNode __fastcall GetDocument();
Ucefinterfaces::_di_ICefDomNode __fastcall GetBody();
Ucefinterfaces::_di_ICefDomNode __fastcall GetHead();
Uceftypes::ustring __fastcall GetTitle();
Ucefinterfaces::_di_ICefDomNode __fastcall GetElementById(const Uceftypes::ustring id);
Ucefinterfaces::_di_ICefDomNode __fastcall GetFocusedNode();
bool __fastcall HasSelection();
int __fastcall GetSelectionStartOffset();
int __fastcall GetSelectionEndOffset();
Uceftypes::ustring __fastcall GetSelectionAsMarkup();
Uceftypes::ustring __fastcall GetSelectionAsText();
Uceftypes::ustring __fastcall GetBaseUrl();
Uceftypes::ustring __fastcall GetCompleteUrl(const Uceftypes::ustring partialURL);
public:
__classmethod Ucefinterfaces::_di_ICefDomDocument __fastcall UnWrap(void * data);
public:
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefDomDocumentRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefDomDocumentRef() { }
private:
void *__ICefDomDocument; // Ucefinterfaces::ICefDomDocument
public:
#if defined(MANAGED_INTERFACE_OPERATORS)
// {08E74052-45AF-4F69-A578-98A5C3959426}
operator Ucefinterfaces::_di_ICefDomDocument()
{
Ucefinterfaces::_di_ICefDomDocument intf;
this->GetInterface(intf);
return intf;
}
#else
operator Ucefinterfaces::ICefDomDocument*(void) { return (Ucefinterfaces::ICefDomDocument*)&__ICefDomDocument; }
#endif
};
#pragma pack(pop)
//-- var, const, procedure ---------------------------------------------------
} /* namespace Ucefdomdocument */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFDOMDOCUMENT)
using namespace Ucefdomdocument;
#endif
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // uCEFDomDocumentHPP