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

Problem on generating doc files
http://forum.pdfsharp.com/viewtopic.php?f=2&t=864
Page 1 of 1

Author:  arngrim [ Wed Sep 09, 2009 3:06 pm ]
Post subject:  Problem on generating doc files

I use Migradoc to generate doc files through rtfdocumentrenderer but when i open the generated file into Word it appears in "normal view" but i want it in "page view".
I didn't find any properties to do this so is it possible? if it is, then how to do this?

Thanks.

Author:  Thomas Hoevel [ Thu Sep 10, 2009 11:15 am ]
Post subject:  Re: Problem on generating doc files

Question #1: are there elements in RTF that control the view mode? I don't know, but probably there are.

Question #2: is it implemented in MigraDoc? I'm afraid not.

If you find out which RTF element does the trick, you can easily add it to class RtfDocumentRenderer (maybe in "private void RenderHeader()").

Please let us know if you find out which RTF element controls this feature.

Author:  peteratoce [ Fri Sep 11, 2009 10:28 am ]
Post subject:  Re: Problem on generating doc files

"Document Views and Zoom Level" on page 48 of "Word2007RTFSpec9.doc" (download: http://www.microsoft.com/downloads/deta ... laylang=en).

Peter

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