2017

Table Of Contents
USING QUARKXPRESS SERVER
A Guide to QuarkXPress Server 2017 | 103
Updating article geometry and content
This topic explains how to update the geometry and contents of a QuarkCopyDesk
a
rticle using another article file or an article in a QuarkXPress project.
svc.processRequest(rc);
Parameter
updategeometry String
If you use this
parameter with
updatefromfile, this lets
you specify the file in
w
hich you want to
update the geometry. If
you use this parameter
with updatetofile, this
lets you specify the
QuarkXPress project
with which you want
to update the geometry
of an article.
updatecontent String
Lets you specify the file
in which you want to
update the content.
Can be used only with
updatefromfile.
Response WHAT DOES THIS RETURN?
Alerts WHAT ERRORS APPLY?
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, the render type, the
project name, the type of response produced by the server, the size of the
response returned in bytes, and the client IP address. The following is a
sample of a transaction entry: 8/5/2005 18:11:54 — sample.qxp — Type:
image/jpeg — Size: 65982 — Client: 127.0.0.1If an alert displays, an error
message is written to the QuarkXPress Server error log file. For
example:8/9/2005 12:38:42 — Error — Error Code: 10396 — Invalid XML
String.
Example, GET URL
To update the geometry of an article using the geometry of another
article, use a URL like the
following:http://localhost:8080/updategeometry/destination.qcd?updatefr
omfile=source.qcd To update the geometry of an article in a QuarkXPress
file using the geometry of a QuarkCopyDesk article file, use a URL like the
following:http://localhost:8080/updatecontent/destination.qxp?updatefro
mfile=source.qcd&articleid=1 To update the geometry of a
QuarkCopyDesk article file using the geometry of an article in a
QuarkXPress project, use a URL like the
following:http://localhost:8080/updategeometry/source.qxp?updatetofile=
destination.qcd&articleid=1
Example, object model
CAN YOU DO THIS WITH QXPSM? IF SO, HOW?Request object names:
XMLImportRequestcom.quark.qxpsm.QRequestContext rc = new