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

// (DO NOT EDIT: machine generated header) 'Fpdfdoc.pas' rev: 21.00

#ifndef FpdfdocHPP
#define FpdfdocHPP

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

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

namespace Fpdfdoc
{
//-- type declarations -------------------------------------------------------
#pragma option push -b
enum FPDF_FILEIDTYPE { FILEIDTYPE_PERMANENT, FILEIDTYPE_CHANGING };
#pragma option pop

typedef void * __cdecl (*TFPDFBookmark_GetFirstChild)(void * document, void * bookmark);

typedef void * __cdecl (*TFPDFBookmark_GetNextSibling)(void * document, void * bookmark);

typedef unsigned __cdecl (*TFPDFBookmark_GetTitle)(void * bookmark, void * buffer, unsigned buflen);

typedef int __cdecl (*TFPDFBookmark_GetCount)(void * bookmark);

typedef void * __cdecl (*TFPDFBookmark_Find)(void * document, System::WideChar * title);

typedef void * __cdecl (*TFPDFBookmark_GetDest)(void * document, void * bookmark);

typedef void * __cdecl (*TFPDFBookmark_GetAction)(void * bookmark);

typedef unsigned __cdecl (*TFPDFAction_GetType)(void * action);

typedef void * __cdecl (*TFPDFAction_GetDest)(void * document, void * action);

typedef unsigned __cdecl (*TPDFAction_GetFilePath)(void * action, void * buffer, unsigned buflen);

typedef unsigned __cdecl (*TFPDFAction_GetURIPath)(void * document, void * action, void * buffer, unsigned buflen);

typedef int __cdecl (*TFPDFDest_GetDestPageIndex)(void * document, void * dest);

typedef unsigned __cdecl (*TFPDFDest_GetView)(void * dest, unsigned &pNumParams, float &pParams);

typedef int __cdecl (*TFPDFDest_GetLocationInPage)(void * dest, int &hasXVal, int &hasYVal, int &hasZoomVal, float &x, float &y, float &zoom);

typedef void * __cdecl (*TFPDFLink_GetLinkAtPoint)(void * page, double x, double y);

typedef int __cdecl (*TFPDFLink_GetLinkZOrderAtPoint)(void * page, double x, double y);

typedef void * __cdecl (*TFPDFLink_GetDest)(void * document, void * link);

typedef void * __cdecl (*TFPDFLink_GetAction)(void * link);

typedef int __cdecl (*TFPDFLink_Enumerate)(void * page, int &start_pos, void * &link_annot);

typedef void * __cdecl (*TFPDFLink_GetAnnot)(void * page, void * link_annot);

typedef int __cdecl (*TFPDFLink_GetAnnotRect)(void * link_annot, Fpdfview::FS_RECTF &rect);

typedef int __cdecl (*TFPDFLink_CountQuadPoints)(void * link_annot);

typedef int __cdecl (*TFPDFLink_GetQuadPoints)(void * link_annot, int quad_index, Fpdfview::FS_QUADPOINTSF &quad_points);

typedef void * __cdecl (*TFPDF_GetPageAAction)(void * page, int aa_type);

typedef unsigned __cdecl (*TFPDF_GetFileIdentifier)(void * document, FPDF_FILEIDTYPE id_type, void * buffer, unsigned buflen);

typedef unsigned __cdecl (*TFPDF_GetMetaText)(void * document, char * tag, void * buffer, unsigned buflen);

typedef unsigned __cdecl (*TFPDF_GetPageLabel)(void * document, int page_index, void * buffer, unsigned buflen);

//-- var, const, procedure ---------------------------------------------------
static const ShortInt PDFACTION_UNSUPPORTED = 0x0;
static const ShortInt PDFACTION_GOTO = 0x1;
static const ShortInt PDFACTION_REMOTEGOTO = 0x2;
static const ShortInt PDFACTION_URI = 0x3;
static const ShortInt PDFACTION_LAUNCH = 0x4;
static const ShortInt PDFACTION_EMBEDDEDGOTO = 0x5;
static const ShortInt PDFDEST_VIEW_UNKNOWN_MODE = 0x0;
static const ShortInt PDFDEST_VIEW_XYZ = 0x1;
static const ShortInt PDFDEST_VIEW_FIT = 0x2;
static const ShortInt PDFDEST_VIEW_FITH = 0x3;
static const ShortInt PDFDEST_VIEW_FITV = 0x4;
static const ShortInt PDFDEST_VIEW_FITR = 0x5;
static const ShortInt PDFDEST_VIEW_FITB = 0x6;
static const ShortInt PDFDEST_VIEW_FITBH = 0x7;
static const ShortInt PDFDEST_VIEW_FITBV = 0x8;

}	/* namespace Fpdfdoc */
using namespace Fpdfdoc;
#pragma pack(pop)
#pragma option pop

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