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

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

#ifndef FPdfUtilsHPP
#define FPdfUtilsHPP

#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 <FPdfView.hpp>

//-- user supplied -----------------------------------------------------------

namespace Fpdfutils
{
//-- forward type declarations -----------------------------------------------
//-- type declarations -------------------------------------------------------
typedef Fpdfview::FPDF_BOOL __cdecl (*TFPDFCatalog_IsTagged)(Fpdfview::FPDF_DOCUMENT document);

typedef int __cdecl (*TFPDFText_GetCharIndexFromTextIndex)(Fpdfview::FPDF_TEXTPAGE text_page, int nTextIndex);

typedef int __cdecl (*TFPDFText_GetTextIndexFromCharIndex)(Fpdfview::FPDF_TEXTPAGE text_page, int nCharIndex);

typedef int __cdecl (*TFPDFPage_Flatten)(Fpdfview::FPDF_PAGE page, int nFlag);

typedef System::LongWord __cdecl (*TFPDFPage_GetDecodedThumbnailData)(Fpdfview::FPDF_PAGE page, void * buffer, System::LongWord buflen);

typedef System::LongWord __cdecl (*TFPDFPage_GetRawThumbnailData)(Fpdfview::FPDF_PAGE page, void * buffer, System::LongWord buflen);

typedef Fpdfview::FPDF_BITMAP __cdecl (*TFPDFPage_GetThumbnailAsBitmap)(Fpdfview::FPDF_PAGE page);

//-- var, const, procedure ---------------------------------------------------
static _DELPHI_CONST System::Int8 FLATTEN_FAIL = System::Int8(0x0);
static _DELPHI_CONST System::Int8 FLATTEN_SUCCESS = System::Int8(0x1);
static _DELPHI_CONST System::Int8 FLATTEN_NOTHINGTODO = System::Int8(0x2);
static _DELPHI_CONST System::Int8 FLAT_NORMALDISPLAY = System::Int8(0x0);
static _DELPHI_CONST System::Int8 FLAT_PRINT = System::Int8(0x1);
}	/* namespace Fpdfutils */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_FPDFUTILS)
using namespace Fpdfutils;
#endif
#pragma pack(pop)
#pragma option pop

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