// CodeGear C++Builder
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'PDFium.pas' rev: 36.00 (Windows)

#ifndef PDFiumHPP
#define PDFiumHPP

#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.SysUtils.hpp>
#include <System.Classes.hpp>
#include <System.Types.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.Graphics.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.Dialogs.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <Winapi.Messages.hpp>
#include <FPdfView.hpp>
#include <FPdfText.hpp>
#include <FPdfDoc.hpp>
#include <FPdfDataAvail.hpp>
#include <FPdfExtensions.hpp>
#include <FPdfUtils.hpp>
#include <FPdfEdit.hpp>
#include <FPdfPageOps.hpp>
#include <FPdfFormFill.hpp>
#include <FPdfStructTree.hpp>
#include <FPdfAnnot.hpp>
#include <FPdfAttachment.hpp>
#include <FPdfSignature.hpp>
#include <System.UITypes.hpp>
#include <Vcl.Menus.hpp>

//-- user supplied -----------------------------------------------------------
#pragma link "PDFiumVcl.lib"

namespace Pdfium
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS EPdfError;
struct TFontCacheEntry;
struct TPdfPoint;
struct TPdfRectangle;
struct TBookmark;
struct TLinkAnnotation;
struct TWebLink;
struct TDestination;
struct TPdfImage;
struct TPdfFormFillInfo;
struct TPdfAnnotation;
struct TPdfFormFieldInfo;
struct TPdfSignature;
class DELPHICLASS TPdf;
class DELPHICLASS TPdfView;
//-- type declarations -------------------------------------------------------
typedef System::UnicodeString WString;

#pragma pack(push,4)
class PASCALIMPLEMENTATION EPdfError : public System::Sysutils::Exception
{
	typedef System::Sysutils::Exception inherited;
	
public:
	/* Exception.Create */ inline __fastcall EPdfError(const System::UnicodeString Msg) : System::Sysutils::Exception(Msg) { }
	/* Exception.CreateFmt */ inline __fastcall EPdfError(const System::UnicodeString Msg, const System::TVarRec *Args, const System::NativeInt Args_High) : System::Sysutils::Exception(Msg, Args, Args_High) { }
	/* Exception.CreateRes */ inline __fastcall EPdfError(System::NativeUInt Ident)/* overload */ : System::Sysutils::Exception(Ident) { }
	/* Exception.CreateRes */ inline __fastcall EPdfError(System::PResStringRec ResStringRec)/* overload */ : System::Sysutils::Exception(ResStringRec) { }
	/* Exception.CreateResFmt */ inline __fastcall EPdfError(System::NativeUInt Ident, const System::TVarRec *Args, const System::NativeInt Args_High)/* overload */ : System::Sysutils::Exception(Ident, Args, Args_High) { }
	/* Exception.CreateResFmt */ inline __fastcall EPdfError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const System::NativeInt Args_High)/* overload */ : System::Sysutils::Exception(ResStringRec, Args, Args_High) { }
	/* Exception.CreateHelp */ inline __fastcall EPdfError(const System::UnicodeString Msg, int AHelpContext) : System::Sysutils::Exception(Msg, AHelpContext) { }
	/* Exception.CreateFmtHelp */ inline __fastcall EPdfError(const System::UnicodeString Msg, const System::TVarRec *Args, const System::NativeInt Args_High, int AHelpContext) : System::Sysutils::Exception(Msg, Args, Args_High, AHelpContext) { }
	/* Exception.CreateResHelp */ inline __fastcall EPdfError(System::NativeUInt Ident, int AHelpContext)/* overload */ : System::Sysutils::Exception(Ident, AHelpContext) { }
	/* Exception.CreateResHelp */ inline __fastcall EPdfError(System::PResStringRec ResStringRec, int AHelpContext)/* overload */ : System::Sysutils::Exception(ResStringRec, AHelpContext) { }
	/* Exception.CreateResFmtHelp */ inline __fastcall EPdfError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const System::NativeInt Args_High, int AHelpContext)/* overload */ : System::Sysutils::Exception(ResStringRec, Args, Args_High, AHelpContext) { }
	/* Exception.CreateResFmtHelp */ inline __fastcall EPdfError(System::NativeUInt Ident, const System::TVarRec *Args, const System::NativeInt Args_High, int AHelpContext)/* overload */ : System::Sysutils::Exception(Ident, Args, Args_High, AHelpContext) { }
	/* Exception.Destroy */ inline __fastcall virtual ~EPdfError() { }
	
};

#pragma pack(pop)

struct DECLSPEC_DRECORD TFontCacheEntry
{
public:
	System::UnicodeString Name;
	Fpdfview::FPDF_FONT Handle;
};


enum DECLSPEC_DENUM TRotation : unsigned char { ro0, ro90, ro180, ro270 };

enum DECLSPEC_DENUM TRenderOption : unsigned char { reAnnotations, reLcd, reNoNativeText, reGrayscale, reDebugInfo, reNoCatchException, reLimitCache, reHalftone, rePrinting, reReverseByteOrder, reNoSmoothText, reNoSmoothImage, reNoSmoothPath };

typedef System::Set<TRenderOption, TRenderOption::reAnnotations, TRenderOption::reNoSmoothPath> TRenderOptions;

enum DECLSPEC_DENUM TPageMode : unsigned char { pmNone, pmOutline, pmThumbs, pmFullScreen, pmOptionalContentGroup, pmAttachments, pmUnknown };

enum DECLSPEC_DENUM TSearchOption : unsigned char { seCaseSensitive, seWholeWord, seConsecutive };

typedef System::Set<TSearchOption, TSearchOption::seCaseSensitive, TSearchOption::seConsecutive> TSearchOptions;

enum DECLSPEC_DENUM TSaveOption : unsigned char { saNone, saIncremental, saNoIncremental, saRemoveSecurity };

enum DECLSPEC_DENUM TPdfAction : unsigned char { acUnsupported, acGoto, acGotoRemote, acUri, acLaunch };

enum DECLSPEC_DENUM TPdfVersion : unsigned char { pvUnknown, pv10, pv11, pv12, pv13, pv14, pv15, pv16, pv17 };

enum DECLSPEC_DENUM TObjectType : unsigned char { otUnknown, otText, otPath, otImage, otShading, otForm };

enum DECLSPEC_DENUM TPrintPaperHandling : unsigned char { phUndefined, phSimplex, phDuplexFlipShortEdge, phDuplexFlipLongEdge };

struct DECLSPEC_DRECORD TPdfPoint
{
public:
	double X;
	double Y;
};


struct DECLSPEC_DRECORD TPdfRectangle
{
public:
	double Left;
	double Top;
	double Right;
	double Bottom;
};


typedef System::DynamicArray<TPdfRectangle> TPdfRectangles;

struct DECLSPEC_DRECORD TBookmark
{
public:
	Fpdfview::FPDF_BOOKMARK Handle;
	WString Title;
	int PageNumber;
	TPdfAction Action;
	int ActionPageNumber;
};


typedef System::DynamicArray<TBookmark> TBookmarks;

typedef System::StaticArray<TPdfPoint, 4> TQuadrilateralPoint;

struct DECLSPEC_DRECORD TLinkAnnotation
{
	
private:
	typedef System::DynamicArray<TQuadrilateralPoint> _TLinkAnnotation__1;
	
	
public:
	Fpdfview::FPDF_LINK Handle;
	TPdfRectangle Rectangle;
	int PageNumber;
	TPdfAction Action;
	int ActionPageNumber;
	WString ActionPath;
	_TLinkAnnotation__1 Points;
};


typedef System::DynamicArray<TLinkAnnotation> TLinkAnnotations;

struct DECLSPEC_DRECORD TWebLink
{
public:
	WString Url;
	TPdfRectangles Rectangles;
};


typedef System::DynamicArray<TWebLink> TWebLinks;

struct DECLSPEC_DRECORD TDestination
{
public:
	Fpdfview::FPDF_DEST Handle;
	WString Name;
	int PageNumber;
	bool HasX;
	float X;
	bool HasY;
	float Y;
	bool HasZoom;
	float Zoom;
};


struct DECLSPEC_DRECORD TPdfImage
{
public:
	int Width;
	int Height;
	System::Sysutils::TBytes Data;
};


enum DECLSPEC_DENUM TPdfFeature : unsigned char { feUnknown, feXfaForm, fePortableCollection, feAttachment, feSecurity, feSharedReview, feSharedFormAcrobat, feSharedFormFilesystem, feSharedFormEmail, fe3dAnnotation, feMovieAnnotation, feSoundAnnotation, feScreenMediaAnnotation, feScreenRichMediaAnnotation, feAttachmentAnnotation, feSignatureAnnotation };

typedef void __fastcall (__closure *TPdfUnsupportedFeatureEvent)(System::TObject* Sender, TPdfFeature Feature);

typedef void __fastcall (__closure *TPdfFormFieldEnterEvent)(System::TObject* Sender, const WString Text);

enum DECLSPEC_DENUM TPdfBlendMode : unsigned char { bmDefault, bmColor, bmColorBurn, bmColorDodge, bmDarken, bmDifference, bmExclusion, bmHardLight, bmHue, bmLighten, bmLuminosity, bmMultiply, bmNormal, bmOverlay, bmSaturation, bmScreen, bmSoftLight };

enum DECLSPEC_DENUM TPdfLineJoin : unsigned char { ljDefault, ljMiter, ljRound, ljBevel };

enum DECLSPEC_DENUM TPdfLineCap : unsigned char { lcDefault, lcButt, lcRound, lcProjectingSquare };

#pragma pack(push,1)
struct DECLSPEC_DRECORD TPdfFormFillInfo
{
public:
	Fpdfformfill::FPDF_FORMFILLINFO Info;
	TPdf* Pdf;
};
#pragma pack(pop)


typedef TPdfFormFillInfo *PPdfFormFillInfo;

enum DECLSPEC_DENUM TPdfFillMode : unsigned char { fmNone, fmAlternate, fmWinding };

enum DECLSPEC_DENUM TPdfAnnotationSubtype : unsigned char { anUnknown, anText, anLink, anFreeText, anLine, anSquare, anCircle, anPolygon, anPolyLine, anHighlight, anUnderline, anSquiggly, anStrikeout, anStamp, anCaret, anInk, anPopup, anFileAttachment, anSound, anMovie, anWidget, anScreen, anPrinterMark, anTrapNet, anWaterMark, anThreed, anRichMedia, anXfaWidget };

enum DECLSPEC_DENUM TPdfAnnotationFlag : unsigned char { afInvisible, afHidden, afPrint, afNoZoom, afNoRotate, afNoView, afReadOnly, afLocked, afToggleNoView };

typedef System::Set<TPdfAnnotationFlag, TPdfAnnotationFlag::afInvisible, TPdfAnnotationFlag::afToggleNoView> TPdfAnnotationFlags;

struct DECLSPEC_DRECORD TPdfAnnotation
{
public:
	TPdfAnnotationSubtype Subtype;
	TPdfAnnotationFlags Flags;
	bool HasColor;
	System::Uitypes::TColor Color;
	System::Byte ColorAlpha;
	bool HasInteriorColor;
	System::Uitypes::TColor InteriorColor;
	System::Byte InteriorColorAlpha;
	bool HasAttachmentPoints;
	TQuadrilateralPoint AttachmentPoints;
	TPdfRectangle Rectangle;
	WString ContentsText;
	WString AuthorText;
};


enum DECLSPEC_DENUM TPdfFormType : unsigned char { ftUnknown, ftNone, ftAcroForm, ftXfaFull, ftXfaForeground };

enum DECLSPEC_DENUM TPdfDisplayMode : unsigned char { dmSingleContinuous, dmDoubleContinuous };

enum DECLSPEC_DENUM TPdfFormFieldFlag : unsigned char { ffReadOnly, ffRequired, ffNoExport, ffMultiline, ffChoiceCombo, ffChoiceEdit };

typedef System::Set<TPdfFormFieldFlag, TPdfFormFieldFlag::ffReadOnly, TPdfFormFieldFlag::ffChoiceEdit> TPdfFormFieldFlags;

enum DECLSPEC_DENUM TPdfFormFieldType : unsigned char { fiUnknown, fiPushButton, fiCheckBox, fiRadioButton, fiComboBox, fiListBox, fiTextField, fiSignature };

struct DECLSPEC_DRECORD TPdfFormFieldInfo
{
	
private:
	typedef System::DynamicArray<System::UnicodeString> _TPdfFormFieldInfo__1;
	
	typedef System::DynamicArray<bool> _TPdfFormFieldInfo__2;
	
	
public:
	WString Name;
	WString AlternateName;
	TPdfFormFieldType FieldType;
	TPdfFormFieldFlags Flags;
	_TPdfFormFieldInfo__1 OptionLabels;
	_TPdfFormFieldInfo__2 OptionSelected;
	float FontSize;
	bool Checked;
	WString ExportValue;
	int GroupCount;
	int GroupIndex;
};


struct DECLSPEC_DRECORD TPdfSignature
{
public:
	System::Sysutils::TBytes Content;
	WString Encoding;
	WString Reason;
	WString Time;
	int Permission;
};


class PASCALIMPLEMENTATION TPdf : public System::Classes::TComponent
{
	typedef System::Classes::TComponent inherited;
	
	
private:
	typedef System::DynamicArray<System::Byte> _TPdf__1;
	
	typedef System::DynamicArray<TFontCacheEntry> _TPdf__2;
	
	
private:
	bool FActive;
	_TPdf__1 FBuffer;
	Fpdfview::FPDF_DOCUMENT FDocument;
	System::UnicodeString FFileName;
	Fpdfview::FPDF_SCHHANDLE FFind;
	bool FFormFill;
	TPdfFormFillInfo FFormFillInfo;
	Fpdfview::FPDF_FORMHANDLE FFormHandle;
	TLinkAnnotations FLinkAnnotations;
	Fpdfview::FPDF_PAGE FPage;
	int FPageNumber;
	System::UnicodeString FPassword;
	Fpdfview::FPDF_PAGEOBJECT FPath;
	System::Classes::TList* FPdfViews;
	Fpdfview::FPDF_TEXTPAGE FTextPage;
	Vcl::Extctrls::TTimer* FTimer;
	Fpdfformfill::TimerCallback FTimerCallback;
	TWebLinks FWebLinks;
	_TPdf__2 FFontCache;
	bool FCompressed;
	TPdfFormFieldEnterEvent FOnFormFieldEnter;
	System::Classes::TNotifyEvent FOnFormFieldExit;
	System::Classes::TNotifyEvent FOnPageChange;
	TPdfUnsupportedFeatureEvent FOnUnsupportedFeature;
	void __fastcall CheckActive();
	void __fastcall CheckFindActive();
	void __fastcall CheckInactive();
	void __fastcall CheckPageActive();
	void __fastcall CheckPathCreated();
	void __fastcall ClearFontCache();
	Fpdfview::FPDF_FONT __fastcall FindCachedFont(const System::UnicodeString FontName);
	Fpdfview::FPDF_FONT __fastcall LoadCachedFont(const System::UnicodeString FontName);
	void __fastcall ExitFormFill();
	System::UnicodeString __fastcall GetAbout();
	bool __fastcall GetActive();
	TPdfAnnotation __fastcall GetAnnotation(int Index);
	int __fastcall GetAnnotationCount();
	System::Sysutils::TBytes __fastcall GetAttachment(int Index);
	int __fastcall GetAttachmentCount();
	WString __fastcall GetAttachmentName(int Index);
	WString __fastcall GetAuthor();
	Vcl::Graphics::TBitmap* __fastcall GetBitmap(int Index);
	int __fastcall GetBitmapCount();
	TBookmark __fastcall GetBookmark(const WString Title);
	TBookmarks __fastcall GetBookmarkChildren(const TBookmark &Bookmark);
	TBookmark __fastcall GetBookmarkFrom(Fpdfview::FPDF_BOOKMARK Handle);
	TBookmarks __fastcall GetBookmarks();
	System::WideChar __fastcall GetCharacter(int Index);
	int __fastcall GetCharacterCount();
	bool __fastcall GetCharacterGenerated(int Index);
	bool __fastcall GetCharacterIsHyphen(int Index);
	bool __fastcall GetCharacterMapError(int Index);
	TPdfPoint __fastcall GetCharacterOrigin(int Index);
	TPdfRectangle __fastcall GetCharacterRectangle(int Index);
	System::WideChar __fastcall GetCharcode(int Index);
	WString __fastcall GetCreationDate();
	WString __fastcall GetCreator();
	TDestination __fastcall GetDestination(int Index);
	TDestination __fastcall GetDestinationByName(const WString Name);
	int __fastcall GetDestinationCount();
	double __fastcall GetFontSize(int Index);
	float __fastcall GetFontAscent();
	WString __fastcall GetFontBaseName();
	System::Sysutils::TBytes __fastcall GetFontData();
	float __fastcall GetFontDescent();
	WString __fastcall GetFontFamilyName();
	Fpdfview::FPDF_FONT __fastcall GetFontHandle();
	bool __fastcall GetFontIsEmbedded();
	int __fastcall GetFontItalicAngle();
	int __fastcall GetFontWeight();
	WString __fastcall GetFormField(int Index);
	WString __fastcall GetFormFieldAt(float X, float Y);
	Fpdfview::FPDF_ANNOTATION __fastcall GetFormFieldAtPos(float X, float Y);
	int __fastcall GetFormFieldCount();
	TPdfFormFieldInfo __fastcall GetFormFieldInfo(int Index);
	TPdfFormFieldInfo __fastcall GetFormFieldInfoAt(float X, float Y);
	TPdfFormType __fastcall GetFormType();
	bool __fastcall GetHasBookmarkChildren(const TBookmark &Bookmark);
	bool __fastcall GetHasFormFieldAt(float X, float Y);
	TPdfImage __fastcall GetImage(int Index);
	int __fastcall GetImageCount();
	bool __fastcall GetIsTagged();
	WString __fastcall GetKeywords();
	TLinkAnnotations __fastcall GetLinkAnnotations();
	WString __fastcall GetMetaText(const System::UnicodeString Tag);
	WString __fastcall GetModifiedDate();
	TBookmarks __fastcall GetNestedBookmarks(Fpdfview::FPDF_BOOKMARK Bookmark);
	Vcl::Graphics::TBitmap* __fastcall GetObjectBitmap(int Index);
	TPdfRectangle __fastcall GetObjectBounds(int Index);
	int __fastcall GetObjectCount();
	void * __fastcall GetObjectHandle(int Index);
	bool __fastcall GetObjectTransparent(int Index);
	TObjectType __fastcall GetObjectType(int Index);
	TPdfRectangle __fastcall GetPageBounds();
	int __fastcall GetPageCount();
	double __fastcall GetPageHeight();
	WString __fastcall GetPageLabel(int PageNumber);
	TPageMode __fastcall GetPageMode();
	TRotation __fastcall GetPageRotation();
	double __fastcall GetPageWidth();
	TPdfVersion __fastcall GetPdfVersion();
	System::LongWord __fastcall GetPermissions();
	int __fastcall GetPrintCopies();
	TPrintPaperHandling __fastcall GetPrintPaperHandling();
	bool __fastcall GetPrintScaling();
	WString __fastcall GetProducer();
	TPdfRectangle __fastcall GetRectangle(int Index);
	TPdfSignature __fastcall GetSignature(int Index);
	int __fastcall GetSignatureCount();
	WString __fastcall GetSubject();
	Vcl::Graphics::TBitmap* __fastcall GetThumbnail();
	WString __fastcall GetTitle();
	bool __fastcall GetTransparent();
	System::LongWord __fastcall GetUserPermissions();
	WString __fastcall GetViewerPreference(const System::UnicodeString Key);
	TWebLink __fastcall GetWebLink(int PageNumber, int Index)/* overload */;
	int __fastcall GetWebLinkCount(int PageNumber)/* overload */;
	TWebLinks __fastcall GetWebLinks();
	TLinkAnnotation __fastcall GetLinkAnnotation(int PageNumber, int Index)/* overload */;
	int __fastcall GetLinkAnnotationCount(int PageNumber)/* overload */;
	bool __fastcall GetXFA();
	int __fastcall ImageIndexToObjectIndex(int Index);
	void __fastcall InitializeFormFill();
	void __fastcall OnTimer(System::TObject* Sender);
	TDestination __fastcall RetrieveDestination(Fpdfview::FPDF_DEST Handle, const WString Name);
	void __fastcall SetAbout(const System::UnicodeString Value);
	void __fastcall SetActive(bool Value);
	void __fastcall SetAnnotation(int Index, const TPdfAnnotation &Value);
	void __fastcall SetAttachment(int Index, const System::Sysutils::TBytes Value);
	void __fastcall SetBookmarkData(Fpdfview::FPDF_BOOKMARK Bookmark, TBookmark &Data);
	void __fastcall SetFileName(const System::UnicodeString Value);
	void __fastcall SetFormField(int Index, const WString Value);
	void __fastcall SetFormFieldAt(float X, float Y, const WString Value);
	void __fastcall SetFormFill(bool Value);
	void __fastcall SetPageNumber(int Value);
	void __fastcall SetPageRotation(TRotation Value);
	void __fastcall SetPassword(const System::UnicodeString Value);
	void __fastcall SetTextFieldFocus(Fpdfview::FPDF_WIDESTRING Value, Fpdfview::FPDF_DWORD valueLen, Fpdfview::FPDF_BOOL is_focus);
	
protected:
	void __fastcall LoadDocument()/* overload */;
	virtual void __fastcall Loaded();
	void __fastcall LoadTextPage();
	void __fastcall ReloadFind(const WString Text, TSearchOptions Options, int StartIndex);
	void __fastcall UnloadDocument();
	void __fastcall UnloadFind();
	void __fastcall UnloadPage();
	void __fastcall UnloadTextPage();
	
public:
	__fastcall virtual TPdf(System::Classes::TComponent* AOwner);
	__fastcall virtual ~TPdf();
	bool __fastcall AddJpegImage(System::Classes::TStream* JpegImage, double X, double Y, double Width, double Height);
	void __fastcall AddPage(int PageNumber, double Width, double Height);
	void __fastcall AddPath();
	void __fastcall AddPicture(Vcl::Graphics::TPicture* Picture, double X, double Y)/* overload */;
	void __fastcall AddPicture(Vcl::Graphics::TPicture* Picture, double X, double Y, double Width, double Height)/* overload */;
	void __fastcall AddText(const WString Text, const WString Font, float FontSize, double X, double Y, System::Uitypes::TColor Color = (System::Uitypes::TColor)(0x0), System::Byte Alpha = (System::Byte)(0xff), double Angle = 0.000000E+00);
	void __fastcall BezierTo(float X1, float Y1, float X2, float Y2, float X3, float Y3);
	int __fastcall CharacterIndexAtPos(double X, double Y, double ToleranceX, double ToleranceY);
	void __fastcall ClosePath();
	void __fastcall CreateAnnotation(const TPdfAnnotation &Annotation);
	bool __fastcall CreateAttachment(const WString Name);
	void __fastcall CreateDocument();
	bool __fastcall DeleteAttachment(int Index);
	void __fastcall CreatePath(float X, float Y, TPdfFillMode FillMode = (TPdfFillMode)(0x0), System::Uitypes::TColor FillColor = (System::Uitypes::TColor)(0x0), System::Byte FillAlpha = (System::Byte)(0xff), bool Stroke = true, System::Uitypes::TColor StrokeColor = (System::Uitypes::TColor)(0x0), System::Byte StrokeAlpha = (System::Byte)(0xff), float StrokeWidth = 1.000000E+00f, TPdfLineCap LineCap = (TPdfLineCap)(0x0), TPdfLineJoin LineJoin = (TPdfLineJoin)(0x0), TPdfBlendMode BlendMode = (TPdfBlendMode)(0x0))/* overload */;
	void __fastcall CreatePath(float X, float Y, float Width, float Height, TPdfFillMode FillMode = (TPdfFillMode)(0x0), System::Uitypes::TColor FillColor = (System::Uitypes::TColor)(0x0), System::Byte FillAlpha = (System::Byte)(0xff), bool Stroke = true, System::Uitypes::TColor StrokeColor = (System::Uitypes::TColor)(0x0), System::Byte StrokeAlpha = (System::Byte)(0xff), float StrokeWidth = 1.000000E+00f, TPdfLineCap LineCap = (TPdfLineCap)(0x0), TPdfLineJoin LineJoin = (TPdfLineJoin)(0x0), TPdfBlendMode BlendMode = (TPdfBlendMode)(0x0))/* overload */;
	void __fastcall DeleteAnnotation(int Index);
	void __fastcall DeletePage(int PageNumber);
	bool __fastcall DeviceToPage(int X, int Y, int Left, int Top, int Width, int Height, TRotation Rotation, /* out */ double &PageX, /* out */ double &PageY);
	int __fastcall FindFirst(const WString Text, TSearchOptions Options = TSearchOptions() , int StartIndex = 0x0, bool DirectionUp = true);
	int __fastcall FindNext();
	int __fastcall FindPrevious();
	bool __fastcall ImportPages(TPdf* Pdf, const System::UnicodeString Range, int PageNumber = 0x1);
	bool __fastcall ImportPreferences(TPdf* Pdf);
	void __fastcall LineTo(float X, float Y);
	void __fastcall LoadDocument(void * Data, int Size, bool Buffered = true)/* overload */;
	void __fastcall LoadDocument(const System::Sysutils::TBytes Data, bool Buffered = true)/* overload */;
	void __fastcall LoadDocument(System::Classes::TMemoryStream* Data, bool Buffered = true)/* overload */;
	void __fastcall MoveTo(float X, float Y);
	bool __fastcall PageToDevice(double PageX, double PageY, int Left, int Top, int Width, int Height, TRotation Rotation, /* out */ int &X, /* out */ int &Y);
	int __fastcall RectangleCount(int StartIndex = 0x0, int Count = 0x7fffffff);
	void __fastcall ReloadPage();
	void __fastcall RenderPage(HDC DeviceContext, int Left, int Top, int Width, int Height, TRotation Rotation = (TRotation)(0x0), TRenderOptions Options = TRenderOptions() )/* overload */;
	Vcl::Graphics::TBitmap* __fastcall RenderPage(int Left, int Top, int Width, int Height, TRotation Rotation = (TRotation)(0x0), TRenderOptions Options = TRenderOptions() , System::Uitypes::TColor Color = (System::Uitypes::TColor)(0xffffff))/* overload */;
	void __fastcall RenderPage(Vcl::Graphics::TBitmap* Bitmap, int Left, int Top, int Width, int Height, TRotation Rotation = (TRotation)(0x0), TRenderOptions Options = TRenderOptions() , System::Uitypes::TColor Color = (System::Uitypes::TColor)(0xffffff))/* overload */;
	Vcl::Graphics::TBitmap* __fastcall RenderTile(int Left, int Top, int Width, int Height, int PageWidth, int PageHeight, TRotation Rotation = (TRotation)(0x0), TRenderOptions Options = TRenderOptions() , System::Uitypes::TColor Color = (System::Uitypes::TColor)(0xffffff))/* overload */;
	void __fastcall RenderTile(Vcl::Graphics::TBitmap* Bitmap, int Left, int Top, int Width, int Height, int PageWidth, int PageHeight, TRotation Rotation = (TRotation)(0x0), TRenderOptions Options = TRenderOptions() , System::Uitypes::TColor Color = (System::Uitypes::TColor)(0xffffff))/* overload */;
	bool __fastcall SaveAs(System::Classes::TStream* Stream, TSaveOption Option = (TSaveOption)(0x0), TPdfVersion PdfVersion = (TPdfVersion)(0x0))/* overload */;
	bool __fastcall SaveAs(const System::UnicodeString FileName, TSaveOption Option = (TSaveOption)(0x0), TPdfVersion PdfVersion = (TPdfVersion)(0x0))/* overload */;
	void __fastcall SetText(int ObjectIndex, const WString Text);
	WString __fastcall Text(int StartIndex = 0x0, int Count = 0x7fffffff);
	WString __fastcall TextInRectangle(double Left, double Top, double Right, double Bottom)/* overload */;
	WString __fastcall TextInRectangle(const TPdfRectangle &Rectangle)/* overload */;
	void __fastcall UpdatePage();
	__property TPdfAnnotation Annotation[int Index] = {read=GetAnnotation, write=SetAnnotation};
	__property int AnnotationCount = {read=GetAnnotationCount, nodefault};
	__property System::Sysutils::TBytes Attachment[int Index] = {read=GetAttachment, write=SetAttachment};
	__property int AttachmentCount = {read=GetAttachmentCount, nodefault};
	__property WString AttachmentName[int Index] = {read=GetAttachmentName};
	__property WString Author = {read=GetAuthor};
	__property Vcl::Graphics::TBitmap* Bitmap[int Index] = {read=GetBitmap};
	__property int BitmapCount = {read=GetBitmapCount, nodefault};
	__property TBookmark Bookmark[const WString Title] = {read=GetBookmark};
	__property TBookmarks BookmarkChildren[const TBookmark Bookmark] = {read=GetBookmarkChildren};
	__property TBookmark BookmarkFrom[Fpdfview::FPDF_BOOKMARK Handle] = {read=GetBookmarkFrom};
	__property TBookmarks Bookmarks = {read=GetBookmarks};
	__property System::WideChar Character[int Index] = {read=GetCharacter};
	__property int CharacterCount = {read=GetCharacterCount, nodefault};
	__property bool CharacterGenerated[int Index] = {read=GetCharacterGenerated};
	__property bool CharacterIsHyphen[int Index] = {read=GetCharacterIsHyphen};
	__property bool CharacterMapError[int Index] = {read=GetCharacterMapError};
	__property TPdfPoint CharacterOrigin[int Index] = {read=GetCharacterOrigin};
	__property TPdfRectangle CharacterRectangle[int Index] = {read=GetCharacterRectangle};
	__property System::WideChar Charcode[int Index] = {read=GetCharcode};
	__property bool Compressed = {read=FCompressed, write=FCompressed, default=1};
	__property WString CreationDate = {read=GetCreationDate};
	__property WString Creator = {read=GetCreator};
	__property TDestination Destination[int Index] = {read=GetDestination};
	__property TDestination DestinationByName[const WString Name] = {read=GetDestinationByName};
	__property int DestinationCount = {read=GetDestinationCount, nodefault};
	__property Fpdfview::FPDF_DOCUMENT Document = {read=FDocument};
	__property Fpdfview::FPDF_SCHHANDLE Find = {read=FFind};
	__property double FontSize[int Index] = {read=GetFontSize};
	__property float FontAscent = {read=GetFontAscent};
	__property WString FontBaseName = {read=GetFontBaseName};
	__property System::Sysutils::TBytes FontData = {read=GetFontData};
	__property float FontDescent = {read=GetFontDescent};
	__property WString FontFamilyName = {read=GetFontFamilyName};
	__property Fpdfview::FPDF_FONT FontHandle = {read=GetFontHandle};
	__property bool FontIsEmbedded = {read=GetFontIsEmbedded, nodefault};
	__property int FontItalicAngle = {read=GetFontItalicAngle, nodefault};
	__property int FontWeight = {read=GetFontWeight, nodefault};
	__property Fpdfview::FPDF_FORMHANDLE FormHandle = {read=FFormHandle};
	__property WString FormField[int Index] = {read=GetFormField, write=SetFormField};
	__property WString FormFieldAt[float X][float Y] = {read=GetFormFieldAt, write=SetFormFieldAt};
	__property TPdfFormFieldInfo FormFieldInfo[int Index] = {read=GetFormFieldInfo};
	__property TPdfFormFieldInfo FormFieldInfoAt[float X][float Y] = {read=GetFormFieldInfoAt};
	__property int FormFieldCount = {read=GetFormFieldCount, nodefault};
	__property TPdfFormType FormType = {read=GetFormType, nodefault};
	__property bool HasBookmarkChildren[const TBookmark Bookmark] = {read=GetHasBookmarkChildren};
	__property bool HasFormFieldAt[float X][float Y] = {read=GetHasFormFieldAt};
	__property TPdfImage Image[int Index] = {read=GetImage};
	__property int ImageCount = {read=GetImageCount, nodefault};
	__property bool IsTagged = {read=GetIsTagged, nodefault};
	__property WString Keywords = {read=GetKeywords};
	__property TLinkAnnotation LinkAnnotation[int PageNumber][int Index] = {read=GetLinkAnnotation};
	__property int LinkAnnotationCount[int PageNumber] = {read=GetLinkAnnotationCount};
	__property WString MetaText[const System::UnicodeString Tag] = {read=GetMetaText};
	__property WString ModifiedDate = {read=GetModifiedDate};
	__property Vcl::Graphics::TBitmap* ObjectBitmap[int Index] = {read=GetObjectBitmap};
	__property TPdfRectangle ObjectBounds[int Index] = {read=GetObjectBounds};
	__property int ObjectCount = {read=GetObjectCount, nodefault};
	__property void * ObjectHandle[int Index] = {read=GetObjectHandle};
	__property bool ObjectTransparent[int Index] = {read=GetObjectTransparent};
	__property TObjectType ObjectType[int Index] = {read=GetObjectType};
	__property Fpdfview::FPDF_PAGE Page = {read=FPage};
	__property TPdfRectangle PageBounds = {read=GetPageBounds};
	__property int PageCount = {read=GetPageCount, nodefault};
	__property double PageHeight = {read=GetPageHeight};
	__property WString PageLabel[int PageNumber] = {read=GetPageLabel};
	__property TPageMode PageMode = {read=GetPageMode, nodefault};
	__property TRotation PageRotation = {read=GetPageRotation, write=SetPageRotation, nodefault};
	__property double PageWidth = {read=GetPageWidth};
	__property TPdfVersion PdfVersion = {read=GetPdfVersion, nodefault};
	__property System::LongWord Permissions = {read=GetPermissions, nodefault};
	__property int PrintCopies = {read=GetPrintCopies, nodefault};
	__property TPrintPaperHandling PrintPaperHandling = {read=GetPrintPaperHandling, nodefault};
	__property bool PrintScaling = {read=GetPrintScaling, nodefault};
	__property WString Producer = {read=GetProducer};
	__property TPdfRectangle Rectangle[int Index] = {read=GetRectangle};
	__property int SignatureCount = {read=GetSignatureCount, nodefault};
	__property TPdfSignature Signature[int Index] = {read=GetSignature};
	__property WString Subject = {read=GetSubject};
	__property Fpdfview::FPDF_TEXTPAGE TextPage = {read=FTextPage};
	__property Vcl::Graphics::TBitmap* Thumbnail = {read=GetThumbnail};
	__property WString Title = {read=GetTitle};
	__property bool Transparent = {read=GetTransparent, nodefault};
	__property System::LongWord UserPermissions = {read=GetUserPermissions, nodefault};
	__property WString ViewerPreference[const System::UnicodeString Key] = {read=GetViewerPreference};
	__property TWebLink WebLink[int PageNumber][int Index] = {read=GetWebLink};
	__property int WebLinkCount[int PageNumber] = {read=GetWebLinkCount};
	__property bool XFA = {read=GetXFA, nodefault};
	
__published:
	__property System::UnicodeString About = {read=GetAbout, write=SetAbout, stored=false};
	__property bool Active = {read=GetActive, write=SetActive, default=0};
	__property System::UnicodeString FileName = {read=FFileName, write=SetFileName};
	__property bool FormFill = {read=FFormFill, write=SetFormFill, default=1};
	__property int PageNumber = {read=FPageNumber, write=SetPageNumber, default=0};
	__property System::UnicodeString Password = {read=FPassword, write=SetPassword};
	__property TPdfFormFieldEnterEvent OnFormFieldEnter = {read=FOnFormFieldEnter, write=FOnFormFieldEnter};
	__property System::Classes::TNotifyEvent OnFormFieldExit = {read=FOnFormFieldExit, write=FOnFormFieldExit};
	__property System::Classes::TNotifyEvent OnPageChange = {read=FOnPageChange, write=FOnPageChange};
	__property TPdfUnsupportedFeatureEvent OnUnsupportedFeature = {read=FOnUnsupportedFeature, write=FOnUnsupportedFeature};
};


class PASCALIMPLEMENTATION TPdfView : public Vcl::Forms::TScrollingWinControl
{
	typedef Vcl::Forms::TScrollingWinControl inherited;
	
private:
	bool FActive;
	Vcl::Controls::TControlCanvas* FCanvas;
	TPdfDisplayMode FDisplayMode;
	Fpdfview::FPDF_SCHHANDLE FFind;
	TLinkAnnotations FLinkAnnotations;
	TRenderOptions FOptions;
	Fpdfview::FPDF_PAGE FPage;
	int FPageNumber;
	TPdf* FPdf;
	TRotation FRotation;
	Fpdfview::FPDF_TEXTPAGE FTextPage;
	TWebLinks FWebLinks;
	double FZoom;
	System::Classes::TNotifyEvent FOnPaint;
	System::Classes::TNotifyEvent FOnPageChange;
	System::Classes::TNotifyEvent FOnPageNumberChanged;
	bool FDragging;
	System::Types::TPoint FDragStartPoint;
	System::Types::TPoint FScrollOffset;
	int FCurrentCharIndex;
	void __fastcall CheckActive();
	void __fastcall CheckFindActive();
	void __fastcall CheckInactive();
	void __fastcall GetPagePixelSize(int PageNo, /* out */ int &W, /* out */ int &H);
	void __fastcall UpdateScrollRange();
	void __fastcall DoScroll(Winapi::Messages::TWMScroll &Message, Vcl::Forms::TScrollBarKind ScrollKind);
	System::UnicodeString __fastcall GetAbout();
	void __fastcall SetAbout(const System::UnicodeString Value);
	Vcl::Graphics::TCanvas* __fastcall GetCanvas();
	bool __fastcall GetActive();
	TPdfAnnotation __fastcall GetAnnotation(int Index);
	int __fastcall GetAnnotationCount();
	Vcl::Graphics::TBitmap* __fastcall GetBitmap(int Index);
	int __fastcall GetBitmapCount();
	System::WideChar __fastcall GetCharacter(int Index);
	int __fastcall GetCharacterCount();
	bool __fastcall GetCharacterGenerated(int Index);
	bool __fastcall GetCharacterIsHyphen(int Index);
	bool __fastcall GetCharacterMapError(int Index);
	System::Types::TPoint __fastcall GetCharacterOrigin(int Index);
	System::Types::TRect __fastcall GetCharacterRectangle(int Index);
	System::WideChar __fastcall GetCharcode(int Index);
	double __fastcall GetFontSize(int Index);
	WString __fastcall GetFormField(int Index);
	WString __fastcall GetFormFieldAt(int X, int Y);
	Fpdfview::FPDF_ANNOTATION __fastcall GetFormFieldAtPos(int X, int Y);
	int __fastcall GetFormFieldCount();
	TPdfFormFieldInfo __fastcall GetFormFieldInfo(int Index);
	TPdfFormFieldInfo __fastcall GetFormFieldInfoAt(int X, int Y);
	Fpdfview::FPDF_FORMHANDLE __fastcall GetFormHandle();
	bool __fastcall GetHasFormFieldAt(int X, int Y);
	TPdfImage __fastcall GetImage(int Index);
	int __fastcall GetImageCount();
	float __fastcall GetFontAscent();
	WString __fastcall GetFontBaseName();
	System::Sysutils::TBytes __fastcall GetFontData();
	float __fastcall GetFontDescent();
	WString __fastcall GetFontFamilyName();
	Fpdfview::FPDF_FONT __fastcall GetFontHandle();
	bool __fastcall GetFontIsEmbedded();
	int __fastcall GetFontItalicAngle();
	int __fastcall GetFontWeight();
	TLinkAnnotations __fastcall GetLinkAnnotations();
	Vcl::Graphics::TBitmap* __fastcall GetObjectBitmap(int Index);
	TPdfRectangle __fastcall GetObjectBounds(int Index);
	int __fastcall GetObjectCount();
	void * __fastcall GetObjectHandle(int Index);
	bool __fastcall GetObjectTransparent(int Index);
	TObjectType __fastcall GetObjectType(int Index);
	TPdfRectangle __fastcall GetPageBounds();
	int __fastcall GetPageCount();
	double __fastcall GetPageHeight();
	WString __fastcall GetPageLabel();
	TRotation __fastcall GetPageRotation();
	double __fastcall GetPageWidth();
	System::Types::TRect __fastcall GetRectangle(int Index);
	Vcl::Graphics::TBitmap* __fastcall GetThumbnail();
	bool __fastcall GetTransparent();
	TWebLinks __fastcall GetWebLinks();
	TWebLink __fastcall GetWebLink(int PageNumber, int Index)/* overload */;
	int __fastcall GetWebLinkCount(int PageNumber)/* overload */;
	TLinkAnnotation __fastcall GetLinkAnnotation(int PageNumber, int Index)/* overload */;
	int __fastcall GetLinkAnnotationCount(int PageNumber)/* overload */;
	double __fastcall GetPageHeightZoom(int PageNumber);
	double __fastcall GetPageWidthZoom(int PageNumber);
	double __fastcall GetPageZoom(int PageNumber);
	double __fastcall GetActualSizeZoom(int PageNumber);
	int __fastcall ImageIndexToObjectIndex(int Index);
	bool __fastcall IsFormFillEdit();
	void __fastcall SetActive(bool Value);
	void __fastcall SetAnnotation(int Index, const TPdfAnnotation &Value);
	void __fastcall SetDisplayMode(TPdfDisplayMode Value);
	void __fastcall SetFormField(int Index, const WString Value);
	void __fastcall SetFormFieldAt(int X, int Y, const WString Value);
	void __fastcall SetOptions(TRenderOptions Value);
	void __fastcall SetPageNumber(int Value);
	void __fastcall SetPageRotation(TRotation Value);
	void __fastcall SetPdf(TPdf* Value);
	void __fastcall SetRotation(TRotation Value);
	void __fastcall SetZoom(double Value);
	void __fastcall SetCurrentCharIndex(int Value);
	HIDESBASE MESSAGE void __fastcall WMEraseBkGnd(Winapi::Messages::TMessage &Message);
	HIDESBASE MESSAGE void __fastcall WMSize(Winapi::Messages::TWMSize &Message);
	HIDESBASE MESSAGE void __fastcall WMHScroll(Winapi::Messages::TWMHScroll &Message);
	HIDESBASE MESSAGE void __fastcall WMVScroll(Winapi::Messages::TWMVScroll &Message);
	__property Fpdfview::FPDF_FORMHANDLE FormHandle = {read=GetFormHandle};
	
protected:
	virtual void __fastcall CreateParams(Vcl::Controls::TCreateParams &Params);
	DYNAMIC void __fastcall KeyDown(System::Word &Key, System::Classes::TShiftState Shift);
	DYNAMIC void __fastcall KeyUp(System::Word &Key, System::Classes::TShiftState Shift);
	DYNAMIC void __fastcall KeyPress(System::WideChar &Key);
	virtual void __fastcall Loaded();
	void __fastcall LoadTextPage();
	DYNAMIC void __fastcall MouseDown(System::Uitypes::TMouseButton Button, System::Classes::TShiftState Shift, int X, int Y);
	DYNAMIC void __fastcall MouseMove(System::Classes::TShiftState Shift, int X, int Y);
	DYNAMIC void __fastcall MouseUp(System::Uitypes::TMouseButton Button, System::Classes::TShiftState Shift, int X, int Y);
	virtual void __fastcall Notification(System::Classes::TComponent* AComponent, System::Classes::TOperation Operation);
	HIDESBASE MESSAGE void __fastcall WMPaint(Winapi::Messages::TWMPaint &Message);
	void __fastcall ReloadFind(const WString Text, TSearchOptions Options, int StartIndex);
	void __fastcall UnloadFind();
	void __fastcall UnloadPage();
	void __fastcall UnloadTextPage();
	virtual void __fastcall WndProc(Winapi::Messages::TMessage &Message);
	
public:
	__fastcall virtual TPdfView(System::Classes::TComponent* AOwner);
	__fastcall virtual ~TPdfView();
	bool __fastcall AddJpegImage(System::Classes::TStream* JpegImage, int X, int Y, int Width, int Height);
	void __fastcall AddPicture(Vcl::Graphics::TPicture* Picture, int X, int Y)/* overload */;
	void __fastcall AddPicture(Vcl::Graphics::TPicture* Picture, int X, int Y, int Width, int Height)/* overload */;
	int __fastcall CharacterIndexAtPos(int X, int Y, double ToleranceX, double ToleranceY);
	void __fastcall CreateAnnotation(const TPdfAnnotation &Annotation);
	void __fastcall DeleteAnnotation(int Index);
	bool __fastcall DeviceToPage(int X, int Y, /* out */ double &PageX, /* out */ double &PageY)/* overload */;
	bool __fastcall DeviceToPage(int X, int Y, int &PageNumber, double &PageX, double &PageY)/* overload */;
	TPdfRectangle __fastcall DeviceToPage(const System::Types::TRect &Rectangle)/* overload */;
	int __fastcall FindFirst(const WString Text, TSearchOptions Options = TSearchOptions() , int StartIndex = 0x0, bool DirectionUp = true);
	int __fastcall FindNext();
	int __fastcall FindPrevious();
	int __fastcall LinkAnnotationAtPos(int X, int Y, /* out */ int &PageNumber)/* overload */;
	int __fastcall LinkAnnotationAtPos(int X, int Y)/* overload */;
	bool __fastcall PageToDevice(double PageX, double PageY, /* out */ int &X, /* out */ int &Y)/* overload */;
	System::Types::TRect __fastcall PageToDevice(const TPdfRectangle &Rectangle)/* overload */;
	void __fastcall PaintSelection(int SelectionStart, int SelectionEnd, System::Uitypes::TColor Mask);
	int __fastcall RectangleCount(int StartIndex = 0x0, int Count = 0x7fffffff);
	void __fastcall ReloadPage();
	void __fastcall RenderPage(HDC DeviceContext, int Left, int Top, int Width, int Height, TRotation Rotation = (TRotation)(0x0), TRenderOptions Options = TRenderOptions() )/* overload */;
	Vcl::Graphics::TBitmap* __fastcall RenderPage(int Left, int Top, int Width, int Height, TRotation Rotation = (TRotation)(0x0), TRenderOptions Options = TRenderOptions() )/* overload */;
	void __fastcall RenderPage(Vcl::Graphics::TBitmap* Bitmap, int Left, int Top, int Width, int Height, TRotation Rotation = (TRotation)(0x0), TRenderOptions Options = TRenderOptions() )/* overload */;
	Vcl::Graphics::TBitmap* __fastcall RenderTile(int Left, int Top, int Width, int Height, int PageWidth, int PageHeight, TRotation Rotation = (TRotation)(0x0), TRenderOptions Options = TRenderOptions() )/* overload */;
	void __fastcall RenderTile(Vcl::Graphics::TBitmap* Bitmap, int Left, int Top, int Width, int Height, int PageWidth, int PageHeight, TRotation Rotation = (TRotation)(0x0), TRenderOptions Options = TRenderOptions() )/* overload */;
	HIDESBASE WString __fastcall Text(int StartIndex = 0x0, int Count = 0x7fffffff);
	WString __fastcall TextInRectangle(int Left, int Top, int Right, int Bottom)/* overload */;
	WString __fastcall TextInRectangle(const System::Types::TRect &Rectangle)/* overload */;
	void __fastcall UpdatePage();
	int __fastcall WebLinkAtPos(int X, int Y, /* out */ int &PageNumber)/* overload */;
	int __fastcall WebLinkAtPos(int X, int Y)/* overload */;
	__property TPdfAnnotation Annotation[int Index] = {read=GetAnnotation, write=SetAnnotation};
	__property int AnnotationCount = {read=GetAnnotationCount, nodefault};
	__property Vcl::Graphics::TBitmap* Bitmap[int Index] = {read=GetBitmap};
	__property int BitmapCount = {read=GetBitmapCount, nodefault};
	__property Vcl::Graphics::TCanvas* Canvas = {read=GetCanvas};
	__property System::WideChar Character[int Index] = {read=GetCharacter};
	__property int CharacterCount = {read=GetCharacterCount, nodefault};
	__property bool CharacterGenerated[int Index] = {read=GetCharacterGenerated};
	__property bool CharacterIsHyphen[int Index] = {read=GetCharacterIsHyphen};
	__property bool CharacterMapError[int Index] = {read=GetCharacterMapError};
	__property System::Types::TPoint CharacterOrigin[int Index] = {read=GetCharacterOrigin};
	__property System::Types::TRect CharacterRectangle[int Index] = {read=GetCharacterRectangle};
	__property System::WideChar Charcode[int Index] = {read=GetCharcode};
	__property Fpdfview::FPDF_SCHHANDLE Find = {read=FFind};
	__property double FontSize[int Index] = {read=GetFontSize};
	__property float FontAscent = {read=GetFontAscent};
	__property WString FontBaseName = {read=GetFontBaseName};
	__property System::Sysutils::TBytes FontData = {read=GetFontData};
	__property float FontDescent = {read=GetFontDescent};
	__property WString FontFamilyName = {read=GetFontFamilyName};
	__property Fpdfview::FPDF_FONT FontHandle = {read=GetFontHandle};
	__property bool FontIsEmbedded = {read=GetFontIsEmbedded, nodefault};
	__property int FontItalicAngle = {read=GetFontItalicAngle, nodefault};
	__property int FontWeight = {read=GetFontWeight, nodefault};
	__property WString FormField[int Index] = {read=GetFormField, write=SetFormField};
	__property WString FormFieldAt[int X][int Y] = {read=GetFormFieldAt, write=SetFormFieldAt};
	__property int FormFieldCount = {read=GetFormFieldCount, nodefault};
	__property TPdfFormFieldInfo FormFieldInfo[int Index] = {read=GetFormFieldInfo};
	__property TPdfFormFieldInfo FormFieldInfoAt[int X][int Y] = {read=GetFormFieldInfoAt};
	__property bool HasFormFieldAt[int X][int Y] = {read=GetHasFormFieldAt};
	__property TPdfImage Image[int Index] = {read=GetImage};
	__property int ImageCount = {read=GetImageCount, nodefault};
	__property TLinkAnnotation LinkAnnotation[int PageNumber][int Index] = {read=GetLinkAnnotation};
	__property int LinkAnnotationCount[int PageNumber] = {read=GetLinkAnnotationCount};
	__property Vcl::Graphics::TBitmap* ObjectBitmap[int Index] = {read=GetObjectBitmap};
	__property TPdfRectangle ObjectBounds[int Index] = {read=GetObjectBounds};
	__property int ObjectCount = {read=GetObjectCount, nodefault};
	__property void * ObjectHandle[int Index] = {read=GetObjectHandle};
	__property bool ObjectTransparent[int Index] = {read=GetObjectTransparent};
	__property TObjectType ObjectType[int Index] = {read=GetObjectType};
	__property Fpdfview::FPDF_PAGE Page = {read=FPage};
	__property TPdfRectangle PageBounds = {read=GetPageBounds};
	__property int PageCount = {read=GetPageCount, nodefault};
	__property double PageHeight = {read=GetPageHeight};
	__property double PageHeightZoom[int PageNumber] = {read=GetPageHeightZoom};
	__property WString PageLabel = {read=GetPageLabel};
	__property TRotation PageRotation = {read=GetPageRotation, write=SetPageRotation, nodefault};
	__property double PageWidth = {read=GetPageWidth};
	__property double PageWidthZoom[int PageNumber] = {read=GetPageWidthZoom};
	__property double PageZoom[int PageNumber] = {read=GetPageZoom};
	__property double ActualSizeZoom[int PageNumber] = {read=GetActualSizeZoom};
	__property System::Types::TRect Rectangle[int Index] = {read=GetRectangle};
	__property Fpdfview::FPDF_TEXTPAGE TextPage = {read=FTextPage};
	__property Vcl::Graphics::TBitmap* Thumbnail = {read=GetThumbnail};
	__property bool Transparent = {read=GetTransparent, nodefault};
	__property TWebLink WebLink[int PageNumber][int Index] = {read=GetWebLink};
	__property int WebLinkCount[int PageNumber] = {read=GetWebLinkCount};
	__property WindowHandle;
	
__published:
	__property System::UnicodeString About = {read=GetAbout, write=SetAbout, stored=false};
	__property bool Active = {read=GetActive, write=SetActive, default=0};
	__property Align = {default=0};
	__property Anchors = {default=3};
	__property Color = {default=-16777211};
	__property Constraints;
	__property int CurrentCharIndex = {read=FCurrentCharIndex, write=SetCurrentCharIndex, default=0};
	__property TPdfDisplayMode DisplayMode = {read=FDisplayMode, write=SetDisplayMode, default=0};
	__property DragCursor = {default=-12};
	__property DragKind = {default=0};
	__property DragMode = {default=0};
	__property Enabled = {default=1};
	__property TRenderOptions Options = {read=FOptions, write=SetOptions, default=2};
	__property int PageNumber = {read=FPageNumber, write=SetPageNumber, default=1};
	__property ParentShowHint = {default=1};
	__property TPdf* Pdf = {read=FPdf, write=SetPdf};
	__property PopupMenu;
	__property TRotation Rotation = {read=FRotation, write=SetRotation, default=0};
	__property double Zoom = {read=FZoom, write=SetZoom};
	__property ShowHint;
	__property TabOrder = {default=-1};
	__property TabStop = {default=0};
	__property Touch;
	__property Visible = {default=1};
	__property OnCanResize;
	__property OnClick;
	__property OnConstrainedResize;
	__property OnContextPopup;
	__property OnDblClick;
	__property OnDragDrop;
	__property OnDragOver;
	__property OnEndDock;
	__property OnEndDrag;
	__property OnEnter;
	__property OnExit;
	__property OnGesture;
	__property OnKeyDown;
	__property OnKeyPress;
	__property OnKeyUp;
	__property OnMouseActivate;
	__property OnMouseDown;
	__property OnMouseEnter;
	__property OnMouseLeave;
	__property OnMouseMove;
	__property OnMouseUp;
	__property OnMouseWheel;
	__property OnMouseWheelDown;
	__property OnMouseWheelUp;
	__property System::Classes::TNotifyEvent OnPageChange = {read=FOnPageChange, write=FOnPageChange};
	__property System::Classes::TNotifyEvent OnPageNumberChanged = {read=FOnPageNumberChanged, write=FOnPageNumberChanged};
	__property System::Classes::TNotifyEvent OnPaint = {read=FOnPaint, write=FOnPaint};
	__property OnResize;
	__property OnStartDock;
	__property OnStartDrag;
public:
	/* TWinControl.CreateParented */ inline __fastcall TPdfView(HWND ParentWindow) : Vcl::Forms::TScrollingWinControl(ParentWindow) { }
	
};


typedef System::LongWord __cdecl (*TFPDFText_GetUnicode)(Fpdfview::FPDF_TEXTPAGE text_page, int Index);

//-- var, const, procedure ---------------------------------------------------
extern DELPHI_PACKAGE System::UnicodeString LibraryName;
extern DELPHI_PACKAGE bool EnableV8Engine;
extern DELPHI_PACKAGE int PointsPerInch;
extern DELPHI_PACKAGE unsigned PDFiumLibrary;
extern DELPHI_PACKAGE Fpdfview::TFPDF_InitLibrary FPDF_InitLibrary;
extern DELPHI_PACKAGE Fpdfview::TFPDF_InitLibraryWithConfig FPDF_InitLibraryWithConfig;
extern DELPHI_PACKAGE Fpdfview::TFPDF_DestroyLibrary FPDF_DestroyLibrary;
extern DELPHI_PACKAGE Fpdfview::TFPDF_SetSandBoxPolicy FPDF_SetSandBoxPolicy;
extern DELPHI_PACKAGE Fpdfview::TFPDF_LoadDocument FPDF_LoadDocument;
extern DELPHI_PACKAGE Fpdfview::TFPDF_LoadMemDocument FPDF_LoadMemDocument;
extern DELPHI_PACKAGE Fpdfview::TFPDF_LoadMemDocument64 FPDF_LoadMemDocument64;
extern DELPHI_PACKAGE Fpdfview::TFPDF_LoadCustomDocument FPDF_LoadCustomDocument;
extern DELPHI_PACKAGE Fpdfview::TFPDF_GetFileVersion FPDF_GetFileVersion;
extern DELPHI_PACKAGE Fpdfview::TFPDF_GetLastError FPDF_GetLastError;
extern DELPHI_PACKAGE Fpdfview::TFPDF_DocumentHasValidCrossReferenceTable FPDF_DocumentHasValidCrossReferenceTable;
extern DELPHI_PACKAGE Fpdfview::TFPDF_GetTrailerEnds FPDF_GetTrailerEnds;
extern DELPHI_PACKAGE Fpdfview::TFPDF_GetDocPermissions FPDF_GetDocPermissions;
extern DELPHI_PACKAGE Fpdfview::TFPDF_GetDocUserPermissions FPDF_GetDocUserPermissions;
extern DELPHI_PACKAGE Fpdfview::TFPDF_GetSecurityHandlerRevision FPDF_GetSecurityHandlerRevision;
extern DELPHI_PACKAGE Fpdfview::TFPDF_GetPageCount FPDF_GetPageCount;
extern DELPHI_PACKAGE Fpdfview::TFPDF_LoadPage FPDF_LoadPage;
extern DELPHI_PACKAGE Fpdfview::TFPDF_GetPageWidthF FPDF_GetPageWidthF;
extern DELPHI_PACKAGE Fpdfview::TFPDF_GetPageWidth FPDF_GetPageWidth;
extern DELPHI_PACKAGE Fpdfview::TFPDF_GetPageHeightF FPDF_GetPageHeightF;
extern DELPHI_PACKAGE Fpdfview::TFPDF_GetPageHeight FPDF_GetPageHeight;
extern DELPHI_PACKAGE Fpdfview::TFPDF_GetPageBoundingBox FPDF_GetPageBoundingBox;
extern DELPHI_PACKAGE Fpdfview::TFPDF_GetPageSizeByIndexF FPDF_GetPageSizeByIndexF;
extern DELPHI_PACKAGE Fpdfview::TFPDF_GetPageSizeByIndex FPDF_GetPageSizeByIndex;
extern DELPHI_PACKAGE Fpdfview::TFPDF_RenderPage FPDF_RenderPage;
extern DELPHI_PACKAGE Fpdfview::TFPDF_RenderPageBitmap FPDF_RenderPageBitmap;
extern DELPHI_PACKAGE Fpdfview::TFPDF_RenderPageBitmapWithMatrix FPDF_RenderPageBitmapWithMatrix;
extern DELPHI_PACKAGE Fpdfview::TFPDF_ClosePage FPDF_ClosePage;
extern DELPHI_PACKAGE Fpdfview::TFPDF_CloseDocument FPDF_CloseDocument;
extern DELPHI_PACKAGE Fpdfview::TFPDF_DeviceToPage FPDF_DeviceToPage;
extern DELPHI_PACKAGE Fpdfview::TFPDF_PageToDevice FPDF_PageToDevice;
extern DELPHI_PACKAGE Fpdfview::TFPDFBitmap_Create FPDFBitmap_Create;
extern DELPHI_PACKAGE Fpdfview::TFPDFBitmap_CreateEx FPDFBitmap_CreateEx;
extern DELPHI_PACKAGE Fpdfview::TFPDFBitmap_GetFormat FPDFBitmap_GetFormat;
extern DELPHI_PACKAGE Fpdfview::TFPDFBitmap_FillRect FPDFBitmap_FillRect;
extern DELPHI_PACKAGE Fpdfview::TFPDFBitmap_GetBuffer FPDFBitmap_GetBuffer;
extern DELPHI_PACKAGE Fpdfview::TFPDFBitmap_GetWidth FPDFBitmap_GetWidth;
extern DELPHI_PACKAGE Fpdfview::TFPDFBitmap_GetHeight FPDFBitmap_GetHeight;
extern DELPHI_PACKAGE Fpdfview::TFPDFBitmap_GetStride FPDFBitmap_GetStride;
extern DELPHI_PACKAGE Fpdfview::TFPDFBitmap_Destroy FPDFBitmap_Destroy;
extern DELPHI_PACKAGE Fpdfview::TFPDF_VIEWERREF_GetPrintScaling FPDF_VIEWERREF_GetPrintScaling;
extern DELPHI_PACKAGE Fpdfview::TFPDF_VIEWERREF_GetNumCopies FPDF_VIEWERREF_GetNumCopies;
extern DELPHI_PACKAGE Fpdfview::TFPDF_VIEWERREF_GetPrintPageRange FPDF_VIEWERREF_GetPrintPageRange;
extern DELPHI_PACKAGE Fpdfview::TFPDF_VIEWERREF_GetPrintPageRangeCount FPDF_VIEWERREF_GetPrintPageRangeCount;
extern DELPHI_PACKAGE Fpdfview::TFPDF_VIEWERREF_GetPrintPageRangeElement FPDF_VIEWERREF_GetPrintPageRangeElement;
extern DELPHI_PACKAGE Fpdfview::TFPDF_VIEWERREF_GetDuplex FPDF_VIEWERREF_GetDuplex;
extern DELPHI_PACKAGE Fpdfview::TFPDF_VIEWERREF_GetName FPDF_VIEWERREF_GetName;
extern DELPHI_PACKAGE Fpdfview::TFPDF_CountNamedDests FPDF_CountNamedDests;
extern DELPHI_PACKAGE Fpdfview::TFPDF_GetNamedDestByName FPDF_GetNamedDestByName;
extern DELPHI_PACKAGE Fpdfview::TFPDF_GetNamedDest FPDF_GetNamedDest;
extern DELPHI_PACKAGE Fpdfview::TFPDF_GetXFAPacketCount FPDF_GetXFAPacketCount;
extern DELPHI_PACKAGE Fpdfview::TFPDF_GetXFAPacketName FPDF_GetXFAPacketName;
extern DELPHI_PACKAGE Fpdfview::TFPDF_GetXFAPacketContent FPDF_GetXFAPacketContent;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_LoadPage FPDFText_LoadPage;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_ClosePage FPDFText_ClosePage;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_CountChars FPDFText_CountChars;
extern DELPHI_PACKAGE TFPDFText_GetUnicode FPDFText_GetUnicode;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_GetTextObject FPDFText_GetTextObject;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_IsGenerated FPDFText_IsGenerated;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_IsHyphen FPDFText_IsHyphen;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_HasUnicodeMapError FPDFText_HasUnicodeMapError;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_GetFontSize FPDFText_GetFontSize;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_GetFontInfo FPDFText_GetFontInfo;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_GetFontWeight FPDFText_GetFontWeight;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_GetFillColor FPDFText_GetFillColor;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_GetStrokeColor FPDFText_GetStrokeColor;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_GetCharAngle FPDFText_GetCharAngle;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_GetCharBox FPDFText_GetCharBox;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_GetLooseCharBox FPDFText_GetLooseCharBox;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_GetMatrix FPDFText_GetMatrix;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_GetCharOrigin FPDFText_GetCharOrigin;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_GetCharIndexAtPos FPDFText_GetCharIndexAtPos;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_GetText FPDFText_GetText;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_CountRects FPDFText_CountRects;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_GetRect FPDFText_GetRect;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_GetBoundedText FPDFText_GetBoundedText;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_FindStart FPDFText_FindStart;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_FindNext FPDFText_FindNext;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_FindPrev FPDFText_FindPrev;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_GetSchResultIndex FPDFText_GetSchResultIndex;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_GetSchCount FPDFText_GetSchCount;
extern DELPHI_PACKAGE Fpdftext::TFPDFText_FindClose FPDFText_FindClose;
extern DELPHI_PACKAGE Fpdftext::TFPDFLink_LoadWebLinks FPDFLink_LoadWebLinks;
extern DELPHI_PACKAGE Fpdftext::TFPDFLink_CountWebLinks FPDFLink_CountWebLinks;
extern DELPHI_PACKAGE Fpdftext::TFPDFLink_GetURL FPDFLink_GetURL;
extern DELPHI_PACKAGE Fpdftext::TFPDFLink_CountRects FPDFLink_CountRects;
extern DELPHI_PACKAGE Fpdftext::TFPDFLink_GetRect FPDFLink_GetRect;
extern DELPHI_PACKAGE Fpdftext::TFPDFLink_GetTextRange FPDFLink_GetTextRange;
extern DELPHI_PACKAGE Fpdftext::TFPDFLink_CloseWebLinks FPDFLink_CloseWebLinks;
extern DELPHI_PACKAGE Fpdfpageops::TFPDF_ImportPagesByIndex FPDF_ImportPagesByIndex;
extern DELPHI_PACKAGE Fpdfpageops::TFPDF_ImportPages FPDF_ImportPages;
extern DELPHI_PACKAGE Fpdfpageops::TFPDF_ImportNPagesToOne FPDF_ImportNPagesToOne;
extern DELPHI_PACKAGE Fpdfpageops::TFPDF_NewXObjectFromPage FPDF_NewXObjectFromPage;
extern DELPHI_PACKAGE Fpdfpageops::TFPDF_CloseXObject FPDF_CloseXObject;
extern DELPHI_PACKAGE Fpdfpageops::TFPDF_NewFormObjectFromXObject FPDF_NewFormObjectFromXObject;
extern DELPHI_PACKAGE Fpdfpageops::TFPDF_CopyViewerPreferences FPDF_CopyViewerPreferences;
extern DELPHI_PACKAGE Fpdfextensions::TFPDF_GetDefaultTTFMap FPDF_GetDefaultTTFMap;
extern DELPHI_PACKAGE Fpdfextensions::TFPDF_GetDefaultTTFMapCount FPDF_GetDefaultTTFMapCount;
extern DELPHI_PACKAGE Fpdfextensions::TFPDF_GetDefaultTTFMapEntry FPDF_GetDefaultTTFMapEntry;
extern DELPHI_PACKAGE Fpdfextensions::TFPDF_AddInstalledFont FPDF_AddInstalledFont;
extern DELPHI_PACKAGE Fpdfextensions::TFPDF_SetSystemFontInfo FPDF_SetSystemFontInfo;
extern DELPHI_PACKAGE Fpdfextensions::TFPDF_GetDefaultSystemFontInfo FPDF_GetDefaultSystemFontInfo;
extern DELPHI_PACKAGE Fpdfextensions::TFPDF_FreeDefaultSystemFontInfo FPDF_FreeDefaultSystemFontInfo;
extern DELPHI_PACKAGE Fpdfpageops::TFPDF_SaveAsCopy FPDF_SaveAsCopy;
extern DELPHI_PACKAGE Fpdfpageops::TFPDF_SaveWithVersion FPDF_SaveWithVersion;
extern DELPHI_PACKAGE Fpdfdoc::TFPDFBookmark_GetFirstChild FPDFBookmark_GetFirstChild;
extern DELPHI_PACKAGE Fpdfdoc::TFPDFBookmark_GetNextSibling FPDFBookmark_GetNextSibling;
extern DELPHI_PACKAGE Fpdfdoc::TFPDFBookmark_GetTitle FPDFBookmark_GetTitle;
extern DELPHI_PACKAGE Fpdfdoc::TFPDFBookmark_GetCount FPDFBookmark_GetCount;
extern DELPHI_PACKAGE Fpdfdoc::TFPDFBookmark_Find FPDFBookmark_Find;
extern DELPHI_PACKAGE Fpdfdoc::TFPDFBookmark_GetDest FPDFBookmark_GetDest;
extern DELPHI_PACKAGE Fpdfdoc::TFPDFBookmark_GetAction FPDFBookmark_GetAction;
extern DELPHI_PACKAGE Fpdfdoc::TFPDFAction_GetType FPDFAction_GetType;
extern DELPHI_PACKAGE Fpdfdoc::TFPDFAction_GetDest FPDFAction_GetDest;
extern DELPHI_PACKAGE Fpdfdoc::TPDFAction_GetFilePath FPDFAction_GetFilePath;
extern DELPHI_PACKAGE Fpdfdoc::TFPDFAction_GetURIPath FPDFAction_GetURIPath;
extern DELPHI_PACKAGE Fpdfdoc::TFPDFDest_GetDestPageIndex FPDFDest_GetDestPageIndex;
extern DELPHI_PACKAGE Fpdfdoc::TFPDFDest_GetView FPDFDest_GetView;
extern DELPHI_PACKAGE Fpdfdoc::TFPDFDest_GetLocationInPage FPDFDest_GetLocationInPage;
extern DELPHI_PACKAGE Fpdfdoc::TFPDFLink_GetLinkAtPoint FPDFLink_GetLinkAtPoint;
extern DELPHI_PACKAGE Fpdfdoc::TFPDFLink_GetLinkZOrderAtPoint FPDFLink_GetLinkZOrderAtPoint;
extern DELPHI_PACKAGE Fpdfdoc::TFPDFLink_GetDest FPDFLink_GetDest;
extern DELPHI_PACKAGE Fpdfdoc::TFPDFLink_GetAction FPDFLink_GetAction;
extern DELPHI_PACKAGE Fpdfdoc::TFPDFLink_Enumerate FPDFLink_Enumerate;
extern DELPHI_PACKAGE Fpdfdoc::TFPDFLink_GetAnnot FPDFLink_GetAnnot;
extern DELPHI_PACKAGE Fpdfdoc::TFPDFLink_GetAnnotRect FPDFLink_GetAnnotRect;
extern DELPHI_PACKAGE Fpdfdoc::TFPDFLink_CountQuadPoints FPDFLink_CountQuadPoints;
extern DELPHI_PACKAGE Fpdfdoc::TFPDFLink_GetQuadPoints FPDFLink_GetQuadPoints;
extern DELPHI_PACKAGE Fpdfdoc::TFPDF_GetPageAAction FPDF_GetPageAAction;
extern DELPHI_PACKAGE Fpdfdoc::TFPDF_GetFileIdentifier FPDF_GetFileIdentifier;
extern DELPHI_PACKAGE Fpdfdoc::TFPDF_GetMetaText FPDF_GetMetaText;
extern DELPHI_PACKAGE Fpdfdoc::TFPDF_GetPageLabel FPDF_GetPageLabel;
extern DELPHI_PACKAGE Fpdfdataavail::TFPDFAvail_Create FPDFAvail_Create;
extern DELPHI_PACKAGE Fpdfdataavail::TFPDFAvail_Destroy FPDFAvail_Destroy;
extern DELPHI_PACKAGE Fpdfdataavail::TFPDFAvail_IsDocAvail FPDFAvail_IsDocAvail;
extern DELPHI_PACKAGE Fpdfdataavail::TFPDFAvail_GetDocument FPDFAvail_GetDocument;
extern DELPHI_PACKAGE Fpdfdataavail::TFPDFAvail_GetFirstPageNum FPDFAvail_GetFirstPageNum;
extern DELPHI_PACKAGE Fpdfdataavail::TFPDFAvail_IsPageAvail FPDFAvail_IsPageAvail;
extern DELPHI_PACKAGE Fpdfdataavail::TFPDFAvail_IsFormAvail FPDFAvail_IsFormAvail;
extern DELPHI_PACKAGE Fpdfdataavail::TFPDFAvail_IsLinearized FPDFAvail_IsLinearized;
extern DELPHI_PACKAGE Fpdfpageops::TFPDF_RenderPageBitmapWithColorScheme_Start FPDF_RenderPageBitmapWithColorScheme_Start;
extern DELPHI_PACKAGE Fpdfpageops::TFPDF_RenderPageBitmap_Start FPDF_RenderPageBitmap_Start;
extern DELPHI_PACKAGE Fpdfpageops::TFPDF_RenderPage_Continue FPDF_RenderPage_Continue;
extern DELPHI_PACKAGE Fpdfpageops::TFPDF_RenderPage_Close FPDF_RenderPage_Close;
extern DELPHI_PACKAGE Fpdfpageops::TFPDFPage_SetMediaBox FPDFPage_SetMediaBox;
extern DELPHI_PACKAGE Fpdfpageops::TFPDFPage_SetCropBox FPDFPage_SetCropBox;
extern DELPHI_PACKAGE Fpdfpageops::TFPDFPage_SetBleedBox FPDFPage_SetBleedBox;
extern DELPHI_PACKAGE Fpdfpageops::TFPDFPage_SetTrimBox FPDFPage_SetTrimBox;
extern DELPHI_PACKAGE Fpdfpageops::TFPDFPage_SetArtBox FPDFPage_SetArtBox;
extern DELPHI_PACKAGE Fpdfpageops::TFPDFPage_GetMediaBox FPDFPage_GetMediaBox;
extern DELPHI_PACKAGE Fpdfpageops::TFPDFPage_GetCropBox FPDFPage_GetCropBox;
extern DELPHI_PACKAGE Fpdfpageops::TFPDFPage_GetBleedBox FPDFPage_GetBleedBox;
extern DELPHI_PACKAGE Fpdfpageops::TFPDFPage_GetTrimBox FPDFPage_GetTrimBox;
extern DELPHI_PACKAGE Fpdfpageops::TFPDFPage_GetArtBox FPDFPage_GetArtBox;
extern DELPHI_PACKAGE Fpdfpageops::TFPDFPage_TransFormWithClip FPDFPage_TransFormWithClip;
extern DELPHI_PACKAGE Fpdfpageops::TFPDFPageObj_TransformClipPath FPDFPageObj_TransformClipPath;
extern DELPHI_PACKAGE Fpdfpageops::TFPDFPageObj_GetClipPath FPDFPageObj_GetClipPath;
extern DELPHI_PACKAGE Fpdfpageops::TFPDFClipPath_CountPaths FPDFClipPath_CountPaths;
extern DELPHI_PACKAGE Fpdfpageops::TFPDFClipPath_CountPathSegments FPDFClipPath_CountPathSegments;
extern DELPHI_PACKAGE Fpdfpageops::TFPDFClipPath_GetPathSegment FPDFClipPath_GetPathSegment;
extern DELPHI_PACKAGE Fpdfpageops::TFPDF_CreateClipPath FPDF_CreateClipPath;
extern DELPHI_PACKAGE Fpdfpageops::TFPDF_DestroyClipPath FPDF_DestroyClipPath;
extern DELPHI_PACKAGE Fpdfpageops::TFPDFPage_InsertClipPath FPDFPage_InsertClipPath;
extern DELPHI_PACKAGE Fpdfextensions::TFSDK_SetUnSpObjProcessHandler FSDK_SetUnSpObjProcessHandler;
extern DELPHI_PACKAGE Fpdfextensions::TFSDK_SetTimeFunction FSDK_SetTimeFunction;
extern DELPHI_PACKAGE Fpdfextensions::TFSDK_SetLocaltimeFunction FSDK_SetLocaltimeFunction;
extern DELPHI_PACKAGE Fpdfextensions::TFPDFDoc_GetPageMode FPDFDoc_GetPageMode;
extern DELPHI_PACKAGE Fpdfedit::TFPDF_CreateNewDocument FPDF_CreateNewDocument;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPage_New FPDFPage_New;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPage_Delete FPDFPage_Delete;
extern DELPHI_PACKAGE Fpdfedit::TFPDF_MovePages FPDF_MovePages;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPage_GetRotation FPDFPage_GetRotation;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPage_SetRotation FPDFPage_SetRotation;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPage_InsertObject FPDFPage_InsertObject;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPage_RemoveObject FPDFPage_RemoveObject;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPage_CountObjects FPDFPage_CountObjects;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPage_GetObject FPDFPage_GetObject;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPage_HasTransparency FPDFPage_HasTransparency;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPage_GenerateContent FPDFPage_GenerateContent;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_Destroy FPDFPageObj_Destroy;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_HasTransparency FPDFPageObj_HasTransparency;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_GetType FPDFPageObj_GetType;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_Transform FPDFPageObj_Transform;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_TransformF FPDFPageObj_TransformF;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_GetMatrix FPDFPageObj_GetMatrix;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_SetMatrix FPDFPageObj_SetMatrix;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPage_TransformAnnots FPDFPage_TransformAnnots;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_NewImageObj FPDFPageObj_NewImageObj;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_GetMarkedContentID FPDFPageObj_GetMarkedContentID;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_CountMarks FPDFPageObj_CountMarks;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_GetMark FPDFPageObj_GetMark;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_AddMark FPDFPageObj_AddMark;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_RemoveMark FPDFPageObj_RemoveMark;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObjMark_GetName FPDFPageObjMark_GetName;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObjMark_CountParams FPDFPageObjMark_CountParams;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObjMark_GetParamKey FPDFPageObjMark_GetParamKey;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObjMark_GetParamValueType FPDFPageObjMark_GetParamValueType;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObjMark_GetParamIntValue FPDFPageObjMark_GetParamIntValue;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObjMark_GetParamStringValue FPDFPageObjMark_GetParamStringValue;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObjMark_GetParamBlobValue FPDFPageObjMark_GetParamBlobValue;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObjMark_SetIntParam FPDFPageObjMark_SetIntParam;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObjMark_SetStringParam FPDFPageObjMark_SetStringParam;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObjMark_SetBlobParam FPDFPageObjMark_SetBlobParam;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObjMark_RemoveParam FPDFPageObjMark_RemoveParam;
extern DELPHI_PACKAGE Fpdfedit::TFPDFImageObj_LoadJpegFile FPDFImageObj_LoadJpegFile;
extern DELPHI_PACKAGE Fpdfedit::TFPDFImageObj_LoadJpegFileInline FPDFImageObj_LoadJpegFileInline;
extern DELPHI_PACKAGE Fpdfedit::TFPDFImageObj_SetMatrix FPDFImageObj_SetMatrix;
extern DELPHI_PACKAGE Fpdfedit::TFPDFImageObj_SetBitmap FPDFImageObj_SetBitmap;
extern DELPHI_PACKAGE Fpdfedit::TFPDFImageObj_GetBitmap FPDFImageObj_GetBitmap;
extern DELPHI_PACKAGE Fpdfedit::TFPDFImageObj_GetRenderedBitmap FPDFImageObj_GetRenderedBitmap;
extern DELPHI_PACKAGE Fpdfedit::TFPDFImageObj_GetImageDataDecoded FPDFImageObj_GetImageDataDecoded;
extern DELPHI_PACKAGE Fpdfedit::TFPDFImageObj_GetImageDataRaw FPDFImageObj_GetImageDataRaw;
extern DELPHI_PACKAGE Fpdfedit::TFPDFImageObj_GetImageFilterCount FPDFImageObj_GetImageFilterCount;
extern DELPHI_PACKAGE Fpdfedit::TFPDFImageObj_GetImageFilter FPDFImageObj_GetImageFilter;
extern DELPHI_PACKAGE Fpdfedit::TFPDFImageObj_GetImageMetadata FPDFImageObj_GetImageMetadata;
extern DELPHI_PACKAGE Fpdfedit::TFPDFImageObj_GetImagePixelSize FPDFImageObj_GetImagePixelSize;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_CreateNewPath FPDFPageObj_CreateNewPath;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_CreateNewRect FPDFPageObj_CreateNewRect;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_GetBounds FPDFPageObj_GetBounds;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_GetRotatedBounds FPDFPageObj_GetRotatedBounds;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_SetBlendMode FPDFPageObj_SetBlendMode;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_SetStrokeColor FPDFPageObj_SetStrokeColor;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_GetStrokeColor FPDFPageObj_GetStrokeColor;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_SetStrokeWidth FPDFPageObj_SetStrokeWidth;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_GetStrokeWidth FPDFPageObj_GetStrokeWidth;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_GetLineJoin FPDFPageObj_GetLineJoin;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_SetLineJoin FPDFPageObj_SetLineJoin;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_GetLineCap FPDFPageObj_GetLineCap;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_SetLineCap FPDFPageObj_SetLineCap;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_SetFillColor FPDFPageObj_SetFillColor;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_GetFillColor FPDFPageObj_GetFillColor;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_GetDashPhase FPDFPageObj_GetDashPhase;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_SetDashPhase FPDFPageObj_SetDashPhase;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_GetDashCount FPDFPageObj_GetDashCount;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_GetDashArray FPDFPageObj_GetDashArray;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_SetDashArray FPDFPageObj_SetDashArray;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPath_CountSegments FPDFPath_CountSegments;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPath_GetPathSegment FPDFPath_GetPathSegment;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPathSegment_GetPoint FPDFPathSegment_GetPoint;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPathSegment_GetType FPDFPathSegment_GetType;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPathSegment_GetClose FPDFPathSegment_GetClose;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPath_MoveTo FPDFPath_MoveTo;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPath_LineTo FPDFPath_LineTo;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPath_BezierTo FPDFPath_BezierTo;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPath_Close FPDFPath_Close;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPath_SetDrawMode FPDFPath_SetDrawMode;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPath_GetDrawMode FPDFPath_GetDrawMode;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_NewTextObj FPDFPageObj_NewTextObj;
extern DELPHI_PACKAGE Fpdfedit::TFPDFText_SetText FPDFText_SetText;
extern DELPHI_PACKAGE Fpdfedit::TFPDFText_SetCharcodes FPDFText_SetCharcodes;
extern DELPHI_PACKAGE Fpdfedit::TFPDFText_LoadFont FPDFText_LoadFont;
extern DELPHI_PACKAGE Fpdfedit::TFPDFText_LoadStandardFont FPDFText_LoadStandardFont;
extern DELPHI_PACKAGE Fpdfedit::TFPDFText_LoadCidType2Font FPDFText_LoadCidType2Font;
extern DELPHI_PACKAGE Fpdfedit::TFPDFTextObj_GetFontSize FPDFTextObj_GetFontSize;
extern DELPHI_PACKAGE Fpdfedit::TFPDFFont_Close FPDFFont_Close;
extern DELPHI_PACKAGE Fpdfedit::TFPDFPageObj_CreateTextObj FPDFPageObj_CreateTextObj;
extern DELPHI_PACKAGE Fpdfedit::TFPDFTextObj_GetTextRenderMode FPDFTextObj_GetTextRenderMode;
extern DELPHI_PACKAGE Fpdfedit::TFPDFTextObj_SetTextRenderMode FPDFTextObj_SetTextRenderMode;
extern DELPHI_PACKAGE Fpdfedit::TFPDFTextObj_GetText FPDFTextObj_GetText;
extern DELPHI_PACKAGE Fpdfedit::TFPDFTextObj_GetRenderedBitmap FPDFTextObj_GetRenderedBitmap;
extern DELPHI_PACKAGE Fpdfedit::TFPDFTextObj_GetFont FPDFTextObj_GetFont;
extern DELPHI_PACKAGE Fpdfedit::TFPDFFont_GetFamilyName FPDFFont_GetFamilyName;
extern DELPHI_PACKAGE Fpdfedit::TFPDFFont_GetFontData FPDFFont_GetFontData;
extern DELPHI_PACKAGE Fpdfedit::TFPDFFont_GetIsEmbedded FPDFFont_GetIsEmbedded;
extern DELPHI_PACKAGE Fpdfedit::TFPDFFont_GetFlags FPDFFont_GetFlags;
extern DELPHI_PACKAGE Fpdfedit::TFPDFFont_GetWeight FPDFFont_GetWeight;
extern DELPHI_PACKAGE Fpdfedit::TFPDFFont_GetItalicAngle FPDFFont_GetItalicAngle;
extern DELPHI_PACKAGE Fpdfedit::TFPDFFont_GetAscent FPDFFont_GetAscent;
extern DELPHI_PACKAGE Fpdfedit::TFPDFFont_GetDescent FPDFFont_GetDescent;
extern DELPHI_PACKAGE Fpdfedit::TFPDFFont_GetGlyphWidth FPDFFont_GetGlyphWidth;
extern DELPHI_PACKAGE Fpdfedit::TFPDFFont_GetGlyphPath FPDFFont_GetGlyphPath;
extern DELPHI_PACKAGE Fpdfedit::TFPDFGlyphPath_CountGlyphSegments FPDFGlyphPath_CountGlyphSegments;
extern DELPHI_PACKAGE Fpdfedit::TFPDFGlyphPath_GetGlyphPathSegment FPDFGlyphPath_GetGlyphPathSegment;
extern DELPHI_PACKAGE Fpdfedit::TFPDFFormObj_CountObjects FPDFFormObj_CountObjects;
extern DELPHI_PACKAGE Fpdfedit::TFPDFFormObj_GetObject FPDFFormObj_GetObject;
extern DELPHI_PACKAGE Fpdfformfill::TFPDFDOC_InitFormFillEnvironment FPDFDOC_InitFormFillEnvironment;
extern DELPHI_PACKAGE Fpdfformfill::TFPDFDOC_ExitFormFillEnvironment FPDFDOC_ExitFormFillEnvironment;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_OnAfterLoadPage FORM_OnAfterLoadPage;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_OnBeforeClosePage FORM_OnBeforeClosePage;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_DoDocumentJSAction FORM_DoDocumentJSAction;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_DoDocumentOpenAction FORM_DoDocumentOpenAction;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_DoDocumentAAction FORM_DoDocumentAAction;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_DoPageAAction FORM_DoPageAAction;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_OnMouseMove FORM_OnMouseMove;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_OnMouseWheel FORM_OnMouseWheel;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_OnFocus FORM_OnFocus;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_OnLButtonDown FORM_OnLButtonDown;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_OnRButtonDown FORM_OnRButtonDown;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_OnLButtonUp FORM_OnLButtonUp;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_OnRButtonUp FORM_OnRButtonUp;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_OnLButtonDoubleClick FORM_OnLButtonDoubleClick;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_OnKeyDown FORM_OnKeyDown;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_OnKeyUp FORM_OnKeyUp;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_OnChar FORM_OnChar;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_GetFocusedText FORM_GetFocusedText;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_GetSelectedText FORM_GetSelectedText;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_ReplaceAndKeepSelection FORM_ReplaceAndKeepSelection;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_ReplaceSelection FORM_ReplaceSelection;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_CanUndo FORM_CanUndo;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_CanRedo FORM_CanRedo;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_Undo FORM_Undo;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_Redo FORM_Redo;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_ForceToKillFocus FORM_ForceToKillFocus;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_GetFocusedAnnot FORM_GetFocusedAnnot;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_SetFocusedAnnot FORM_SetFocusedAnnot;
extern DELPHI_PACKAGE Fpdfformfill::TFPDFPage_HasFormFieldAtPoint FPDFPage_HasFormFieldAtPoint;
extern DELPHI_PACKAGE Fpdfformfill::TFPDFPage_FormFieldZOrderAtPoint FPDFPage_FormFieldZOrderAtPoint;
extern DELPHI_PACKAGE Fpdfformfill::TFPDF_SetFormFieldHighlightColor FPDF_SetFormFieldHighlightColor;
extern DELPHI_PACKAGE Fpdfformfill::TFPDF_SetFormFieldHighlightAlpha FPDF_SetFormFieldHighlightAlpha;
extern DELPHI_PACKAGE Fpdfformfill::TFPDF_RemoveFormFieldHighlight FPDF_RemoveFormFieldHighlight;
extern DELPHI_PACKAGE Fpdfformfill::TFPDF_FFLDraw FPDF_FFLDraw;
extern DELPHI_PACKAGE Fpdfformfill::TFPDF_GetFormType FPDF_GetFormType;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_SetIndexSelected FORM_SetIndexSelected;
extern DELPHI_PACKAGE Fpdfformfill::TFORM_IsIndexSelected FORM_IsIndexSelected;
extern DELPHI_PACKAGE Fpdfformfill::TFPDF_LoadXFA FPDF_LoadXFA;
extern DELPHI_PACKAGE Fpdfutils::TFPDFText_GetCharIndexFromTextIndex FPDFText_GetCharIndexFromTextIndex;
extern DELPHI_PACKAGE Fpdfutils::TFPDFText_GetTextIndexFromCharIndex FPDFText_GetTextIndexFromCharIndex;
extern DELPHI_PACKAGE Fpdfutils::TFPDFPage_Flatten FPDFPage_Flatten;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructTree_GetForPage FPDF_StructTree_GetForPage;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructTree_Close FPDF_StructTree_Close;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructTree_CountChildren FPDF_StructTree_CountChildren;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructTree_GetChildAtIndex FPDF_StructTree_GetChildAtIndex;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_GetAltText FPDF_StructElement_GetAltText;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_GetActualText FPDF_StructElement_GetActualText;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_GetID FPDF_StructElement_GetID;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_GetLang FPDF_StructElement_GetLang;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_GetStringAttribute FPDF_StructElement_GetStringAttribute;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_GetMarkedContentID FPDF_StructElement_GetMarkedContentID;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_GetType FPDF_StructElement_GetType;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_GetObjType FPDF_StructElement_GetObjType;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_GetTitle FPDF_StructElement_GetTitle;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_CountChildren FPDF_StructElement_CountChildren;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_GetChildAtIndex FPDF_StructElement_GetChildAtIndex;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_GetChildMarkedContentID FPDF_StructElement_GetChildMarkedContentID;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_GetParent FPDF_StructElement_GetParent;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_GetAttributeCount FPDF_StructElement_GetAttributeCount;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_GetAttributeAtIndex FPDF_StructElement_GetAttributeAtIndex;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_Attr_GetCount FPDF_StructElement_Attr_GetCount;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_Attr_GetName FPDF_StructElement_Attr_GetName;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_Attr_GetValue FPDF_StructElement_Attr_GetValue;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_Attr_GetType FPDF_StructElement_Attr_GetType;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_Attr_GetBooleanValue FPDF_StructElement_Attr_GetBooleanValue;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_Attr_GetNumberValue FPDF_StructElement_Attr_GetNumberValue;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_Attr_GetStringValue FPDF_StructElement_Attr_GetStringValue;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_Attr_GetBlobValue FPDF_StructElement_Attr_GetBlobValue;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_GetMarkedContentIdCount FPDF_StructElement_GetMarkedContentIdCount;
extern DELPHI_PACKAGE Fpdfstructtree::TFPDF_StructElement_GetMarkedContentIdAtIndex FPDF_StructElement_GetMarkedContentIdAtIndex;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_IsSupportedSubtype FPDFAnnot_IsSupportedSubtype;
extern DELPHI_PACKAGE Fpdfannot::TFPDFPage_CreateAnnot FPDFPage_CreateAnnot;
extern DELPHI_PACKAGE Fpdfannot::TFPDFPage_GetAnnotCount FPDFPage_GetAnnotCount;
extern DELPHI_PACKAGE Fpdfannot::TFPDFPage_GetAnnot FPDFPage_GetAnnot;
extern DELPHI_PACKAGE Fpdfannot::TFPDFPage_GetAnnotIndex FPDFPage_GetAnnotIndex;
extern DELPHI_PACKAGE Fpdfannot::TFPDFPage_CloseAnnot FPDFPage_CloseAnnot;
extern DELPHI_PACKAGE Fpdfannot::TFPDFPage_RemoveAnnot FPDFPage_RemoveAnnot;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetSubtype FPDFAnnot_GetSubtype;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_IsObjectSupportedSubtype FPDFAnnot_IsObjectSupportedSubtype;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_UpdateObject FPDFAnnot_UpdateObject;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_AddInkStroke FPDFAnnot_AddInkStroke;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_RemoveInkList FPDFAnnot_RemoveInkList;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_AppendObject FPDFAnnot_AppendObject;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetObjectCount FPDFAnnot_GetObjectCount;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetObject FPDFAnnot_GetObject;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_RemoveObject FPDFAnnot_RemoveObject;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_SetColor FPDFAnnot_SetColor;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetColor FPDFAnnot_GetColor;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_HasAttachmentPoints FPDFAnnot_HasAttachmentPoints;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_SetAttachmentPoints FPDFAnnot_SetAttachmentPoints;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_AppendAttachmentPoints FPDFAnnot_AppendAttachmentPoints;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_CountAttachmentPoints FPDFAnnot_CountAttachmentPoints;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetAttachmentPoints FPDFAnnot_GetAttachmentPoints;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_SetRect FPDFAnnot_SetRect;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetRect FPDFAnnot_GetRect;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetVertices FPDFAnnot_GetVertices;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetInkListCount FPDFAnnot_GetInkListCount;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetInkListPath FPDFAnnot_GetInkListPath;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetLine FPDFAnnot_GetLine;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_SetBorder FPDFAnnot_SetBorder;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetBorder FPDFAnnot_GetBorder;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetFormAdditionalActionJavaScript FPDFAnnot_GetFormAdditionalActionJavaScript;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_HasKey FPDFAnnot_HasKey;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetValueType FPDFAnnot_GetValueType;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_SetStringValue FPDFAnnot_SetStringValue;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetStringValue FPDFAnnot_GetStringValue;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetNumberValue FPDFAnnot_GetNumberValue;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_SetAP FPDFAnnot_SetAP;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetAP FPDFAnnot_GetAP;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetLinkedAnnot FPDFAnnot_GetLinkedAnnot;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetFlags FPDFAnnot_GetFlags;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_SetFlags FPDFAnnot_SetFlags;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetFormFieldFlags FPDFAnnot_GetFormFieldFlags;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetFormFieldAtPoint FPDFAnnot_GetFormFieldAtPoint;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetFormFieldName FPDFAnnot_GetFormFieldName;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetFormFieldAlternateName FPDFAnnot_GetFormFieldAlternateName;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetFormFieldType FPDFAnnot_GetFormFieldType;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetFormFieldValue FPDFAnnot_GetFormFieldValue;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetOptionCount FPDFAnnot_GetOptionCount;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetOptionLabel FPDFAnnot_GetOptionLabel;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_IsOptionSelected FPDFAnnot_IsOptionSelected;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetFontSize FPDFAnnot_GetFontSize;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetFontColor FPDFAnnot_GetFontColor;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_IsChecked FPDFAnnot_IsChecked;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_SetFocusableSubtypes FPDFAnnot_SetFocusableSubtypes;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetFocusableSubtypesCount FPDFAnnot_GetFocusableSubtypesCount;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetFocusableSubtypes FPDFAnnot_GetFocusableSubtypes;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetLink FPDFAnnot_GetLink;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetFormControlCount FPDFAnnot_GetFormControlCount;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetFormControlIndex FPDFAnnot_GetFormControlIndex;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetFormFieldExportValue FPDFAnnot_GetFormFieldExportValue;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_SetURI FPDFAnnot_SetURI;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_GetFileAttachment FPDFAnnot_GetFileAttachment;
extern DELPHI_PACKAGE Fpdfannot::TFPDFAnnot_AddFileAttachment FPDFAnnot_AddFileAttachment;
extern DELPHI_PACKAGE Fpdfattachment::TFPDFDoc_GetAttachmentCount FPDFDoc_GetAttachmentCount;
extern DELPHI_PACKAGE Fpdfattachment::TFPDFDoc_AddAttachment FPDFDoc_AddAttachment;
extern DELPHI_PACKAGE Fpdfattachment::TFPDFDoc_GetAttachment FPDFDoc_GetAttachment;
extern DELPHI_PACKAGE Fpdfattachment::TFPDFDoc_DeleteAttachment FPDFDoc_DeleteAttachment;
extern DELPHI_PACKAGE Fpdfattachment::TFPDFAttachment_GetName FPDFAttachment_GetName;
extern DELPHI_PACKAGE Fpdfattachment::TFPDFAttachment_HasKey FPDFAttachment_HasKey;
extern DELPHI_PACKAGE Fpdfattachment::TFPDFAttachment_GetValueType FPDFAttachment_GetValueType;
extern DELPHI_PACKAGE Fpdfattachment::TFPDFAttachment_SetStringValue FPDFAttachment_SetStringValue;
extern DELPHI_PACKAGE Fpdfattachment::TFPDFAttachment_GetStringValue FPDFAttachment_GetStringValue;
extern DELPHI_PACKAGE Fpdfattachment::TFPDFAttachment_SetFile FPDFAttachment_SetFile;
extern DELPHI_PACKAGE Fpdfattachment::TFPDFAttachment_GetFile FPDFAttachment_GetFile;
extern DELPHI_PACKAGE Fpdfutils::TFPDFCatalog_IsTagged FPDFCatalog_IsTagged;
extern DELPHI_PACKAGE Fpdfutils::TFPDFPage_GetDecodedThumbnailData FPDFPage_GetDecodedThumbnailData;
extern DELPHI_PACKAGE Fpdfutils::TFPDFPage_GetRawThumbnailData FPDFPage_GetRawThumbnailData;
extern DELPHI_PACKAGE Fpdfutils::TFPDFPage_GetThumbnailAsBitmap FPDFPage_GetThumbnailAsBitmap;
extern DELPHI_PACKAGE Fpdfsignature::TFPDF_GetSignatureCount FPDF_GetSignatureCount;
extern DELPHI_PACKAGE Fpdfsignature::TFPDF_GetSignatureObject FPDF_GetSignatureObject;
extern DELPHI_PACKAGE Fpdfsignature::TFPDFSignatureObj_GetContents FPDFSignatureObj_GetContents;
extern DELPHI_PACKAGE Fpdfsignature::TFPDFSignatureObj_GetByteRange FPDFSignatureObj_GetByteRange;
extern DELPHI_PACKAGE Fpdfsignature::TFPDFSignatureObj_GetSubFilter FPDFSignatureObj_GetSubFilter;
extern DELPHI_PACKAGE Fpdfsignature::TFPDFSignatureObj_GetReason FPDFSignatureObj_GetReason;
extern DELPHI_PACKAGE Fpdfsignature::TFPDFSignatureObj_GetTime FPDFSignatureObj_GetTime;
extern DELPHI_PACKAGE Fpdfsignature::TFPDFSignatureObj_GetDocMDPPermission FPDFSignatureObj_GetDocMDPPermission;
extern DELPHI_PACKAGE System::UnicodeString __fastcall GetApplicationPath(void);
extern DELPHI_PACKAGE bool __fastcall IsWin64(void);
extern DELPHI_PACKAGE System::UnicodeString __fastcall BuildDllName(bool UseV8);
extern DELPHI_PACKAGE System::UnicodeString __fastcall FindDllInPath(const System::UnicodeString DllName, const System::UnicodeString SearchPath);
extern DELPHI_PACKAGE System::UnicodeString __fastcall LoadPDFiumDll(void);
extern DELPHI_PACKAGE double __fastcall PointsToInches(double Points);
extern DELPHI_PACKAGE double __fastcall PointsToPixels(double Points, double PixelsPerInch);
extern DELPHI_PACKAGE double __fastcall PixelsToInches(double Pixels, double PixelsPerInch);
extern DELPHI_PACKAGE double __fastcall PixelsToPoints(double Pixels, double PixelsPerInch);
extern DELPHI_PACKAGE bool __fastcall DecodeDate(const System::UnicodeString Value, /* out */ System::TDateTime &DateTime, /* out */ int &DateTimeOffset);
extern DELPHI_PACKAGE bool __fastcall Loaded(void);
extern DELPHI_PACKAGE void __fastcall UnloadLibrary(void);
extern DELPHI_PACKAGE void __fastcall LoadLibrary(void);
}	/* namespace Pdfium */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_PDFIUM)
using namespace Pdfium;
#endif
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// PDFiumHPP
