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

104 lines
3.8 KiB
C++

// CodeGear C++Builder
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'uCEFDomNode.pas' rev: 37.00 (Windows)
#ifndef uCEFDomNodeHPP
#define uCEFDomNodeHPP
#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 <Winapi.Windows.hpp>
#include <System.Classes.hpp>
#include <System.SysUtils.hpp>
#include <uCEFBaseRefCounted.hpp>
#include <uCEFInterfaces.hpp>
#include <uCEFTypes.hpp>
//-- user supplied -----------------------------------------------------------
namespace Ucefdomnode
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TCefDomNodeRef;
//-- type declarations -------------------------------------------------------
#pragma pack(push,4)
class PASCALIMPLEMENTATION TCefDomNodeRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
{
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
protected:
Uceftypes::TCefDomNodeType __fastcall GetType();
bool __fastcall IsText();
bool __fastcall IsElement();
bool __fastcall IsEditable();
bool __fastcall IsFormControlElement();
Uceftypes::TCefDomFormControlType __fastcall GetFormControlElementType();
bool __fastcall IsSame(const Ucefinterfaces::_di_ICefDomNode that);
Uceftypes::ustring __fastcall GetName();
Uceftypes::ustring __fastcall GetValue();
bool __fastcall SetValue(const Uceftypes::ustring value);
Uceftypes::ustring __fastcall GetAsMarkup();
Ucefinterfaces::_di_ICefDomDocument __fastcall GetDocument();
Ucefinterfaces::_di_ICefDomNode __fastcall GetParent();
Ucefinterfaces::_di_ICefDomNode __fastcall GetPreviousSibling();
Ucefinterfaces::_di_ICefDomNode __fastcall GetNextSibling();
bool __fastcall HasChildren();
Ucefinterfaces::_di_ICefDomNode __fastcall GetFirstChild();
Ucefinterfaces::_di_ICefDomNode __fastcall GetLastChild();
Uceftypes::ustring __fastcall GetElementTagName();
bool __fastcall HasElementAttributes();
bool __fastcall HasElementAttribute(const Uceftypes::ustring attrName);
Uceftypes::ustring __fastcall GetElementAttribute(const Uceftypes::ustring attrName);
void __fastcall GetElementAttributes(const Ucefinterfaces::_di_ICefStringMap attrMap)/* overload */;
void __fastcall GetElementAttributes(System::Classes::TStrings* &attrList)/* overload */;
bool __fastcall SetElementAttribute(const Uceftypes::ustring attrName, const Uceftypes::ustring value);
Uceftypes::ustring __fastcall GetElementInnerText();
Uceftypes::TCefRect __fastcall GetElementBounds();
public:
__classmethod Ucefinterfaces::_di_ICefDomNode __fastcall UnWrap(void * data);
public:
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefDomNodeRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefDomNodeRef() { }
private:
void *__ICefDomNode; // Ucefinterfaces::ICefDomNode
public:
#if defined(MANAGED_INTERFACE_OPERATORS)
// {96C03C9E-9C98-491A-8DAD-1947332232D6}
operator Ucefinterfaces::_di_ICefDomNode()
{
Ucefinterfaces::_di_ICefDomNode intf;
this->GetInterface(intf);
return intf;
}
#else
operator Ucefinterfaces::ICefDomNode*(void) { return (Ucefinterfaces::ICefDomNode*)&__ICefDomNode; }
#endif
};
#pragma pack(pop)
//-- var, const, procedure ---------------------------------------------------
} /* namespace Ucefdomnode */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFDOMNODE)
using namespace Ucefdomnode;
#endif
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // uCEFDomNodeHPP