// CodeGear C++Builder // Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. // All rights reserved // (DO NOT EDIT: machine generated header) 'uCEFPrintSettings.pas' rev: 37.00 (Windows) #ifndef uCEFPrintSettingsHPP #define uCEFPrintSettingsHPP #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 #include #include #include #include //-- user supplied ----------------------------------------------------------- namespace Ucefprintsettings { //-- forward type declarations ----------------------------------------------- class DELPHICLASS TCefPrintSettingsRef; //-- type declarations ------------------------------------------------------- #pragma pack(push,4) class PASCALIMPLEMENTATION TCefPrintSettingsRef : public Ucefbaserefcounted::TCefBaseRefCountedRef { typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; protected: bool __fastcall IsValid(); bool __fastcall IsReadOnly(); void __fastcall SetOrientation(bool landscape); bool __fastcall IsLandscape(); void __fastcall SetPrinterPrintableArea(const Uceftypes::PCefSize physicalSizeDeviceUnits, const Uceftypes::PCefRect printableAreaDeviceUnits, bool landscapeNeedsFlip); void __fastcall SetDeviceName(const Uceftypes::ustring name); Uceftypes::ustring __fastcall GetDeviceName(); void __fastcall SetDpi(int dpi); int __fastcall GetDpi(); void __fastcall SetPageRanges(const Uceftypes::TCefRangeArray ranges); System::NativeUInt __fastcall GetPageRangesCount(); void __fastcall GetPageRanges(/* out */ Uceftypes::TCefRangeArray &ranges); void __fastcall SetSelectionOnly(bool selectionOnly); bool __fastcall IsSelectionOnly(); void __fastcall SetCollate(bool collate); bool __fastcall WillCollate(); void __fastcall SetColorModel(Uceftypes::TCefColorModel model); Uceftypes::TCefColorModel __fastcall GetColorModel(); void __fastcall SetCopies(int copies); int __fastcall GetCopies(); void __fastcall SetDuplexMode(Uceftypes::TCefDuplexMode mode); Uceftypes::TCefDuplexMode __fastcall GetDuplexMode(); public: __classmethod Ucefinterfaces::_di_ICefPrintSettings __fastcall New(); __classmethod Ucefinterfaces::_di_ICefPrintSettings __fastcall UnWrap(void * data); public: /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefPrintSettingsRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefPrintSettingsRef() { } private: void *__ICefPrintSettings; // Ucefinterfaces::ICefPrintSettings public: #if defined(MANAGED_INTERFACE_OPERATORS) // {ACBD2395-E9C1-49E5-B7F3-344DAA4A0F12} operator Ucefinterfaces::_di_ICefPrintSettings() { Ucefinterfaces::_di_ICefPrintSettings intf; this->GetInterface(intf); return intf; } #else operator Ucefinterfaces::ICefPrintSettings*(void) { return (Ucefinterfaces::ICefPrintSettings*)&__ICefPrintSettings; } #endif }; #pragma pack(pop) //-- var, const, procedure --------------------------------------------------- } /* namespace Ucefprintsettings */ #if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPRINTSETTINGS) using namespace Ucefprintsettings; #endif #pragma pack(pop) #pragma option pop #pragma delphiheader end. //-- end unit ---------------------------------------------------------------- #endif // uCEFPrintSettingsHPP