/*
//
//   ADOBE SYSTEMS INCORPORATED
//   Copyright (C) 2000-2003 Adobe Systems Incorporated
//   All rights reserved.
//
//   NOTICE: Adobe permits you to use, modify, and distribute this file
//   in accordance with the terms of the Adobe license agreement
//   accompanying it. If you have received this file from a source other
//   than Adobe, then your use, modification, or distribution of it
//   requires the prior written permission of Adobe.
//
*/

#ifndef _Peddler_h_
#define _Peddler_h_

#include "keyList.h"

using namespace  std;

class  Peddler  {
public :
                Peddler();

                ~Peddler();
               
                Peddler( const   string  &pdfFile,  const   string  &URIFile);

                void   SetPDFFile( const   string  &pdfFile);

                void   SetURIFile( const   string  &uriFile);
                void   MakeURIs( const   string  &outputPDFFile);
               
private : 
                static  ACCB1  ASBool   ACCB2   TEWordProc(  PDWordFinder  wObj,  PDWord  wInfo,  Int32    pageNum,  void  *clientData);

                PDDoc   theDoc;
                keyList  *  theKeyList;
                string   fPDFFileName;
                string   fURIFileName;       
                PDPage   pdPage;
};

#endif // _Peddler_h_