2020

Table Of Contents
USING QUARKXPRESS SERVER
Updating article geometry and content
This topic explains how to update the geometry and contents of a QuarkCopyDesk
article using another article file or an article in a QuarkXPress project.
com.quark.qxpsm.QRequestContext(); if(!this.DocumentSettings1.
documentName.Text.Equals(“”)) rc.documentName =
this.DocumentSettings1.documentName.Text; // STEP 2 (SPECIFIC TO
REQUESTS): Create the XML Import request XMLImportRequest
xmlimportreq = new XMLImportRequest(); xmlimportreq.XMLDocument
= this.thexmldoc.Text; rc.request = xmlimportreq; // STEP 3(SPECIFIC TO
REQUESTS): Create the JPEG renderer request JPEGRenderRequest jpreq =
new JPEGRenderRequest(); xmlimportreq.request = jpreq; // Create the
service and call it with QRequestContext object RequestService svc = new
RequestService(); com.quark.qxpsm.QContentData qc =
svc.processRequest(rc);
Parameter
updategeometry String
If you use this
parameter with
updatefromfile, this
lets you specify the
file in which 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
100 | A GUIDE TO QUARKXPRESS SERVER 2020