8.0

Table Of Contents
box
Returns a single box.
Parameters
box
string
Returns a single box.
overlap
string
Specifies whether to show the area
overlapped by the specified box.
Response
Single box
Alerts
There is no box
with the specified
identifier.
HTTP Error #500
This alert is displayed when you request a box that does
not exist.
What to do: Check the box name or box ID in the
document and enter a correct box request.
Cannot render
box. The box must
be within the page
boundaries.
HTTP Error #500
This alert is displayed when you request a box that is
placed outside the page boundary.
What to do: You cannot render a box that is placed
outside the page boundary.
The renderer for
this image type has
no way of
rendering the
desired objects.
HTTP Error #406
This alert is displayed when you give the box parameter
with the EPS, PDF, and qxpdoc render type.
What to do: Do not use the box parameter with the EPS,
PDF, and qxpdoc render types. They do not support the
box parameter.
Logs
If the project is successfully rendered, a transaction success message is written
to the QuarkXPress Server Transaction Log file. The transaction entry consists
of the date and time of the request, render type, project name, type of
response produced by server, size of response returned in bytes, and client IP
address.
The following is a sample of a transaction entry:
8/3/2004 15:04:35 - sample.qxp - Type: image/jpeg - Size: 4366 - Client:
127.0.0.1
If an alert is displayed, an error message is written to the QuarkXPress Server
error log file. The transaction entry in the error log contains the date and time
of the request, the error code, and the error message.
The following is a sample of an error log transaction entry:
8/3/2004 15:00:33 - Error - Error Code: 10006 - There is no box with the
specified identifier.
Example GET
URL
http://localhost:8080/png/sample.qxp?box=pictbox
Notes
To render a box placed in other layouts
The following is a URL to render a box placed in a layout other than
layout 1:
http://localhost:8080/png/sample.qxp?layout=2&page=3&box=textbo
Page 99