About Arbortext Styler > Document Preview and Publishing > Generating Accessible PDF Output > Tagged PDF Output
  
Tagged PDF Output
Arbortext Styler provides the option to include PDF tags in PDF output, where it associates elements, contexts, and conditions in a source XML document with default PDF tags based on the style given to the elements in the stylesheet. You may then choose to include these tags in PDF output by selecting the Tagged PDF option in publishing dialog boxes.
You must be using the PTC ALD engine to publish tagged PDF. Refer to Logic for Print/Preview Engine Selection for information on how to set the print engine for your environment. Tagged PDF output will not be available if you publish to PostScript.
PTC Arbortext Stylesheets Configured to Output Tagged PDF Output
PTC Arbortext provides some sample stylesheets that are configured to support tagged PDF output:
Arbortext-path\doctypes\dita\ditabase\ditabase.style
Arbortext-path\doctypes\application\com.ptc.arbortext.techinfo\doctypes\techinfo\techinfo.style
Arbortext-path\doctypes\axdocbook\axdocbook.style
You can extract a list of contexts that are configured in the stylesheet to output PDF tags:
1. Open a sample file from the Arbortext-path\doctypes\dita\ditabase, Arbortext-path\application\com.ptc.arbortext.techinfo\doctypes\techinfo, or Arbortext-path\doctypes\axdocbook directories, and its associated stylesheet, in Arbortext Styler.
2. Use the menu option Edit > Find Explicit Properties to open the Find Explicit Properties dialog box.
3. Add search criteria in the dialog box:
Category: PDF tags
Property: Element PDF tag
You can also set this field to Before-text PDF tag or Element content PDF tag to produce a list of secondary (nested) PDF tags. See Configuring Primary and Secondary PDF Tags for information.
Assigned any value
4. Run the search with Find. Arbortext Styler generates a list of all contexts that have a PDF tag assigned in this sample stylesheet.
Tagged PDF Standards
Arbortext Styler’s support for tagged PDF output conforms to the PDF standard ISO 32000–1:2008. You can refer to the standard for an overview of the rules to which tagged PDF output must conform.
Adobe provides the PDF Document management — Portable document format — Part 1: PDF 1.7 in the PDF Reference area of its website www.adobe.com. See section 14.8 Tagged PDF for information.
Output default PDF tags in tagged PDF output
This procedure describes how to set your stylesheet so that default PDF tags are associated with elements in your source XML. It also explains how to publish the tagged PDF output.
1. Navigate to the Print/PDF tab of the Stylesheet Properties dialog box. Check the Generate tagged PDF option. Selecting this option will ensure you have access to the Tagged PDF option in the Publish to PDF File dialog box when generating PDF output.
2. In Arbortext Editor, choose the File > Publish > PDF File menu option and choose a stylesheet with the Tagged PDF option selected. The Publish to PDF File dialog box appears, with the Tagged PDF option checked.
3. Click OK to complete the publishing operation. Your PDF will output with default PDF tags.
4. If you have Adobe Acrobat Professional available, open the PDF in the application. Select the Tags display option (for example View > Navigation Panels > Tags or View > Show/Hide > Navigation Panels > Tags menu option, although this differs between Adobe Acrobat versions). The default PDF tags assigned in the PDF will be listed in the Tags panel, in the structural hierarchy in which they have been defined.
The table below describes the default tags assigned to elements with a given style:
Style
PDF tag
Document
Art
Block (block)
P
Block (inline)
(No tag)
Cross Reference (block)
P
Cross Reference (inline)
(No tag)
Custom Table
Table
When a context is part of a custom table, its default tag depends on its role in the custom table (see Table style below). A context is part of a custom table if the element is a row or cell in the customer table model and follows one of these hierarchies (in the Custom Tables tab, the Role column of the Custom table elements table states its role in the custom table):
table element/row element
table element/cell element
Definition List
L
Definition List Item
LI
Division
Sect
Footnote
Reference
This tag will be the default both for item styled as Footnote, and for those which just have settings made in the Footnote property category.
Footnote (Footnote Area Properties)
Note+{Lbl}1
Formal Block
Sect
Graphic
Figure
Hidden
(No tag)
Index
Sect
Index Term
(No tag)
Inline (block)
P
Inline (inline)
(No tag)
Link (block)
P
Link (inline)
Link
Link Target
(No tag)
List — Bulleted
L
List — Numbered
L
List Item
LI+{Lbl}LBody
Paragraph (block)
P
Paragraph (inline)
P
Preformatted (block)
P
Preformatted (inline)
(No tag)
Table
Default tag is assigned based on the item’s role in the table:
Table — Table
Header section — THead
Body section — TBody
Row — TR
Cell — TD
Footer section — TFoot
Table of Contents
Sect
Title
H
No Style
(No tag)

1 + indicates that secondary tags follow. {} indicates the Before-text (generated text) tag

The attributes Lang, RowSpan, and ColSpan will also be set with default values as needed by the PTC ALD engine, when the tagged PDF option is activated for the stylesheet. Note that the value of Lang will be determined according the language settings made in the stylesheet on the Language tab of the Stylesheet Properties dialog box.
You can manually override the PDF tags and attributes that are assigned to an element by default when tagged PDF is generated by the PTC ALD engine. You can also include alternate text for graphics and links in your tagged PDF output.