PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Jun 16, 2024 1:06 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Sep 09, 2009 3:06 pm 
Offline

Joined: Wed Sep 09, 2009 3:02 pm
Posts: 2
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.


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 10, 2009 11:15 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3100
Location: Cologne, Germany
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.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Fri Sep 11, 2009 10:28 am 
Offline

Joined: Tue Feb 20, 2007 1:36 pm
Posts: 8
"Document Views and Zoom Level" on page 48 of "Word2007RTFSpec9.doc" (download: http://www.microsoft.com/downloads/deta ... laylang=en).

Peter


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 180 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group