oldrev / maltreport

A WYSIWYG document template engine to generates .odt/.ods/docx/xlsx/doc/xls documents for .NET
MIT License
126 stars 27 forks source link

Save Document as different format #14

Open Lydecker opened 7 years ago

Lydecker commented 7 years ago

Hi - impressive project!

I would like to import WordML and then save as .doc or pdf.

Can this be done?

Thanks

oldrev commented 7 years ago

Hello:

It can be done by simply saving the generated file as xxxx.doc. Word could open it automatically.

PDF is not supported by MaltReport itself.

Lydecker commented 7 years ago

Will that actually convert it from WordML to DOC or just rename .xml to .doc?

Thanks!

oldrev commented 6 years ago

The answer is no, MaltReport can not convert the xml format to the binary .doc format.

But for normal usage, the renaming way is fine, .xml format is a xml version of Word 2003 .doc format, using .xml document will not lost any information or format of the document.