You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Joseph Speetjens <js...@noticingcenter.com> on 2012/05/02 21:22:14 UTC

Write to Catalog using FOP

Can anyone provide some guidance as to where to start to write to a 
Catalog object?  We have applications written in PHP that allow us to 
embed XMl in the catalog, and now we have support for a JAVA application 
that uses FOP and we would like to do the same thing.

Thanks,

Joe

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Write to Catalog using FOP

Posted by Luis Bernardo <lm...@gmail.com>.
Can you provide an example of a PDF generated with your PHP application?

Is the the Java application using FOP starting from FO?

On 5/2/12 8:22 PM, Joseph Speetjens wrote:
> Can anyone provide some guidance as to where to start to write to a 
> Catalog object?  We have applications written in PHP that allow us to 
> embed XMl in the catalog, and now we have support for a JAVA 
> application that uses FOP and we would like to do the same thing.
>
> Thanks,
>
> Joe
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Write to Catalog using FOP

Posted by Luis Bernardo <lm...@gmail.com>.
As far as I know this is only possible to do "out of the box" with some 
extensions developed by Glenn Adams that I think have not been ported to 
the current FOP code base. Glenn, can you comment on this?

There is more info here: 
http://article.gmane.org/gmane.text.xml.fop.user/32460/match=custom+key+dictionary+pdf.

I pulled the code from the repository mentioned above and it works, 
i.e., you can add the /key (string) to the Catalog the way you intend.

On 5/4/12 8:32 PM, Joseph Speetjens wrote:
> Luis,
>
> Thank you for offering to take a look.  Attached is a PDF with the XML 
> embedded in the Catalog.  You will find it after the string that 
> starts with /USCTbankruptcynotice
>
> Hopefully attachments can be sent to the forum this way.
>
> Joe
>
>
>
>
> Joseph Speetjens wrote:
>> Can anyone provide some guidance as to where to start to write to a 
>> Catalog object?  We have applications written in PHP that allow us to 
>> embed XMl in the catalog, and now we have support for a JAVA 
>> application that uses FOP and we would like to do the same thing.
>>
>> Thanks,
>>
>> Joe
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Write to Catalog using FOP

Posted by Joseph Speetjens <js...@noticingcenter.com>.
Luis,

Thank you for offering to take a look.  Attached is a PDF with the XML 
embedded in the Catalog.  You will find it after the string that starts 
with /USCTbankruptcynotice

Hopefully attachments can be sent to the forum this way.

Joe




Joseph Speetjens wrote:
> Can anyone provide some guidance as to where to start to write to a 
> Catalog object?  We have applications written in PHP that allow us to 
> embed XMl in the catalog, and now we have support for a JAVA 
> application that uses FOP and we would like to do the same thing.
>
> Thanks,
>
> Joe
>