I was facing with one simple problem. I had XFDF file on our web suite. Users open that XFDF file as URL (http://database/view/doc/$File/fileName) but it did not open in Adobe Reader, but in Browser as XML. I looked around and found solution. Add these line before XFDF output and it will start to work.
Print {Content-Type:application/vnd.adobe.xfdf}
Print {Cache-Control: public, must-revalidate}
Print {Expires: Sat, 26 Jul 1997 05:00:00 GMT}
Print xml_output
Showing posts with label XML-XSL. Show all posts
Showing posts with label XML-XSL. Show all posts
Monday, January 11, 2010
Sunday, January 10, 2010
How to open XFDF file from IE in Adobe Reader?
I have really interesting problem. I have posted XFDF file on my site and planning that user will click on it and get PDF file opened. But the strange this is that each browser has different behavior:
on my PC I have set associated application for xfdf file - Adobe Reader.
1) IE opens my xfdf file in XML format, and that's all. that's the biggest pain,
2) FF opens it in good way, but anywhere it ask which application to use when open xfdf file.
3) Chrome, just download files without anything.
Any ideas? :) I will update my post later if I solve the problem
on my PC I have set associated application for xfdf file - Adobe Reader.
1) IE opens my xfdf file in XML format, and that's all. that's the biggest pain,
2) FF opens it in good way, but anywhere it ask which application to use when open xfdf file.
3) Chrome, just download files without anything.
Any ideas? :) I will update my post later if I solve the problem
Monday, December 28, 2009
DXL + XSL -> XFDF -> PDF
We started to use XFDF approach when create PDF file. I have to say that FDF is nothing, XFDF is power :). XFDF approach much easier to use and to debug.
For debugging I used Firefox plug-in XSL Results it works good.
So what steps you have to do if you want to use this approach.
you may have problem if you are not familiar with XSL. There are many good sites where you can read about it.
Here is an example on openntf
Here is my first example of XSL for generation XFDF file. It can help to somebody.
For debugging I used Firefox plug-in XSL Results it works good.
So what steps you have to do if you want to use this approach.
- get NotesDocumentCollection of document you want to export to PDF
- export it using NotesDXLExporter to dxl file
- get NotesXSLTransformer and use it :)
- check result
you may have problem if you are not familiar with XSL. There are many good sites where you can read about it.
Here is an example on openntf
Here is my first example of XSL for generation XFDF file. It can help to somebody.
Related articles about creating PDF files
Subscribe to:
Posts
(
Atom
)