C H A P T E R 2 1
Routing Interface
Summary of the Routing Interface
21-39
TextScript:
function
,
// gets text data
TargetSize:
function
,
// determines target size
MakeBodyAlias:
function
, // makes an alias
ResolveBody:
function
,
// resolves alias body slot
// for protoPrintFormat variant only
dataTypes: ['view], // print formats support view data
usesCursors:
Boolean
, // handles multiple items on a page?
orientation:
symbol
,
// 'portrait or 'orientation
margins:
boundsFrame
,
// inset from edges
pageWidth:
integer
,
// width of view
pageHeight:
integer
,
// height of view
ViewSetupChildrenScript:
function
, // set up the children
PrintNextPageScript:
function
,
// for multiple pages
GetCursorFormat:
function
, //returns format for next item
FormatInitScript:
function
,
// initialization
CountPages:
function
,
// counts pages for a fax
...
}
Functions and Methods
21
Send-Related Functions and Methods
21
Send(
transportSym
,
item
)
GetRouteFormats(
item
)
GetFormatTransports(
formatArray
,
target
)
app
:GetDefaultFormat(
transportSym
,
target
)
app
:SetDefaultFormat(
transportSym
,
target
,
formatSym
)
OpenRoutingSlip(
item
,
targetInfo
)
Cursor-Related Functions
21
CreateTargetCursor(
class
,
dataArray
)
GetTargetCursor(
target
,
param2
)
TargetIsCursor(
target
)
Utility Functions and Methods
21
AppInstalled(
appSymbol
)
ClassAppByClass(
dataClass
)
app
:GetActiveView()