I do not have any hands on experience.. beware this may not work at all:

 http://www.w3.org/TR/SVG/metadata.html
http://xmlgraphics.apache.org/fop/1.0/metadata.html

Maybe embedding the metadata for the pdf title () into the svg would work?

    <metadata>
      <rdf:RDF
           xmlns:rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";
           xmlns:rdfs = "http://www.w3.org/2000/01/rdf-schema#";
           xmlns:dc = "http://purl.org/dc/elements/1.1/"; >
        <rdf:Description about="http://example.org/myogggg";
             dc:title="My Title"
             dc:description="..."
             dc:publisher="..."
             dc:date="..."
             dc:language="en" >
        </rdf:Description>
      </rdf:RDF>
    </metadata>

Good luck and hope this helps.  Would love to hear any results as I'm
sure I'll be looking for this very item soon.

Anyone have an easier way? Maybe it is possible to gain a handle to
FOPUserAgent.setTitle()?



On Thu, Nov 4, 2010 at 1:29 PM, David Padbury <dpadb...@liquidnet.com> wrote:
> I’m sure this must have been asked before, but I can’t find a way of
> searching the mailing list…
>
>
>
> When transcoding a SVG to a PDF, how would you set the title of the PDF?
> I’ve tried putting a title element in the SVG itself, however this doesn’t
> appear in the document properties of the pdf once rendered.
>
>
>
> David Padbury.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-h...@xmlgraphics.apache.org

  • PDF Title David Padbury
    • Re: PDF Title jonathan wood

Reply via email to