8.0
Table Of Contents
- Overview
- New and enhanced features
- Getting started
- Functions
- Function overview
- Render types
- Content modifiers
- Render modifiers
- XML modify
- XML deconstruct and construct
- About XML deconstruct/construct
- xml
- construct
- Deconstructing a project
- Constructing a project
- Working with pages and spreads
- Working with layers
- Working with boxes
- Working with pictures
- Working with text
- Working with tables
- Working with Composition Zones
- Using server XSLT
- Working with lists
- Working with anchored boxes
- Working with placeholders
- Working with metadata
- Working with hidden text
- Administrative Request handlers
- The Modifier DTD
- Sample applications
- Contact Quark
- Legal notice
layout
Renders the specified layout in the project.
Parameters
layout
string
Specifies the layout name or number to
render. Layout numbers start with 1.
Layout=1 refers to the first layout in the
project. You can also specify the layout
name with this parameter.
Response
Preview of project.
Alerts
The requested
layout does not
exist.
HTTP Error #500
This alert is displayed when an invalid layout value is given.
What to do: Give a correct layout value in the request.
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:
12/1/2005 10:41:14 - jpeg/sample.qxp - Type: image/jpeg - Size: 63940 - Client:
127.0.0.1
If an alert is displayed, an error message is written to the QuarkXPress Server
Error Log. 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 a transaction entry:
12/1/2005 10:39:45 - Error - Error Code: 10125 - The requested layout does not
exist.
Example GET
URL
http://localhost:8080/png/sample.qxp?layout=2
http://localhost:8080/png/sample?layout=Layout 2
where Layout 2 is the name given to layout in the MAC document sample.
Notes
Which render types support the layout parameter?
The layout parameter is supported by the jpeg, png, pdf, qxpdoc, postscript, eps,
and ppml render types.
Page 107