2016

Table Of Contents
To link to this Page hyperlink, use something like this:
<RICHTEXT HLTYPE="PAGE" HYPERLINKREF="Page 2" >Page2</RICHTEXT>
You can use a Page hyperlink without creating it at the <PROJECT> level, but this is
not the preferred method.
Using the Streaming Document Provider
The Streaming Document Provider feature allows all of the assets required for a
transaction to be provided as part of a multi-part HTTP request. Assets that can be
streamed include:
QuarkXPress templates.
Picture files used in the template.
Modifier XML.
Picture and text files used in the Modifier XML.
Assets used by digital publishing enrichments.
The Streaming Document Provider feature also supports keepdocopen requests.
QuarkXPress Server searches for assets used in a call in the following order:
1
In the HTTP request.
2
At the supplied file path (if specified).
3
In the document pool.
If QuarkXPress Server does not find the required assets at any of these locations:
If the image is being changed by the request, a "File not found" error occurs.
If the image is not being changed by the request, it renders at preview resolution.
To use this feature, include a part in the HTTP request that has the same name as the
asset to be streamed. For example:
<html>
<body>
<form enctype="multipart/form-data"
action="http://localhost:8082/pdf/pic.qxp" method="post">
<input type="file" name="picture.jpg"/><br/>
<input type="file" name="pic.qxp"/><br/>
<input type="hidden" name="modify" value="<PROJECT><LAYOUT>
<ID UID=111/><BOX><ID NAME='picbox'/><CONTENT>picture.jpg
</CONTENT></BOX></LAYOUT></ PROJECT>"/>
<input type="submit"/>
</form>
</body>
</html>
Using administrative request handlers
Administrative request handlers let you change the behavior of QuarkXPress Server. The
built-in administrative request handlers are described in the topics below
You can add your own request handlers. During the DDSSETUPCBCODE callback,
QuarkXPress Server XTensions software registers itself as a request handler via
AddCustomRequestHandler, using the QuarkXPress Server XTensions API. The first
146 | A GUIDE TO QUARKXPRESS SERVER 2016
USING QUARKXPRESS SERVER