PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.de/

HTML support / XPS support
http://forum.pdfsharp.de/viewtopic.php?f=2&t=868
Page 1 of 1

Author:  briant [ Sun Sep 13, 2009 8:23 pm ]
Post subject:  HTML support / XPS support

Hello,

I am new to MigraDoc. Firstly I would like to say a big thanks for the great product, and for making it available as open source: it is just what I was looking for. And I have used your easy to follow samples to generate some pdf files of my own.

However, I would also like to create html files directly. The following website(http://pdfsharp.com/PDFsharp/index.php? ... 0&Itemid=1) states that MigraDoc can output html files. I can generate pdf and rtf, but don't know how to generate html directly. Is html conversion available directly, or do I need to perform it using some other method.

Also, how do I generate XPS files. Do I need to generate a pdf first?

Thanks in advance, and keep up the good work.

Cheers,
Brian

Author:  Thomas Hoevel [ Mon Sep 14, 2009 8:36 am ]
Post subject:  Re: HTML support / XPS support

Hi!
briant wrote:
The following website(http://pdfsharp.com/PDFsharp/index.php? ... 0&Itemid=1) states that MigraDoc can output html files.

Yes, but the site also states "We no longer maintain this site."

HTML generation was included in the old C++ implementation of MigraDoc, but is currently missing in the C# implementation.
Both implementations share MDDDL (document description language).
You can save your document as a MDDDL file and invoke the old EXE file to create HTML.
Old version here:
http://migradoc.empira.de/migradoc/Defa ... D=DlClient
Install the client and right click a MDDDL file in Windows Explorer to find the HTML option.

XPS: sorry, not my area of expertise.

Author:  briant [ Tue Sep 15, 2009 7:20 pm ]
Post subject:  Re: HTML support / XPS support

Thanks for the reply Thomas, and for the links.

I wasn't sure if I was missing a trick, but now I understand.

Keep up the good work.

Cheers,
Brian

PS: Does you statement below imply that HTML support might be added in the future?

Author:  Thomas Hoevel [ Wed Sep 16, 2009 9:01 am ]
Post subject:  Re: HTML support / XPS support

briant wrote:
PS: Does you statement below imply that HTML support might be added in the future?

It's on the TODO list, but with low priority.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/