//
// XPDFCore.h
//
-// Copyright 2002 Glyph & Cog, LLC
+// Copyright 2002-2003 Glyph & Cog, LLC
//
//========================================================================
class GString;
class GList;
+class BaseStream;
class PDFDoc;
class LinkAction;
class LinkDest;
double xMin, yMin, xMax, yMax;
Gulong color;
Gulong selectColor;
+ GBool selectable;
};
//------------------------------------------------------------------------
int loadFile(GString *fileName, GString *ownerPassword = NULL,
GString *userPassword = NULL);
+ // Load a new file, via a Stream instead of a file name. Returns
+ // pdfOk or error code.
+ int loadFile(BaseStream *stream, GString *ownerPassword = NULL,
+ GString *userPassword = NULL);
+
// Resize the window to fit page <pg> of the current document.
void resizeToPage(int pg);
GBool lastDragTop; // last dragged selection edge was top/bottom
static GString *currentSelection; // selected text
static XPDFCore *currentSelectionOwner;
+ static Atom targetsAtom;
GBool panning;
int panMX, panMY;