[xep-support] PDF Properties

From: Parr, Christopher (christopher.parr@thomson.com)
Date: Wed Oct 06 2004 - 07:17:00 PDT

  • Next message: Hart, Leo: "RE: [xep-support] Transforming XmlDocument (Containing XSL-FO) to PDF"

    Hi All,

    I'm attempting to set a number of document of properties using the snippet
    below. Everything works fine apart from the xep-pdf-linearize option which
    I can get to work. To check this I am looking at the 'Fast web view' status
    in the document properties summary.

    Can anyone advise?

    Thanks in advance

    Chris Parr

    <?xep-pdf-ownerpassword "chris"?>

                    <?xep-pdf-userprivileges print copy annotate?>
                    <?xep-pdf-linearize true?>
                    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
                             xmlns:rx="http://www.renderx.com/XSL/Extensions"
                             font-family="{$font.family}"
                             font-weight="{$default.font.weight}"
                             font-size="{$default.font.size}"
                             text-align="{$default.text.align}"
                             line-stacking-strategy="font-height">

                            <rx:meta-info>
                                    <rx:meta-field name="author" value="Sweet
    &amp; Maxwell - based on Crown Copyright materials"/>
                                    <xsl:choose>
                                            <xsl:when
    test="descendant::act-begin">
                                                    <rx:meta-field name="title"
    value="{/document/legislation/fulltext/act-begin/shorttitle/text()}"/>
                                            </xsl:when>
                                            <xsl:otherwise>
                                                    <rx:meta-field name="title"
    value="{/document/legislation/fulltext/si-begin/shorttitle/text()}"/>
                                            </xsl:otherwise>
                                    </xsl:choose>
                                    <rx:meta-field name="subject" value=""/>
                                    <rx:meta-field name="keywords" value=""/>
                            </rx:meta-info>

    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



    This archive was generated by hypermail 2.1.5 : Wed Oct 06 2004 - 07:37:03 PDT