PPreViewClient.mesa
Copyright Ó 1989, 1992 by Xerox Corporation. All rights reserved.
Pier, August 17, 1989 12:30:52 pm PDT
PPreViewClient:
CEDAR DEFINITIONS =
BEGIN
SwitchRange: TYPE = CHAR['A..'Z];
Switches: TYPE = PACKED ARRAY SwitchRange OF BOOLEAN;
NameList:
TYPE =
LIST
OF Rope.
ROPE;
WhichFileType:
PROC [fileName: Rope.
ROPE, mustBe: PPreView.FileType]
RETURNS [PPreView.FileInfo];
Return information regarding the named file.
CreatePreViewer:
PROC [
fileNames: NameList,
switches: Switches,
xSize, ySize: REAL,
mustBe: PPreView.FileType ¬ ip]
RETURNS [preViewer: ViewerClasses.Viewer];
Return a container that includes all Viewers and BiScrollers necessary for PreView operation.
CreatePreViewerFromData:
PROC [data: PPreView.Data, versionSpecified:
BOOL]
RETURNS [ViewerClasses.Viewer];
Return a container that includes all Viewers and BiScrollers necessary for PreView operation.
GetTransformation:
PROC [v: ViewerClasses.Viewer]
RETURNS [Imager.Transformation];
Return the transformation associated with the viewer.
GetTransformedRect:
PROC [data: PPreView.Data,
v:
ViewerClasses.Viewer]
RETURNS [Imager.Rectangle];
Returned the transformed BiScroller rectangle.
ShowSelection:
PROC [data: PPreView.Data, v: ViewerClasses.Viewer];
Show the current selection in the message window and the Preview control area.