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

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

#ifndef FpdfutilsHPP
#define FpdfutilsHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member 
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <FPdfView.hpp>	// Pascal unit

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

namespace Fpdfutils
{
//-- type declarations -------------------------------------------------------
typedef int __cdecl (*TFPDFCatalog_IsTagged)(void * document);

typedef int __cdecl (*TFPDFText_GetCharIndexFromTextIndex)(void * text_page, int nTextIndex);

typedef int __cdecl (*TFPDFText_GetTextIndexFromCharIndex)(void * text_page, int nCharIndex);

typedef int __cdecl (*TFPDFPage_Flatten)(void * page, int nFlag);

typedef unsigned __cdecl (*TFPDFPage_GetDecodedThumbnailData)(void * page, void * buffer, unsigned buflen);

typedef unsigned __cdecl (*TFPDFPage_GetRawThumbnailData)(void * page, void * buffer, unsigned buflen);

typedef void * __cdecl (*TFPDFPage_GetThumbnailAsBitmap)(void * page);

//-- var, const, procedure ---------------------------------------------------
static const System::Int8 FLATTEN_FAIL = System::Int8(0x0);
static const System::Int8 FLATTEN_SUCCESS = System::Int8(0x1);
static const System::Int8 FLATTEN_NOTHINGTODO = System::Int8(0x2);
static const System::Int8 FLAT_NORMALDISPLAY = System::Int8(0x0);
static 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
