9.2

Table Of Contents
//Create the ePUB renderer
//request and embed it in the request context.
EPubRenderRequest epubreq = new EPubRenderRequest();
epubreq.setEPubData(request.getParameter("EPubData"));
epubreq.setCreateTOC(request.getParameter(
"CreateTOC"));
epubreq.setLayout(request.getParameter(
"Layout"));
requestCtx.setRequest(epubreq);
//STEP3: Create the WIG service and call the
//processRequest() API
RequestService service = new RequestServiceStub();
com.quark.qxpsm.QContentData data =
service.processRequest(requestCtx);
You can only create an ePUB file from a project that includes a reflow article.Notes
jpeg
The jpeg render type returns a JPEG rendering of a page or spread.
JPEG
Namespace
Lets you specify the image quality of a rendered JPEG
image. The valid values are: 1 (highest quality), 2 (high
1 | 2 | 3 | 4
jpegquality
Parameters
quality), 3 (medium quality), and 4 (lowest quality). The
default value is 1.
Lets you specify whether to update imported pictures.true | false
upadateimage
Lets you specify whether to update the text flow version
of a project to the current version.
true | false
updateflow
Lets you specify whether to display pasteboard items.
Works only with spread parameter. The default value is
true. For example:
http://localhost:8080/jpeg/document.qxp?
spread=1&pasteboard=true
true | false
pasteboard
Lets you specify whether to include bounding box outlines
in the response JPEG image even if the boxes have no
content.. The default value is false.
true | false
showboxoutline
Lets you request multiple boxes.String
boxes
Render
modifier
parameters
Lets you request a single page.Integer
page
Lets you specify a scaling percentage. The valid values are
from .1 (10%) to 8 (800%) on Mac OS or 6.92 (692%) on
Windows.
Float .1 to 6.92 for
Windows .1 to 8
on Mac OS)
scale
Lets you request a single box.String
box
Lets you specify a spread. The first spread is spread 1. In a
facing-page document, spread 1 consists of the first page.
Integer
spread
Lets you specify a layout by name or ID. The first layout
is Layout 1.
String
layout
36 | QXP SERVER 9.2 WEB INTEGRATION GUIDE
USING THE WEB INTERFACE