About Arbortext Styler > Graphic Support > PDF Graphics
  
PDF Graphics
Arbortext Styler supports the inclusion of PDF graphics in documents published to PDF output. It provides options that specify the pages of the PDF graphic to be included in the document output.
There are two options for specifying the pages of a PDF graphic to use:
Single page (default)
Set the value of an XML attribute with the View role
Here it is assumed that an XML document includes an image element that references a PDF graphic.
1. In the stylesheet, style image as a Graphic and then edit the style
2. In the Graphic Details dialog box, specify which attribute of image should have the View role, for example rev
For more information, see Graphic Details Dialog Box.
3. Set the value of the rev attribute for the image element in XML source to the number of the page in the PDF graphic that should be included in PDF output
The specified page is output by Arbortext Styler when generating PDF with the PTC ALD engine.
Multiple pages or a range
Use the Graphic category for a context, condition or property set to provide more specific control over the pages in a PDF graphic to be output
1. Select the required context or condition (for an element styled as Graphic) or property set in the stylesheet and navigate to the Graphic property category
2. Use the Page selection field, select the method of determining which pages of a PDF graphic to output:
<Derive>
Show all pages from PDF — include all pages
Use a custom page range — specify the range of pages to be included
You can specify the range in the Page range field in a number of ways:
Simple range, for example 1–3
Range with open start, for example -3 (all pages up to and including 3)
With this option you do not need to know the page number of the initial page of the PDF
Range with open end, for example 3– (all pages from page 3 to last page)
With this option you do not need to know the page number of the final page of the PDF
Range with open start and end, i.e. - (all pages)
With this option you do not need to know the page number of the initial or final page of the PDF
You can also use a combination of page range and single pages, separated by a comma, for example:
1–3, 5
1–3, 10–15
Use Graphic 'view' role attribute — use the value of the attribute of the element styled as Graphic that has the View role as the page number to include (see above)
The specified pages are output by Arbortext Styler when generating PDF with the PTC ALD engine.
For information on inserting PDF graphics into XML content, see Vector Graphics.