/*
//
//   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 _TextExtractWorker_h_
#define _TextExtractWorker_h_
#include   "MyPDFLibUtils.h"
#include "SDKThreads.h"

ThreadFuncReturnType   GetWords(ThreadArgs  *pArgs);

ACCB1  ASBool   ACCB2   WordEnumProc(PDWordFinder  wfObj,  PDWord  pdWord,  ASInt32  pgNum,  void * clientData);

void   ExtractDocText(PDDoc  pdDoc,  ASFile  outFile);

bool   ExtractText(PDDoc  pdDoc,  ASInt32  startPg,  ASInt32  endPg, 
                                                                  ASBool  toUnicode,  PDWordFinderConfig  pConfig,  ASFile  outFile);

#endif //_TextExtractWorker_h_