mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 19:26:16 +00:00
* sumatrapdf - vendor import * everything compiles (libjpeg, poppler, fitz, sumatrapdf) * does NOT link (remove the comment tags in the parent directory.rbuild file (rosapps dir) to build it) svn path=/trunk/; revision=29295
31 lines
879 B
C++
31 lines
879 B
C++
/* Copyright Krzysztof Kowalczyk 2006-2007
|
|
License: GPLv2 */
|
|
#ifndef _DISPLAY_MODEL_FITZ_H_
|
|
#define _DISPLAY_MODEL_FITZ_H_
|
|
|
|
#include "DisplayModel.h"
|
|
|
|
class DisplayModelFitz : public DisplayModel
|
|
{
|
|
public:
|
|
DisplayModelFitz(DisplayMode displayMode);
|
|
virtual ~DisplayModelFitz();
|
|
|
|
PdfEngineFitz * pdfEngineFitz(void) { return (PdfEngineFitz*)_pdfEngine; }
|
|
virtual void handleLink(PdfLink *pdfLink);
|
|
|
|
virtual int getTextInRegion(int pageNo, RectD *region, unsigned short *buf, int buflen);
|
|
|
|
virtual void cvtUserToScreen(int pageNo, double *x, double *y);
|
|
virtual void cvtScreenToUser(int *pageNo ,double *x, double *y);
|
|
};
|
|
|
|
DisplayModelFitz *DisplayModelFitz_CreateFromFileName(
|
|
const char *fileName,
|
|
SizeD totalDrawAreaSize,
|
|
int scrollbarXDy, int scrollbarYDx,
|
|
DisplayMode displayMode, int startPage,
|
|
WindowInfo *win);
|
|
|
|
#endif
|