doc_pdf

Renders a document in PDF.

Description

The requested resource (DITA topic) is processed against DITA Open Toolkit (XSLT) styles and rendered in PDF format.

Parameters

action
doc_pdf
docid
The document id of requested resource.
resource
The name of the requested resource.
filename
filename of requested resource.
lang
A language version of a publication.
pub
A publication, which is a logical grouping of information (topics and multimedia) related to a specific subject, containing one or more language versions.

Example URL

http://<host>:<port>/<context>/web/content.xql?action=doc_pdf&docid=<value>&resource=<value>&filename=<value>&lang=<value>&pub=<value>

Successful Result

The requested resource (DITA topic) is returned in PDF format.

Failed Result

404 error if language version is not visible.

Permission exception if  user does not have 'Use application' permission.